MCPcopy Create free account

hub / github.com/CraftTweaker/CraftTweaker / functions

Functions8,150 in github.com/CraftTweaker/CraftTweaker

MethodgetVolume
(SoundType internal)
common/src/main/java/com/blamejared/crafttweaker/natives/sound/ExpandSoundType.java:15
MethodgetWalkingSpeed
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
MethodgetWanderingTraderSpawnChance
(ServerLevelData internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/data/ExpandServerLevelData.java:77
MethodgetWanderingTraderSpawnDelay
(ServerLevelData internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/data/ExpandServerLevelData.java:65
MethodgetWaterFloat
(Biome internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/biome/ExpandBiome.java:20
MethodgetWaterFogColor
(Biome internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/biome/ExpandBiome.java:26
MethodgetWeaponItem
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
MethodgetWeight
(Enchantment internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/enchantment/ExpandEnchantment.java:121
MethodgetWorld
(final LootContext internal)
common/src/main/java/com/blamejared/crafttweaker/natives/loot/ExpandLootContext.java:96
MethodgetWorldBorder
(ServerLevelData internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/data/ExpandServerLevelData.java:101
MethodgetWritableBookContent
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
MethodgetWrittenBookContent
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
MethodgetX
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
MethodgetX
(Vec3i internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandVec3i.java:22
MethodgetXp
(GrindstoneEvent internal)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:31
MethodgetXp
(GrindstoneEvent.OnTakeItem internal)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:107
MethodgetXp
()
common/src/main/java/com/blamejared/crafttweaker/api/villager/trade/type/BasicTradeListing.java:100
MethodgetXp
(MerchantOffer internal)
common/src/main/java/com/blamejared/crafttweaker/natives/villager/ExpandMerchantOffer.java:151
MethodgetXp
(GrindstoneEvent internal)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:32
MethodgetXp
(GrindstoneEvent.OnTakeItem internal)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:108
MethodgetXpNeededForNextLevel
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
MethodgetXsize
(AABB internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandAABB.java:164
MethodgetY
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
MethodgetY
(Vec3i internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandVec3i.java:29
MethodgetYsize
(AABB internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandAABB.java:171
MethodgetZ
(Vec3i internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandVec3i.java:36
MethodgetZCScriptPositionFromStackTraceReturnsFirstPositionForStackTraceFromZC
(GameTestHelper helper)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/zencode/impl/util/PositionUtilTest.java:50
MethodgetZCScriptPositionFromStackTraceReturnsPositionForStackTraceFromZC
(GameTestHelper helper)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/zencode/impl/util/PositionUtilTest.java:30
MethodgetZCScriptPositionFromStackTraceReturnsUnknownForStackTraceFromJava
(GameTestHelper helper)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/zencode/impl/util/PositionUtilTest.java:19
MethodgetZenClassRegistry
()
common/src/main/java/com/blamejared/crafttweaker/impl/registry/CraftTweakerRegistry.java:104
MethodgetZenNameFor
(final Class<?> clazz)
common/src/main/java/com/blamejared/crafttweaker/impl/registry/natives/NativeTypeRegistry.java:114
MethodgetZsize
(AABB internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandAABB.java:178
MethodgetoSpin
(BaseSpawner internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandBaseSpawner.java:41
Methodgift
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
MethodgiveExperienceLevels
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
MethodgiveExperiencePoints
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
MethodgiveFeedback
(MutableComponent msg)
neoforge/src/main/java/com/blamejared/crafttweaker/impl/event/CTCommonEventHandler.java:126
MethodgiveFeedback
(final MutableComponent msg)
fabric/src/main/java/com/blamejared/crafttweaker/impl/script/ScriptReloadListenerAdapter.java:58
MethodgiveFeedback
(MutableComponent msg)
forge/src/main/java/com/blamejared/crafttweaker/impl/event/CTCommonEventHandler.java:135
MethodglobalLevelEvent
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
Methodgrant
Grants this progress.
common/src/main/java/com/blamejared/crafttweaker/natives/advancement/ExpandCriterionProgress.java:27
Methodgrant
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
MethodgrantProgress
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
Methodgrow
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
Methodhandle
()
common/src/main/java/com/blamejared/crafttweaker/impl/network/packet/ClientBoundSendOpenFileMessagePacket.java:31
Methodhandle
()
common/src/main/java/com/blamejared/crafttweaker/impl/network/packet/ClientBoundCopyPacket.java:20
Methodhandle
()
common/src/main/java/com/blamejared/crafttweaker/impl/network/packet/ClientBoundDataPacket.java:27
MethodhandleTooltips
(ItemTooltipEvent e)
neoforge/src/main/java/com/blamejared/crafttweaker/impl/event/CTClientEventHandler.java:31
MethodhandleTooltips
(ItemTooltipEvent e)
forge/src/main/java/com/blamejared/crafttweaker/impl/event/CTClientEventHandler.java:31
Methodhas
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
Methodhas
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
Methodhas
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
MethodhasAmmo
(ArrowNockEvent internal)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/arrow/ExpandArrowNockEvent.java:48
MethodhasAmmo
(ArrowLooseEvent internal)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/arrow/ExpandArrowLooseEvent.java:40
MethodhasAmmo
(ArrowNockEvent internal)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/arrow/ExpandArrowNockEvent.java:49
MethodhasAmmo
(ArrowLooseEvent internal)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/arrow/ExpandArrowLooseEvent.java:41
MethodhasAnyOf
(Container internal, Set<Item> items)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandContainer.java:135
MethodhasAttachmentData
(IAttachmentHolder internal, Class<T> tClass, AttachmentType<T> type)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/attachment/ExpandIAttachmentHolder.java:17
MethodhasAttributeModifiers
()
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:809
MethodhasBannerPatterns
Checks whether the ComponentAccess has &lt;componenttype:minecraft:banner_patterns&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2676
MethodhasBaseColor
Checks whether the ComponentAccess has &lt;componenttype:minecraft:base_color&gt; Used for shield colouring. @return Whether the componenttype is st
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2734
MethodhasBees
Checks whether the ComponentAccess has &lt;componenttype:minecraft:bees&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2933
MethodhasBlockEntity
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
MethodhasBlockEntityData
Checks whether the ComponentAccess has &lt;componenttype:minecraft:block_entity_data&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2255
MethodhasBlockState
Checks whether the ComponentAccess has &lt;componenttype:minecraft:block_state&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2889
MethodhasBucketEntityData
Checks whether the ComponentAccess has &lt;componenttype:minecraft:bucket_entity_data&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2201
MethodhasBundleContents
Checks whether the ComponentAccess has &lt;componenttype:minecraft:bundle_contents&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1743
MethodhasCanBreak
()
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:742
MethodhasCanPlaceOn
()
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:675
MethodhasChargedProjectiles
Checks whether the ComponentAccess has &lt;componenttype:minecraft:charged_projectiles&gt; This component is used for crossbows. @return Whether the
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1669
MethodhasChunk
(LevelReader internal, int x, int z)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandLevelReader.java:17
MethodhasCollision
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
MethodhasContainer
Checks whether the ComponentAccess has &lt;componenttype:minecraft:container&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2834
MethodhasContainerLoot
Checks whether the ComponentAccess has &lt;componenttype:minecraft:container_loot&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:3032
MethodhasCorrectToolForDrops
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
MethodhasCorrectToolForDrops
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
MethodhasCustomData
()
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:90
MethodhasCustomModelData
Checks whether the ComponentAccess has &lt;componenttype:minecraft:custom_model_data&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:877
MethodhasCustomName
(Nameable internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandNameable.java:23
MethodhasCustomName
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
MethodhasDamage
()
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:254
MethodhasDebugStickState
Checks whether the ComponentAccess has &lt;componenttype:minecraft:debug_stick_state&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2103
MethodhasDigSpeed
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
MethodhasDyedColor
Checks whether the ComponentAccess has &lt;componenttype:minecraft:dyed_color&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1382
MethodhasDynamicShape
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
MethodhasEffect
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
MethodhasEffects
(PotionContents internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandPotionContents.java:36
MethodhasEnchantmentGlintOverride
Checks whether the ComponentAccess has &lt;componenttype:minecraft:enchantment_glint_override&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1094
MethodhasEnchantments
()
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:592
MethodhasEntityData
Checks whether the ComponentAccess has &lt;componenttype:minecraft:entity_data&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2146
MethodhasExactlyOnePlayerPassenger
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
MethodhasFireworkExplosion
Checks whether the ComponentAccess has &lt;componenttype:minecraft:firework_explosion&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2488
MethodhasFireworks
Checks whether the ComponentAccess has &lt;componenttype:minecraft:fireworks&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2532
MethodhasFoil
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
MethodhasFood
Checks whether the ComponentAccess has &lt;componenttype:minecraft:food&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:1187
MethodhasGlowingTag
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
MethodhasIndirectPassenger
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
MethodhasInstantEffects
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
MethodhasInstrument
Checks whether the ComponentAccess has &lt;componenttype:minecraft:instrument&gt; @return Whether the componenttype is stored.
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:2310
MethodhasItemInSlot
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
← previousnext →5,201–5,300 of 8,150, ranked by callers