MCPcopy Create free account

hub / github.com/CraftTweaker/CraftTweaker / functions

Functions8,150 in github.com/CraftTweaker/CraftTweaker

MethodshouldApplyOn
(final IScriptLoadSource source, final Logger logger)
common/src/main/java/com/blamejared/crafttweaker/api/action/block/ActionSetBlockProperty.java:89
MethodshouldApplyOn
(IScriptLoadSource source, Logger logger)
common/src/main/java/com/blamejared/crafttweaker/api/action/event/ActionRegisterEvent.java:69
MethodshouldApplyOn
(final IScriptLoadSource source, final Logger logger)
forge/src/main/java/com/blamejared/crafttweaker/api/action/brewing/ActionBrewingBase.java:20
MethodshouldApplyOn
(IScriptLoadSource source, Logger logger)
forge/src/main/java/com/blamejared/crafttweaker/api/action/entity/ActionSetNameTag.java:48
MethodshouldBeSaved
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
MethodshouldDestroy
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
MethodshouldDiscardFriction
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
MethodshouldFreeze
(Biome internal, Level world, BlockPos pos)
common/src/main/java/com/blamejared/crafttweaker/natives/world/biome/ExpandBiome.java:32
MethodshouldInformAdmins
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
MethodshouldLoadClass
(final Class<?> cls)
common/src/main/java/com/blamejared/crafttweaker/impl/script/scriptrun/natives/CtJavaNativeClassConverter.java:53
MethodshouldRemove
(RecipeHolder<?> holder)
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionRemoveGenericRecipeByRegex.java:23
MethodshouldRemove
(RecipeHolder<?> holder)
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionRemoveGenericRecipeBase.java:42
MethodshouldRemove
(RecipeHolder<?> holder)
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionRemoveGenericRecipeByOutput.java:25
MethodshouldRemove
(RecipeHolder<?> holder)
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionRemoveGenericRecipeByName.java:32
MethodshouldRemove
(RecipeHolder<?> holder)
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionRemoveGenericRecipeByModId.java:28
MethodshouldRemove
(RecipeHolder<?> holder)
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionRemoveGenericRecipe.java:34
MethodshouldRewardExp
(MerchantOffer internal)
common/src/main/java/com/blamejared/crafttweaker/natives/villager/ExpandMerchantOffer.java:178
MethodshouldShowName
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
MethodshouldShowToast
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
MethodshouldSnow
(Biome internal, Level world, BlockPos pos)
common/src/main/java/com/blamejared/crafttweaker/natives/world/biome/ExpandBiome.java:44
MethodshouldSwing
(InteractionResult internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandInteractionResult.java:22
MethodshowIcon
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
MethodshowInTooltip
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
MethodshowInTooltip
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
MethodshowInTooltip
(ItemAttributeModifiers internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemAttributeModifiers.java:65
MethodshowInTooltip
(Unbreakable internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandUnbreakable.java:26
MethodshowOnItemFrame
(MapDecorationType internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/map/ExpandMapDecorationType.java:42
MethodshowProgressBar
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
MethodshowVehicleHealth
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
Methodshr
(IData other)
common/src/main/java/com/blamejared/crafttweaker/api/data/ShortData.java:117
Methodshr
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
Methodshr
(IData other)
common/src/main/java/com/blamejared/crafttweaker/api/data/IntData.java:117
Methodshr
(IData other)
common/src/main/java/com/blamejared/crafttweaker/api/data/LongData.java:117
Methodshrink
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
MethodsidedSuccess
(Class<T> tClass, T object, boolean success)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandInteractionResultHolder.java:52
MethodsidedSuccess
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
MethodsidedSuccess
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
Methodsimulate
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
Methodsimulate
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
Methodsingle
(IFluidStack stack)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/ingredient/ExpandFluidIngredient.java:46
Methodsize
()
neoforge/src/main/java/com/blamejared/crafttweaker/impl/loot/CraftTweakerPrivilegedLootModifierEntrySet.java:74
Methodsize
()
neoforge/src/main/java/com/blamejared/crafttweaker/impl/loot/NeoForgeLootModifierMapEntrySetAdapter.java:82
Methodsize
()
neoforge/src/main/java/com/blamejared/crafttweaker/impl/loot/NeoForgeLootModifierMapAdapter.java:33
Methodsize
()
neoforge/src/main/java/com/blamejared/crafttweaker/impl/loot/NeoForgeLootModifierValuesCollectionAdapter.java:30
Methodsize
()
neoforge/src/main/java/com/blamejared/crafttweaker/impl/loot/CraftTweakerPrivilegedLootModifierMap.java:40
Methodsize
()
common/src/main/java/com/blamejared/crafttweaker/impl/script/scriptrun/SuspiciousAwarePathList.java:157
Methodsize
()
common/src/main/java/com/blamejared/crafttweaker/impl/script/recipefs/RecipeFileAttributes.java:75
Methodsize
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
Methodsize
(ItemEnchantments internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemEnchantments.java:50
Methodsize
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
Methodsize
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
Methodsize
(RecipeInput internal)
common/src/main/java/com/blamejared/crafttweaker/natives/recipe/input/ExpandRecipeInput.java:21
Methodsize
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
Methodsize
()
forge/src/main/java/com/blamejared/crafttweaker/impl/loot/CraftTweakerPrivilegedLootModifierEntrySet.java:74
Methodsize
()
forge/src/main/java/com/blamejared/crafttweaker/impl/loot/ForgeLootModifierMapEntrySetAdapter.java:82
Methodsize
()
forge/src/main/java/com/blamejared/crafttweaker/impl/loot/ForgeLootModifierValuesCollectionAdapter.java:30
Methodsize
()
forge/src/main/java/com/blamejared/crafttweaker/impl/loot/CraftTweakerPrivilegedLootModifierMap.java:40
Methodsleep
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
MethodsleepUntil
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
Methodslot
(ItemAttributeModifiers.Entry internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemAttributeModifiers.java:94
Methodslots
(Enchantment.EnchantmentDefinition internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/enchantment/ExpandEnchantmentDefinition.java:50
Methodsmokey
(final LocationPredicate.Builder internal, @ZenCodeType.OptionalBoolean(true) final Boolean smokey)
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandLocationPredicateBuilder.java:107
Methodsolely
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
MethodsonicBoom
(DamageSources internal, Entity entity)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSources.java:258
Methodsort
(final Comparator<? super Path> c)
common/src/main/java/com/blamejared/crafttweaker/impl/script/scriptrun/SuspiciousAwarePathList.java:302
Methodsound
(DamageEffects internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageEffects.java:17
MethodsoundEvent
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
Methodsource
(final DamageSourcePredicate.Builder internal, final EntityPredicate.Builder entityPredicate)
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandDamageSourcePredicateBuilder.java:29
MethodsourcePositionRaw
(DamageSource internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSource.java:93
Methodsouth
(Vec3i internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandVec3i.java:103
Methodsouth
(BlockPos internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandBlockPos.java:107
Methodspace
()
common/src/main/java/com/blamejared/crafttweaker/natives/text/content/ExpandCommonComponents.java:60
Methodspawn
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
MethodspawnChildFromBreeding
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
MethodspecificRunInfo
()
common/src/main/java/com/blamejared/crafttweaker/impl/script/scriptrun/ScriptRun.java:67
Methodspeed
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
MethodsplitTheItem
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
Methodsprinting
(final EntityFlagsPredicate.Builder internal, @ZenCodeType.OptionalBoolean(true) final Boolean sprinting)
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandEntityFlagsPredicateBuilder.java:26
Methodstack
(ItemLike item)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/CraftTweakerGameTest.java:60
MethodstackReturnsIItemStack
(GameTestHelper helper)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/api/ingredient/IngredientConverterTest.java:40
Methodstalagmite
(DamageSources internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSources.java:144
Methodstart
Builds and starts the sequence. @return The sequence that was built.
common/src/main/java/com/blamejared/crafttweaker/api/util/sequence/SequenceBuilder.java:173
MethodstartOpen
(Container internal, Player player)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandContainer.java:95
MethodstartRiding
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
MethodstartSleeping
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
MethodstartUsingItem
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
Methodstarve
(DamageSources internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSources.java:72
Methodstatistic
(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
Methodstep
(Direction internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/direction/ExpandDirection.java:87
MethodsteppingOn
(final EntityPredicate.Builder internal, final LocationPredicate.Builder predicate)
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandEntityPredicateBuilder.java:41
MethodstillValid
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
MethodstillValid
(Container internal, Player player)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandContainer.java:89
Methodsting
(DamageSources internal, LivingEntity entity)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSources.java:168
Methodstop
Stop the sequence.
common/src/main/java/com/blamejared/crafttweaker/api/util/sequence/SequenceContext.java:28
MethodstopOpen
(Container internal, Player player)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandContainer.java:101
MethodstopRiding
Stops riding the entity.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:838
MethodstopSleeping
Stops the entity from sleeping.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:1287
MethodstopSleeping
Wakes up the player if they are sleeping
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/player/ExpandPlayer.java:250
MethodstopUsingItem
Stops using an item.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:1125
MethodstoreData
(IData data)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/framework/zencode/GameTestGlobals.java:42
← previousnext →7,201–7,300 of 8,150, ranked by callers