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
shouldApplyOn
(final IScriptLoadSource source, final Logger logger)
common/src/main/java/com/blamejared/crafttweaker/api/action/block/ActionSetBlockProperty.java:89
Method
shouldApplyOn
(IScriptLoadSource source, Logger logger)
common/src/main/java/com/blamejared/crafttweaker/api/action/event/ActionRegisterEvent.java:69
Method
shouldApplyOn
(final IScriptLoadSource source, final Logger logger)
forge/src/main/java/com/blamejared/crafttweaker/api/action/brewing/ActionBrewingBase.java:20
Method
shouldApplyOn
(IScriptLoadSource source, Logger logger)
forge/src/main/java/com/blamejared/crafttweaker/api/action/entity/ActionSetNameTag.java:48
Method
shouldBeSaved
Checks if the entity should be saved. @return true if the entity should be saved.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntityAccess.java:83
Method
shouldDestroy
Checks if the entity should be destroyed. @return True if the entity should be destroyed.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntityRemovalReason.java:21
Method
shouldDiscardFriction
Checks if this entity should discard friction. @return True if this entity should discard friction, false otherwise.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:260
Method
shouldFreeze
(Biome internal, Level world, BlockPos pos)
common/src/main/java/com/blamejared/crafttweaker/natives/world/biome/ExpandBiome.java:32
Method
shouldInformAdmins
Checks if the commands from this source should inform admins. @return True if the commands from this source should inform admins, false otherwise.
common/src/main/java/com/blamejared/crafttweaker/natives/command/ExpandCommandSource.java:60
Method
shouldLoadClass
(final Class<?> cls)
common/src/main/java/com/blamejared/crafttweaker/impl/script/scriptrun/natives/CtJavaNativeClassConverter.java:53
Method
shouldRemove
(RecipeHolder<?> holder)
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionRemoveGenericRecipeByRegex.java:23
Method
shouldRemove
(RecipeHolder<?> holder)
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionRemoveGenericRecipeBase.java:42
Method
shouldRemove
(RecipeHolder<?> holder)
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionRemoveGenericRecipeByOutput.java:25
Method
shouldRemove
(RecipeHolder<?> holder)
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionRemoveGenericRecipeByName.java:32
Method
shouldRemove
(RecipeHolder<?> holder)
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionRemoveGenericRecipeByModId.java:28
Method
shouldRemove
(RecipeHolder<?> holder)
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionRemoveGenericRecipe.java:34
Method
shouldRewardExp
(MerchantOffer internal)
common/src/main/java/com/blamejared/crafttweaker/natives/villager/ExpandMerchantOffer.java:178
Method
shouldShowName
Checks if the entity should show its name. @return true if the entity should show its name.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:1431
Method
shouldShowToast
Gets whether the toast should be shown for the display info. @return Whether the toast should be shown for the display info.
common/src/main/java/com/blamejared/crafttweaker/natives/advancement/ExpandDisplayInfo.java:113
Method
shouldSnow
(Biome internal, Level world, BlockPos pos)
common/src/main/java/com/blamejared/crafttweaker/natives/world/biome/ExpandBiome.java:44
Method
shouldSwing
(InteractionResult internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandInteractionResult.java:22
Method
showIcon
Gets whether the {@link MobEffectInstance} should show an icon. @return True if the {@link MobEffectInstance} should show an icon, false otherwise.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/effect/ExpandMobEffectInstance.java:121
Method
showInTooltip
Gets whether the predicate should show in the tooltip. @return Whether the predicate should show in the tooltip.
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandAdventureModePredicate.java:72
Method
showInTooltip
Gets whether the DyedItemColor should show in the tooltip. @return Whether the DyedItemColor should show in the tooltip.
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandDyedItemColor.java:33
Method
showInTooltip
(ItemAttributeModifiers internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemAttributeModifiers.java:65
Method
showInTooltip
(Unbreakable internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandUnbreakable.java:26
Method
showOnItemFrame
(MapDecorationType internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/map/ExpandMapDecorationType.java:42
Method
showProgressBar
Gets if the merchant should show the progress bar. @return If the merchant should show the progress bar.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/villager/ExpandMerchant.java:96
Method
showVehicleHealth
Checks if the entity should show vehicle health. @return true if the entity should show vehicle health.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:796
Method
shr
(IData other)
common/src/main/java/com/blamejared/crafttweaker/api/data/ShortData.java:117
Method
shr
Applies a SHR (>>) operation to this data by the other data @param other The data to SHR by. @return The result of the SHR operation. @docParam oth
common/src/main/java/com/blamejared/crafttweaker/api/data/IData.java:433
Method
shr
(IData other)
common/src/main/java/com/blamejared/crafttweaker/api/data/IntData.java:117
Method
shr
(IData other)
common/src/main/java/com/blamejared/crafttweaker/api/data/LongData.java:117
Method
shrink
Shrinks this IItemStack's stack size by the given amount, or 1 if no amount is given. @param amount The amount to shrink by. @return This IItemStack
common/src/main/java/com/blamejared/crafttweaker/api/item/IItemStack.java:369
Method
sidedSuccess
(Class<T> tClass, T object, boolean success)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandInteractionResultHolder.java:52
Method
sidedSuccess
Returns true if {@code successSide} is true, this can be used to return {@code SUCCESS} on the client, but {@code CONSUME} on the server. @param succ
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandInteractionResult.java:43
Method
sidedSuccess
Returns true if {@code successSide} is true, this can be used to return {@code SUCCESS} on the client, but {@code CONSUME} on the server. @param succ
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandItemInteractionResult.java:38
Method
simulate
If the action should simulate. @return true if the action should simulate, false otherwise.
neoforge/src/main/java/com/blamejared/crafttweaker/natives/capability/ExpandFluidHandlerAction.java:32
Method
simulate
If the action should simulate. @return true if the action should simulate, false otherwise.
forge/src/main/java/com/blamejared/crafttweaker/natives/capability/ExpandFluidHandlerAction.java:33
Method
single
(IFluidStack stack)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/ingredient/ExpandFluidIngredient.java:46
Method
size
()
neoforge/src/main/java/com/blamejared/crafttweaker/impl/loot/CraftTweakerPrivilegedLootModifierEntrySet.java:74
Method
size
()
neoforge/src/main/java/com/blamejared/crafttweaker/impl/loot/NeoForgeLootModifierMapEntrySetAdapter.java:82
Method
size
()
neoforge/src/main/java/com/blamejared/crafttweaker/impl/loot/NeoForgeLootModifierMapAdapter.java:33
Method
size
()
neoforge/src/main/java/com/blamejared/crafttweaker/impl/loot/NeoForgeLootModifierValuesCollectionAdapter.java:30
Method
size
()
neoforge/src/main/java/com/blamejared/crafttweaker/impl/loot/CraftTweakerPrivilegedLootModifierMap.java:40
Method
size
()
common/src/main/java/com/blamejared/crafttweaker/impl/script/scriptrun/SuspiciousAwarePathList.java:157
Method
size
()
common/src/main/java/com/blamejared/crafttweaker/impl/script/recipefs/RecipeFileAttributes.java:75
Method
size
Gets the size of the BundleContents. @param internal The BundleContents. @return The size of the BundleContents.
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandBundleContents.java:68
Method
size
(ItemEnchantments internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemEnchantments.java:50
Method
size
Gets the size of the data component map. @return The size of the data component map.
common/src/main/java/com/blamejared/crafttweaker/natives/component/ExpandDataComponentMap.java:27
Method
size
Gets the size of the {@link DataComponentPatch}. @return The size of the {@link DataComponentPatch}.
common/src/main/java/com/blamejared/crafttweaker/natives/component/ExpandDataComponentPatch.java:70
Method
size
(RecipeInput internal)
common/src/main/java/com/blamejared/crafttweaker/natives/recipe/input/ExpandRecipeInput.java:21
Method
size
Gets the size of the advancement requirements @return The size of the advancement requirements
common/src/main/java/com/blamejared/crafttweaker/natives/advancement/ExpandAdvancementRequirements.java:23
Method
size
()
forge/src/main/java/com/blamejared/crafttweaker/impl/loot/CraftTweakerPrivilegedLootModifierEntrySet.java:74
Method
size
()
forge/src/main/java/com/blamejared/crafttweaker/impl/loot/ForgeLootModifierMapEntrySetAdapter.java:82
Method
size
()
forge/src/main/java/com/blamejared/crafttweaker/impl/loot/ForgeLootModifierValuesCollectionAdapter.java:30
Method
size
()
forge/src/main/java/com/blamejared/crafttweaker/impl/loot/CraftTweakerPrivilegedLootModifierMap.java:40
Method
sleep
Sleep (wait) for the given amount of ticks. @param ticks The amount of ticks to wait. @return This builder to chain calls. @docParam ticks 20
common/src/main/java/com/blamejared/crafttweaker/api/util/sequence/SequenceBuilder.java:68
Method
sleepUntil
Sleeps until the given condition is met. @param condition The condition to wait for. @return This builder to chain calls. @docParam condition (leve
common/src/main/java/com/blamejared/crafttweaker/api/util/sequence/SequenceBuilder.java:83
Method
slot
(ItemAttributeModifiers.Entry internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemAttributeModifiers.java:94
Method
slots
(Enchantment.EnchantmentDefinition internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/enchantment/ExpandEnchantmentDefinition.java:50
Method
smokey
(final LocationPredicate.Builder internal, @ZenCodeType.OptionalBoolean(true) final Boolean smokey)
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandLocationPredicateBuilder.java:107
Method
solely
Obtains a mapper that maps the {@linkplain Event#DEFAULT_PHASE default phase} of an event onto the given {@link Phase}. <p>In other words, the only F
fabric/src/main/java/com/blamejared/crafttweaker/api/event/bus/IFabricPhaseMapper.java:56
Method
sonicBoom
(DamageSources internal, Entity entity)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSources.java:258
Method
sort
(final Comparator<? super Path> c)
common/src/main/java/com/blamejared/crafttweaker/impl/script/scriptrun/SuspiciousAwarePathList.java:302
Method
sound
(DamageEffects internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageEffects.java:17
Method
soundEvent
Gets the sound event of the Instrument. @return The sound event of the Instrument.
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandInstrument.java:24
Method
source
(final DamageSourcePredicate.Builder internal, final EntityPredicate.Builder entityPredicate)
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandDamageSourcePredicateBuilder.java:29
Method
sourcePositionRaw
(DamageSource internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSource.java:93
Method
south
(Vec3i internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandVec3i.java:103
Method
south
(BlockPos internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandBlockPos.java:107
Method
space
()
common/src/main/java/com/blamejared/crafttweaker/natives/text/content/ExpandCommonComponents.java:60
Method
spawn
Spawns an entity. @param level The level to spawn the entity in. @param spawnStack The stack to spawn the entity with. @param spawningPl
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntityType.java:49
Method
spawnChildFromBreeding
Spawns a child from the breeding of this Animal and the given Animal. @param level The {@link ServerLevel} to spawn the child in. @param otherP
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/animal/ExpandAnimal.java:127
Method
specificRunInfo
()
common/src/main/java/com/blamejared/crafttweaker/impl/script/scriptrun/ScriptRun.java:67
Method
speed
Retrieves the mining speed override defined by this rule, if any. @return The mining speed override, or null if not defined.
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandTool.java:139
Method
splitTheItem
Removes up to the specified amount of the contained item. @param amount The maximum amount of the item to split off from the contained item. @return
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandContainerSingleItem.java:44
Method
sprinting
(final EntityFlagsPredicate.Builder internal, @ZenCodeType.OptionalBoolean(true) final Boolean sprinting)
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandEntityFlagsPredicateBuilder.java:26
Method
stack
(ItemLike item)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/CraftTweakerGameTest.java:60
Method
stackReturnsIItemStack
(GameTestHelper helper)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/api/ingredient/IngredientConverterTest.java:40
Method
stalagmite
(DamageSources internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSources.java:144
Method
start
Builds and starts the sequence. @return The sequence that was built.
common/src/main/java/com/blamejared/crafttweaker/api/util/sequence/SequenceBuilder.java:173
Method
startOpen
(Container internal, Player player)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandContainer.java:95
Method
startRiding
Starts riding the given entity. @param entity The entity to start riding. @return true if the entity started riding.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:785
Method
startSleeping
Starts the entity to sleep at a specific position. @param pos The position to set the entity to sleep at.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:1278
Method
startUsingItem
Starts using an item. @param hand The hand to use the item with.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:1071
Method
starve
(DamageSources internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSources.java:72
Method
statistic
(final PlayerPredicate.Builder internal, final ResourceLocation type, final ResourceLocation name, final MinMa
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandPlayerPredicateBuilder.java:33
Method
step
(Direction internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/direction/ExpandDirection.java:87
Method
steppingOn
(final EntityPredicate.Builder internal, final LocationPredicate.Builder predicate)
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandEntityPredicateBuilder.java:41
Method
stillValid
Checks if the player container is still valid for a player to interact with. @param player The player interacting with the container. @return Whethe
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandBlockContainerSingleItem.java:34
Method
stillValid
(Container internal, Player player)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandContainer.java:89
Method
sting
(DamageSources internal, LivingEntity entity)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSources.java:168
Method
stop
Stop the sequence.
common/src/main/java/com/blamejared/crafttweaker/api/util/sequence/SequenceContext.java:28
Method
stopOpen
(Container internal, Player player)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandContainer.java:101
Method
stopRiding
Stops riding the entity.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:838
Method
stopSleeping
Stops the entity from sleeping.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:1287
Method
stopSleeping
Wakes up the player if they are sleeping
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/player/ExpandPlayer.java:250
Method
stopUsingItem
Stops using an item.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:1125
Method
storeData
(IData data)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/framework/zencode/GameTestGlobals.java:42
← previous
next →
7,201–7,300 of 8,150, ranked by callers