Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CraftTweaker/CraftTweaker
/ functions
Functions
8,150 in github.com/CraftTweaker/CraftTweaker
⨍
Functions
8,150
◇
Types & classes
1,621
Method
getVolume
(SoundType internal)
common/src/main/java/com/blamejared/crafttweaker/natives/sound/ExpandSoundType.java:15
Method
getWalkingSpeed
Gets the walking speed of the player. @return The walking speed of the player.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/player/ExpandAbilities.java:43
Method
getWanderingTraderSpawnChance
(ServerLevelData internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/data/ExpandServerLevelData.java:77
Method
getWanderingTraderSpawnDelay
(ServerLevelData internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/data/ExpandServerLevelData.java:65
Method
getWaterFloat
(Biome internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/biome/ExpandBiome.java:20
Method
getWaterFogColor
(Biome internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/biome/ExpandBiome.java:26
Method
getWeaponItem
Gets the {@link IItemStack} that fired this arrow. @return The weapon item of this arrow.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/projectile/arrow/ExpandAbstractArrow.java:99
Method
getWeight
(Enchantment internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/enchantment/ExpandEnchantment.java:121
Method
getWorld
(final LootContext internal)
common/src/main/java/com/blamejared/crafttweaker/natives/loot/ExpandLootContext.java:96
Method
getWorldBorder
(ServerLevelData internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/data/ExpandServerLevelData.java:101
Method
getWritableBookContent
Gets the data in <componenttype:minecraft:writable_book_content> @return A {@link WritableBookContent}.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1972
Method
getWrittenBookContent
Gets the data in <componenttype:minecraft:written_book_content> @return A {@link WrittenBookContent}.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2025
Method
getX
Gets the x coordinate of the display info. @return The x coordinate of the display info.
common/src/main/java/com/blamejared/crafttweaker/natives/advancement/ExpandDisplayInfo.java:91
Method
getX
(Vec3i internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandVec3i.java:22
Method
getXp
(GrindstoneEvent internal)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:31
Method
getXp
(GrindstoneEvent.OnTakeItem internal)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:107
Method
getXp
()
common/src/main/java/com/blamejared/crafttweaker/api/villager/trade/type/BasicTradeListing.java:100
Method
getXp
(MerchantOffer internal)
common/src/main/java/com/blamejared/crafttweaker/natives/villager/ExpandMerchantOffer.java:151
Method
getXp
(GrindstoneEvent internal)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:32
Method
getXp
(GrindstoneEvent.OnTakeItem internal)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:108
Method
getXpNeededForNextLevel
Gets the amount of experience needed to reach the next level. @return The amount of experience needed to reach the next level.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/player/ExpandPlayer.java:363
Method
getXsize
(AABB internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandAABB.java:164
Method
getY
Gets the y coordinate of the display info. @return The y coordinate of the display info.
common/src/main/java/com/blamejared/crafttweaker/natives/advancement/ExpandDisplayInfo.java:102
Method
getY
(Vec3i internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandVec3i.java:29
Method
getYsize
(AABB internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandAABB.java:171
Method
getZ
(Vec3i internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandVec3i.java:36
Method
getZCScriptPositionFromStackTraceReturnsFirstPositionForStackTraceFromZC
(GameTestHelper helper)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/zencode/impl/util/PositionUtilTest.java:50
Method
getZCScriptPositionFromStackTraceReturnsPositionForStackTraceFromZC
(GameTestHelper helper)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/zencode/impl/util/PositionUtilTest.java:30
Method
getZCScriptPositionFromStackTraceReturnsUnknownForStackTraceFromJava
(GameTestHelper helper)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/zencode/impl/util/PositionUtilTest.java:19
Method
getZenClassRegistry
()
common/src/main/java/com/blamejared/crafttweaker/impl/registry/CraftTweakerRegistry.java:104
Method
getZenNameFor
(final Class<?> clazz)
common/src/main/java/com/blamejared/crafttweaker/impl/registry/natives/NativeTypeRegistry.java:114
Method
getZsize
(AABB internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandAABB.java:178
Method
getoSpin
(BaseSpawner internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandBaseSpawner.java:41
Method
gift
Gets the 'gift' param set. The 'gift' param set requires the following params: <ul> <li>{@code origin}</li> <li>{@code this_entity}</li> </ul> @retu
common/src/main/java/com/blamejared/crafttweaker/natives/loot/param/ExpandLootContextParamSets.java:153
Method
giveExperienceLevels
Gives the player experience levels. @param levels The amount of experience levels to give.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/player/ExpandPlayer.java:352
Method
giveExperiencePoints
Gives the player experience points. @param amount The amount of experience to give.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/player/ExpandPlayer.java:329
Method
giveFeedback
(MutableComponent msg)
neoforge/src/main/java/com/blamejared/crafttweaker/impl/event/CTCommonEventHandler.java:126
Method
giveFeedback
(final MutableComponent msg)
fabric/src/main/java/com/blamejared/crafttweaker/impl/script/ScriptReloadListenerAdapter.java:58
Method
giveFeedback
(MutableComponent msg)
forge/src/main/java/com/blamejared/crafttweaker/impl/event/CTCommonEventHandler.java:135
Method
globalLevelEvent
Triggers a predetermined event on the client. Using this on a server or integrated server will send the event to all nearby players. @param eventId T
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandLevel.java:268
Method
grant
Grants this progress.
common/src/main/java/com/blamejared/crafttweaker/natives/advancement/ExpandCriterionProgress.java:27
Method
grant
Grants the advancement rewards to the player. @param player The player to grant the advancement rewards to.
common/src/main/java/com/blamejared/crafttweaker/natives/advancement/ExpandAdvancementRewards.java:34
Method
grantProgress
Grants progress to the advancement @param criterionName The name of the criterion to grant progress to @return true if the progress was granted, fal
common/src/main/java/com/blamejared/crafttweaker/natives/advancement/ExpandAdvancementProgress.java:48
Method
grow
Grows this IItemStack's stack size by the given amount, or 1 if no amount is given. @param amount The amount to grow by. @return This IItemStack if
common/src/main/java/com/blamejared/crafttweaker/api/item/IItemStack.java:354
Method
handle
()
common/src/main/java/com/blamejared/crafttweaker/impl/network/packet/ClientBoundSendOpenFileMessagePacket.java:31
Method
handle
()
common/src/main/java/com/blamejared/crafttweaker/impl/network/packet/ClientBoundCopyPacket.java:20
Method
handle
()
common/src/main/java/com/blamejared/crafttweaker/impl/network/packet/ClientBoundDataPacket.java:27
Method
handleTooltips
(ItemTooltipEvent e)
neoforge/src/main/java/com/blamejared/crafttweaker/impl/event/CTClientEventHandler.java:31
Method
handleTooltips
(ItemTooltipEvent e)
forge/src/main/java/com/blamejared/crafttweaker/impl/event/CTClientEventHandler.java:31
Method
has
Checks if this list contains a recipe with the given key. @param id The resource location id of the recipe. @return True if the list has the recipe,
common/src/main/java/com/blamejared/crafttweaker/api/recipe/RecipeList.java:105
Method
has
Checks if the data component map has a {@link DataComponentType}. @param type The {@link DataComponentType} to check for. @return True if the data c
common/src/main/java/com/blamejared/crafttweaker/natives/component/ExpandDataComponentMap.java:95
Method
has
Checks whether the holder contains the given DataComponent, which is indentified by the type. @param type The componenttype to check for. @return Whet
common/src/main/java/com/blamejared/crafttweaker/natives/component/ExpandDataComponentHolder.java:39
Method
hasAmmo
(ArrowNockEvent internal)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/arrow/ExpandArrowNockEvent.java:48
Method
hasAmmo
(ArrowLooseEvent internal)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/arrow/ExpandArrowLooseEvent.java:40
Method
hasAmmo
(ArrowNockEvent internal)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/arrow/ExpandArrowNockEvent.java:49
Method
hasAmmo
(ArrowLooseEvent internal)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/arrow/ExpandArrowLooseEvent.java:41
Method
hasAnyOf
(Container internal, Set<Item> items)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandContainer.java:135
Method
hasAttachmentData
(IAttachmentHolder internal, Class<T> tClass, AttachmentType<T> type)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/attachment/ExpandIAttachmentHolder.java:17
Method
hasAttributeModifiers
()
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:809
Method
hasBannerPatterns
Checks whether the ComponentAccess has <componenttype:minecraft:banner_patterns> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2676
Method
hasBaseColor
Checks whether the ComponentAccess has <componenttype:minecraft:base_color> Used for shield colouring. @return Whether the componenttype is st
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2734
Method
hasBees
Checks whether the ComponentAccess has <componenttype:minecraft:bees> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2933
Method
hasBlockEntity
Checks whether this BlockState has a {@link net.minecraft.world.level.block.entity.BlockEntity}. @return True if this BlockState has a {@link net.min
common/src/main/java/com/blamejared/crafttweaker/natives/block/ExpandBlockState.java:133
Method
hasBlockEntityData
Checks whether the ComponentAccess has <componenttype:minecraft:block_entity_data> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2255
Method
hasBlockState
Checks whether the ComponentAccess has <componenttype:minecraft:block_state> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2889
Method
hasBucketEntityData
Checks whether the ComponentAccess has <componenttype:minecraft:bucket_entity_data> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2201
Method
hasBundleContents
Checks whether the ComponentAccess has <componenttype:minecraft:bundle_contents> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1743
Method
hasCanBreak
()
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:742
Method
hasCanPlaceOn
()
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:675
Method
hasChargedProjectiles
Checks whether the ComponentAccess has <componenttype:minecraft:charged_projectiles> This component is used for crossbows. @return Whether the
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1669
Method
hasChunk
(LevelReader internal, int x, int z)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandLevelReader.java:17
Method
hasCollision
Checks if entities can collide with this Block. @return True if entities will collide with this Block. False otherwise.
common/src/main/java/com/blamejared/crafttweaker/natives/block/ExpandBlock.java:261
Method
hasContainer
Checks whether the ComponentAccess has <componenttype:minecraft:container> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2834
Method
hasContainerLoot
Checks whether the ComponentAccess has <componenttype:minecraft:container_loot> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:3032
Method
hasCorrectToolForDrops
Checks if this rule defines whether the tool is correct for harvesting drops. @return True if the rule has a value for 'correctToolForDrops', false o
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandTool.java:113
Method
hasCorrectToolForDrops
Checks if the player has the correct tool for the given {@link BlockState}. @param state The block state to check. @return Whether the player has th
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/player/ExpandPlayer.java:142
Method
hasCustomData
()
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:90
Method
hasCustomModelData
Checks whether the ComponentAccess has <componenttype:minecraft:custom_model_data> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:877
Method
hasCustomName
(Nameable internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandNameable.java:23
Method
hasCustomName
Checks if the entity has a custom name. @return true if the entity has a custom name.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:1383
Method
hasDamage
()
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:254
Method
hasDebugStickState
Checks whether the ComponentAccess has <componenttype:minecraft:debug_stick_state> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2103
Method
hasDigSpeed
Checks if the {@link LivingEntity} has dig speed. @param entity The {@link LivingEntity} to check. @return True if the {@link LivingEntity} has dig
common/src/main/java/com/blamejared/crafttweaker/natives/entity/effect/ExpandMobEffectUtil.java:38
Method
hasDyedColor
Checks whether the ComponentAccess has <componenttype:minecraft:dyed_color> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1382
Method
hasDynamicShape
Checks if the opacity of this block is different in different areas of the Block. @return True if this Block has variable opacity. False otherwise.
common/src/main/java/com/blamejared/crafttweaker/natives/block/ExpandBlock.java:248
Method
hasEffect
Checks if this entity has a specific effect. @param effect The effect to check if this entity has. @return True if this entity has the effect, false
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:376
Method
hasEffects
(PotionContents internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandPotionContents.java:36
Method
hasEnchantmentGlintOverride
Checks whether the ComponentAccess has <componenttype:minecraft:enchantment_glint_override> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1094
Method
hasEnchantments
()
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:592
Method
hasEntityData
Checks whether the ComponentAccess has <componenttype:minecraft:entity_data> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2146
Method
hasExactlyOnePlayerPassenger
Checks if the entity has exactly one player passenger. @return true if the entity has exactly one player passenger.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:1567
Method
hasFireworkExplosion
Checks whether the ComponentAccess has <componenttype:minecraft:firework_explosion> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2488
Method
hasFireworks
Checks whether the ComponentAccess has <componenttype:minecraft:fireworks> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2532
Method
hasFoil
Returns true if this ItemStack has a foil effect. Foil is the glint / effect that is added to enchanted ItemStacks (and other items). @return true i
common/src/main/java/com/blamejared/crafttweaker/api/item/IItemStack.java:304
Method
hasFood
Checks whether the ComponentAccess has <componenttype:minecraft:food> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1187
Method
hasGlowingTag
Checks if the entity is currently glowing. @return true if the entity is currently glowing.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:1086
Method
hasIndirectPassenger
Checks if the entity has an indirect passenger. @param entity The entity to check. @return true if the entity has an indirect passenger.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:1606
Method
hasInstantEffects
Checks if the potion has instant effects. @return True if the potion has instant effects, false otherwise.
common/src/main/java/com/blamejared/crafttweaker/natives/item/alchemy/ExpandPotion.java:66
Method
hasInstrument
Checks whether the ComponentAccess has <componenttype:minecraft:instrument> @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2310
Method
hasItemInSlot
Checks if the entity has an item in a specific slot. @param slot The slot to check. @return True if the entity has an item in the slot, false otherw
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:848
← previous
next →
5,201–5,300 of 8,150, ranked by callers