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
addPowderSnowInteraction
Adds an interaction that will fire when a Cauldron with powdered snow inside is interacted with the given item. @param item The item to intera
common/src/main/java/com/blamejared/crafttweaker/api/misc/CTCauldron.java:143
Method
addRecipe
Adds a recipe to the stone cutter @param recipeName name of the recipe @param output output {@link IItemStack} @param input input {@link IIn
common/src/main/java/com/blamejared/crafttweaker/api/recipe/manager/StoneCutterManager.java:39
Method
addRecipe
Adds a new brewing recipe to the Brewing Stand. @param output The item that the recipe outputs. @param reagent The reagent that is put in the top sl
forge/src/main/java/com/blamejared/crafttweaker/api/recipe/CTBrewing.java:47
Method
addReductionModifier
(LivingIncomingDamageEvent internal, DamageContainer.Reduction type, IReductionFunction reductionFunc)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/living/ExpandLivingIncomingDamageEvent.java:36
Method
addShaped
(String recipeName, IItemStack output, IIngredient[][] ingredients, @ZenCodeType.Optional RecipeFunction2D rec
common/src/main/java/com/blamejared/crafttweaker/api/recipe/manager/CraftingTableRecipeManager.java:38
Method
addShapedMirrored
Adds a mirrored shaped recipe to the crafting table. This method lets you provide a {@link MirrorAxis}, which can be used to set which axis the recip
common/src/main/java/com/blamejared/crafttweaker/api/recipe/manager/CraftingTableRecipeManager.java:74
Method
addShapedPattern
(String recipeName, IItemStack output, String[] pattern, Map<String, IIngredient> keys, @ZenCodeType.Optional
common/src/main/java/com/blamejared/crafttweaker/api/recipe/manager/CraftingTableRecipeManager.java:44
Method
addShapeless
(String recipeName, IItemStack output, IIngredient[] ingredients, @ZenCodeType.Optional RecipeFunction1D recip
common/src/main/java/com/blamejared/crafttweaker/api/recipe/manager/CraftingTableRecipeManager.java:80
Method
addShiftTooltip
(Component content, @ZenCodeType.Optional Component showMessage)
common/src/main/java/com/blamejared/crafttweaker/api/ingredient/IIngredient.java:167
Method
addStateLootModifier
Adds an {@link ILootModifier} to this block, firing only if it matches the state outlined in the {@link StatePropertiesPredicate}. @param internal
common/src/main/java/com/blamejared/crafttweaker/natives/loot/modifier/ModifierSpecificExpandBlock.java:86
Method
addTag
Adds a tag to the {@link net.minecraft.tags.TagManager.LoadResult} @param id The id of the tag to add. @param tag The tag to add.
common/src/main/java/com/blamejared/crafttweaker/api/tag/MutableLoadResult.java:33
Method
addTag
(ResourceLocation id, Collection<Holder<U>> tag)
common/src/main/java/com/blamejared/crafttweaker/api/tag/manager/type/KnownTagManager.java:201
Method
addTag
(ResourceLocation id, Collection<Holder<U>> tag)
common/src/main/java/com/blamejared/crafttweaker/api/tag/manager/type/UnknownTagManager.java:134
Method
addTag
Adds a tag to the entity, returning false if the entity has over 1024 @param tagName The name of the tag to add. @return true if the tag was added.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:135
Method
addTargetedLootModifier
Adds an {@link ILootModifier} to the current block, only if it matches the current block state precisely. @param internal The block state to add the
common/src/main/java/com/blamejared/crafttweaker/natives/loot/modifier/ModifierSpecificExpandBlockState.java:57
Method
addToSpecialPriceDiff
(MerchantOffer internal, int specialPriceDiff)
common/src/main/java/com/blamejared/crafttweaker/natives/villager/ExpandMerchantOffer.java:118
Method
addToolLootModifier
Adds an {@link ILootModifier} that fires if this block gets broken with the given tool. <p>Parameters that may be attached to the tool such as count,
common/src/main/java/com/blamejared/crafttweaker/natives/loot/modifier/ModifierSpecificExpandBlock.java:107
Method
addToolLootModifier
Adds an {@link ILootModifier} that fires if this block state gets broken with the given tool. <p>Parameters that may be attached to the tool such as
common/src/main/java/com/blamejared/crafttweaker/natives/loot/modifier/ModifierSpecificExpandBlockState.java:110
Method
addTooltip
(Component content)
common/src/main/java/com/blamejared/crafttweaker/api/ingredient/IIngredient.java:161
Method
addTrade
Adds a new custom trade with the selling and buying items determined by the custom MerchantOffer generator. <p> The function will only run when the vi
common/src/main/java/com/blamejared/crafttweaker/api/villager/CTVillagerTrades.java:72
Method
addTransformRecipe
Adds a new transform recipe to the smithing table. @param recipeName Name of the recipe. @param result The item created by the recipe. @param tem
common/src/main/java/com/blamejared/crafttweaker/api/recipe/manager/SmithingRecipeManager.java:64
Method
addTransientModifier
Adds a transient {@link AttributeModifier} to the attribute. @param modifier The modifier to add.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/attribute/ExpandAttributeInstance.java:72
Method
addTrimRecipe
Adds a new trim recipe to the smithing table. @param recipeName Name of the recipe. @param template The template to use. @param base The init
common/src/main/java/com/blamejared/crafttweaker/api/recipe/manager/SmithingRecipeManager.java:43
Method
addWanderingTrade
Adds the specific {@link VillagerTrades.ItemListing} trade to the Wandering Trader @param rarity The rarity of the Trade. Valid options are `1` or `2
common/src/main/java/com/blamejared/crafttweaker/api/villager/CTVillagerTrades.java:540
Method
addWaterInteraction
Adds an interaction that will fire when a Cauldron with water inside is interacted with the given item. @param item The item to interact with.
common/src/main/java/com/blamejared/crafttweaker/api/misc/CTCauldron.java:79
Method
addWeaponAndPlayerOnlyLootModifier
Adds an {@link ILootModifier} to the current entity that fires only if the entity was killed by a player with the given weapon. <p>Additional paramet
common/src/main/java/com/blamejared/crafttweaker/natives/loot/modifier/ModifierSpecificExpandEntityType.java:115
Method
addWeaponOnlyLootModifier
Adds an {@link ILootModifier} to the current entity that fires only if the entity was killed with the given weapon. <p>Additional parameters that fur
common/src/main/java/com/blamejared/crafttweaker/natives/loot/modifier/ModifierSpecificExpandEntityType.java:75
Method
addWithChance
Adds the given {@link Percentaged} {@link IItemStack} to the drops, according to the specified chances. <p>The chance will be computed on each modifi
common/src/main/java/com/blamejared/crafttweaker/api/loot/modifier/CommonLootModifiers.java:88
Method
addWithRandomAmount
Adds the given {@link IItemStack} to the drops, with an amount chosen randomly between the given bounds. <p>Any original stack size given to this met
common/src/main/java/com/blamejared/crafttweaker/api/loot/modifier/CommonLootModifiers.java:381
Method
advancement
(final PlayerPredicate.Builder internal, final ResourceLocation name, @ZenCodeType.OptionalBoolean(true) final
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandPlayerPredicateBuilder.java:82
Method
advancementCriterion
(final PlayerPredicate.Builder internal, final ResourceLocation name,
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandPlayerPredicateBuilder.java:106
Method
advancementEntity
Gets the 'advancement_entity' param set. The 'advancement_entity' param set requires the following params: <ul> <li>{@code this_entity}</li> <li>{@co
common/src/main/java/com/blamejared/crafttweaker/natives/loot/param/ExpandLootContextParamSets.java:203
Method
advancementLocation
Gets the 'advancement_entity' param set. The 'advancement_entity' param set requires the following params: <ul> <li>{@code this_entity}</li> <li>{@co
common/src/main/java/com/blamejared/crafttweaker/natives/loot/param/ExpandLootContextParamSets.java:220
Method
advancementReward
Gets the 'advancement_reward' param set. The 'advancement_reward' param set requires the following params: <ul> <li>{@code this_entity}</li> <li>{@co
common/src/main/java/com/blamejared/crafttweaker/natives/loot/param/ExpandLootContextParamSets.java:186
Method
allParams
Gets the 'generic' param set. The 'generic' param set requires the following params: <ul> <li>{@code this_entity}</li> <li>{@code last_damage_player}
common/src/main/java/com/blamejared/crafttweaker/natives/loot/param/ExpandLootContextParamSets.java:245
Method
allStrategyNames
()
common/src/main/java/com/blamejared/crafttweaker/impl/recipe/replacement/ReplacerRegistry.java:62
Method
always
()
common/src/main/java/com/blamejared/crafttweaker/impl/logging/SystemLogger.java:2331
Method
always
()
common/src/main/java/com/blamejared/crafttweaker/impl/logging/ForwardingLogger.java:3202
Method
alwaysAccepts
Checks if the command source always accepts. @return True if the command source always accepts, false otherwise.
common/src/main/java/com/blamejared/crafttweaker/natives/command/ExpandCommandSource.java:72
Method
alwaysEdible
Sets the always edible value of the food properties. @return this builder for chaining.
common/src/main/java/com/blamejared/crafttweaker/natives/food/ExpandFoodProperties.java:374
Method
alwaysRender
Forces the name tag to be visible even when it would otherwise not be.
common/src/main/java/com/blamejared/crafttweaker/api/entity/NameTagResult.java:71
Method
ambient
()
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/ExpandMobEffectsPredicateMobEffectInstancePredicate.java:43
Method
amount
(SizedFluidIngredient internal)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/ingredient/ExpandSizedFluidIngredient.java:28
Method
amount
(final ItemPredicate.Builder internal, final MinMaxBounds.Ints amount)
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandItemPredicateBuilder.java:57
Method
amount
Gets the amount of this AttributeModifier. @return The amount of this AttributeModifier.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/attribute/ExpandAttributeModifier.java:50
Method
amplifier
(final MinMaxBounds.Ints amplifier)
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/ExpandMobEffectsPredicateMobEffectInstancePredicate.java:49
Method
and
(IData other)
common/src/main/java/com/blamejared/crafttweaker/api/data/ShortData.java:69
Method
and
(IData other)
common/src/main/java/com/blamejared/crafttweaker/api/data/BoolData.java:56
Method
and
(IData other)
common/src/main/java/com/blamejared/crafttweaker/api/data/ByteData.java:69
Method
and
(IData other)
common/src/main/java/com/blamejared/crafttweaker/api/data/IntData.java:69
Method
and
(IData other)
common/src/main/java/com/blamejared/crafttweaker/api/data/LongData.java:69
Method
and
(final AllOfCondition.Builder internal, final LootItemCondition.Builder condition)
common/src/main/java/com/blamejared/crafttweaker/natives/loot/condition/builder/ExpandAllOfConditionBuilder.java:15
Method
and
(final LootItemCondition.Builder internal, final LootItemCondition.Builder other)
common/src/main/java/com/blamejared/crafttweaker/natives/loot/condition/builder/ExpandLootItemConditionBuilder.java:29
Method
anvil
(DamageSources internal, Entity entity)
common/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageSources.java:156
Method
anvilCost
(Enchantment.EnchantmentDefinition internal)
common/src/main/java/com/blamejared/crafttweaker/natives/item/enchantment/ExpandEnchantmentDefinition.java:44
Method
any
()
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/ExpandFishingHookPredicate.java:17
Method
any
()
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/ExpandMinMaxBoundsDoubles.java:14
Method
any
()
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/ExpandPlayerPredicate.java:17
Method
any
()
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/ExpandMinMaxBoundsInts.java:14
Method
any
()
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/ExpandMobEffectsPredicateMobEffectInstancePredicate.java:19
Method
anyDamage
()
common/src/main/java/com/blamejared/crafttweaker/api/ingredient/IIngredient.java:374
Method
anyOf
Creates a rule that filters only recipes with the specific given names. <p>The names are matched exactly, in both namespace and path.</p> @param exa
common/src/main/java/com/blamejared/crafttweaker/api/recipe/replacement/type/NameFilteringRule.java:99
Method
append
(LogEvent event)
common/src/main/java/com/blamejared/crafttweaker/gametest/logging/appender/GameTestLoggerAppender.java:38
Method
appendConstructorAnnotation
()
common/src/main/java/com/blamejared/crafttweaker/impl/registry/natives/ExecutableReferenceInfo.java:46
Method
appliedActions
()
common/src/main/java/com/blamejared/crafttweaker/impl/script/scriptrun/MutableRunInfo.java:37
Method
apply
(final ObjectArrayList<ItemStack> generatedLoot, final LootContext context)
neoforge/src/main/java/com/blamejared/crafttweaker/impl/loot/CraftTweakerLootModifierAdapter.java:25
Method
apply
()
neoforge/src/main/java/com/blamejared/crafttweaker/api/action/entity/ActionSetNameTag.java:24
Method
apply
(Void object, ResourceManager resourceManager, ProfilerFiller profiler)
fabric/src/main/java/com/blamejared/crafttweaker/impl/loot/modifier/LootModifierManagerReloadListener.java:27
Method
apply
(Void object, ResourceManager resourceManager, ProfilerFiller profiler)
common/src/main/java/com/blamejared/crafttweaker/impl/script/ScriptReloadListener.java:63
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/ModLoadedPreprocessor.java:35
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/NoBrandPreprocessor.java:29
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/ModNotLoadedPreprocessor.java:35
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/LoadLastPreprocessor.java:33
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/ModLoaderPreprocessor.java:34
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/LoaderPreprocessor.java:32
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/GameVersionPreprocessor.java:35
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/LoadFirstPreprocessor.java:33
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/ReplacePreprocessor.java:35
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/PriorityPreprocessor.java:33
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/NoLoadPreprocessor.java:29
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/DebugPreprocessor.java:29
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/onlyif/EndIfPreprocessor.java:33
Method
apply
(final IScriptFile file, final List<String> preprocessedContents, final IMutableScriptRunInfo runInfo, final L
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/onlyif/OnlyIfPreprocessor.java:75
Method
apply
(IItemStack in)
common/src/main/java/com/blamejared/crafttweaker/api/ingredient/transformer/IngredientTransformers.java:69
Method
apply
(final IData data)
common/src/main/java/com/blamejared/crafttweaker/api/data/op/DecidingListDataAdapter.java:24
Method
apply
Applies the preprocessor to the {@link IScriptFile} and the {@link IMutableScriptRunInfo}. <p>Each preprocessor for which at least one {@linkplain Ma
common/src/main/java/com/blamejared/crafttweaker/api/zencode/IPreprocessor.java:141
Method
apply
()
common/src/main/java/com/blamejared/crafttweaker/api/action/item/ActionSetItemProperty.java:30
Method
apply
()
common/src/main/java/com/blamejared/crafttweaker/api/action/item/ActionModifyAttribute.java:26
Method
apply
()
common/src/main/java/com/blamejared/crafttweaker/api/action/item/ActionSetBurnTime.java:33
Method
apply
()
common/src/main/java/com/blamejared/crafttweaker/api/action/item/tooltip/ActionAddTooltip.java:22
Method
apply
()
common/src/main/java/com/blamejared/crafttweaker/api/action/item/tooltip/ActionModifyTooltip.java:16
Method
apply
()
common/src/main/java/com/blamejared/crafttweaker/api/action/item/tooltip/ActionClearTooltip.java:23
Method
apply
()
common/src/main/java/com/blamejared/crafttweaker/api/action/item/tooltip/ActionRemoveRegexTooltip.java:32
Method
apply
()
common/src/main/java/com/blamejared/crafttweaker/api/action/item/tooltip/ActionModifyShiftedTooltip.java:26
Method
apply
()
common/src/main/java/com/blamejared/crafttweaker/api/action/item/tooltip/ActionAddShiftedTooltip.java:29
Method
apply
()
common/src/main/java/com/blamejared/crafttweaker/api/action/network/ActionAddDataReceiver.java:24
Method
apply
()
common/src/main/java/com/blamejared/crafttweaker/api/action/villager/ActionRemoveWanderingTrade.java:28
Method
apply
()
common/src/main/java/com/blamejared/crafttweaker/api/action/villager/ActionRemoveTrade.java:23
Method
apply
()
common/src/main/java/com/blamejared/crafttweaker/api/action/villager/ActionAddTrade.java:19
Method
apply
(List<VillagerTrades.ItemListing> tradeList)
common/src/main/java/com/blamejared/crafttweaker/api/action/villager/ActionTradeBase.java:30
← previous
next →
2,501–2,600 of 8,150, ranked by callers