All Classes and Interfaces

Class
Description
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ActionAddRecipe<T extends net.minecraft.world.item.crafting.Recipe<?>>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ActionRecipeBase<T extends net.minecraft.world.item.crafting.Recipe<?>>
 
 
ActionRemoveAll<T extends net.minecraft.world.item.crafting.Recipe<?>>
 
 
 
 
 
 
 
 
ActionRemoveRecipe<T extends net.minecraft.world.item.crafting.Recipe<?>>
 
ActionRemoveRecipeByModid<T extends net.minecraft.world.item.crafting.Recipe<?>>
 
ActionRemoveRecipeByName<T extends net.minecraft.world.item.crafting.Recipe<?>>
 
ActionRemoveRecipeByOutput<T extends net.minecraft.world.item.crafting.Recipe<?>>
 
ActionRemoveRecipeByOutputInput<T extends net.minecraft.world.item.crafting.Recipe<?>>
 
ActionRemoveRecipeByRegex<T extends net.minecraft.world.item.crafting.Recipe<?>>
 
 
 
 
ActionReplaceRecipe<T extends net.minecraft.world.item.crafting.Recipe<?>>
 
 
 
 
 
 
 
ActionTag<T extends MCTag,U extends ITagManager<T>>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Careful with BoolData: While it works for specifying boolean attributes in JSON syntax, using it in Tags will instead use a ByteData object.
Marks a method as being responsible for dumping all valid values for a specific bracket handler.
 
 
 
This class contains the "simple" Bracket handlers from CraftTweaker.
Marks a method as being responsible for resolving a particular bracket.
Contains all info on Bracket resolvers, validators and dumpers
Marks a method as being responsible for validating a bracket expression for a bracket handler.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Represents a character stream.
 
Converts a value from X? to X.
 
 
 
 
 
 
 
 
This is a helper interface for every object that is returned by a BEP!
 
 
 
Holds a set of implementations of ILootModifier of common usage.
 
 
 
 
Compare expression for basic types.
Used to indicate comparison types.
Represents a compiled DFA.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Provides access to the main CraftTweaker API.
 
 
 
 
 
 
Marks the class as a CraftTweaker plugin, which needs to be detected and loaded by CraftTweaker.
 
 
Data that is saved and loaded with the world when it is saved and loaded from disk.
 
 
 
 
 
 
 
 
Lets you add new Cauldron interactions.
Fired when a Cauldron is interacted with.
 
 
EntityIngredient that facilitates accepting either a single, or multiple EntityTypes, s or Many<KnownTag<net.minecraft.world.entity.EntityType>>s.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Implements a DFA.
Represents a state in a DFA.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This expansion specifically targets BlockTags.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This is the vanilla ingredient type.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This is the vanilla ItemStack.
 
This expansion specifically targets itemTags.
Used to denote items and blocks that can have the vanishing enchantment applied.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Creates a new LootContext using a builder style pattern.
A loot context param is provided to a LootContext allowing it to supply information to functions.
These are pre-registered params that are used by vanilla.
A set of LootContextParam that are required for a specific loot table to roll.
These are pre-registered param sets that are used by vanilla.
 
 
 
 
 
 
 
 
A loot table is used to determine what is dropped when the game needs to drop loot.
This expansion specifically targets itemTags.
This expansion specifically targets itemTags.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Used to denote armor items that can be worn.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This recipe manager allows you to perform removal actions over all recipe managers.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Represents an action that is to be executed through a ZenCode script.
Provides information related to a native type registered to ZenCode.
 
Information related to a bracket dumper.
Handles registration of parsers for bracket expressions.
Holds information relative to a dumper for a specific bracket expression.
 
 
The ICollection data is used to represent a collection of IData like a List
Handles registration of commands for the /ct main command.
Represents an operation that is responsible for construction of the command given a builder.
ICookingRecipeManager<T extends net.minecraft.world.item.crafting.AbstractCookingRecipe>
Default interface for Registry based handlers as they can all remove recipes by ResourceLocation.
 
Identifies a CraftTweaker Plugin.
Provides access to information stored by all CraftTweaker registries.
 
 
The IData interface is a generic Interface for handling Data like NBT.
Used to specify what "type" of IData this is.
 
 
 
 
Represents information related to a specific native executable reference registered to ZenCode.
 
Fired whenever replacement exclusions for a specific IRecipeManager need to be gathered.
The CraftTweaker Ingredient class which is used to power our recipes and ItemStack matching.
An IIngredient which matches all items
 
 
 
 
 
 
 
 
Consists of an ingredient and an amount.
 
 
 
Handles registration of the various components required to integrate ZenCode scripts and Java code.
Handles registration of additional listeners that will be invoked at certain points during CraftTweaker's lifecycle.
Manages the registration of IScriptLoaders for CraftTweaker.
Represents a modifier that gets applied to the loot dropped by a loot table.
IMessage<T extends IMessage<?>>
 
 
 
 
 
 
 
 
Mutable version of IScriptRunInfo that allows changing certain information.
 
Represents a registry holding information for native types known to the ZenCode environment.
 
Visitor to determine if a type has inference blocking type parameters.
Used to bust the Ingredient#itemStacks cache when the Ingredient was resolved during a Server reload (When an instance of TagManager is available.
 
 
 
 
 
 
 
 
 
A task that will run immediately.
 
 
 
 
 
 
Represents a Number in the form of an IData, useful for converting between types (double to int / long for example).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Identifies a preprocessor for a IScriptFile.
Represents a preprocessor match.
IRecipeHandler<T extends net.minecraft.world.item.crafting.Recipe<?>>
Represents a handler for a specific type of recipe indicated by the generic parameter.
Annotates a IRecipeHandler indicating which recipe classes it is able to handle.
Container for the IRecipeHandler.For annotation.
Exception that indicates that the current recipe handler does not support replacing for the targeted recipe class.
Manages the registration of IRecipeHandlers for CraftTweaker.
 
IRecipeManager<T extends net.minecraft.world.item.crafting.Recipe<?>>
Default interface for Registry based handlers as they can all remove recipes by ResourceLocation.
 
Represents a rule used for replacement of various ingredients inside a recipe.
Represents an action that should be executed on every game reload, instead of only once.
Represents a script file which will be read during a IScriptRun.
Identifies a script loader.
Identifies a script load source.
Manages the registration of IScriptLoadSources for CraftTweaker.
Represents an execution of one or more IScriptFiles.
Gives information relative to a specific IScriptRun.
Manages the creation and lifecycle of IScriptRuns, while also dealing with IActions.
Configures the list of JavaNativeModules for a particular IScriptRun.
Creates a JavaNativeModule from the given information.
Manages the registration of IScriptRunModuleConfigurators for the various loaders.
 
 
A task in a Sequence.
 
 
Manages the registration of taggable elements and their managers used for tags.
 
Represents a rule used to identify which recipes should have their ingredients replaced by IReplacementRules.
 
 
 
 
 
 
 
Represents an action that should be run on every game reload and that requires additional cleanup code.
Manages the registration of components necessary to manipulate villager trades.
Holds information related to the various classes and expansions exposed to ZenCode.
Identifies raw information on the classes registered to a specific IScriptLoader.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A known tag is a tag whose element is known and has been registered as Taggable.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The main entry point for everything loot related.
Manager for loot modifiers.
Manager for loot tables.
 
Used to represent data with an amount.
 
 
 
 
 
 
 
 
 
 
 
 
 
Defines how a recipe should be mirrored.
 
 
 
 
 
 
Represents a mod in the game.
 
 
Additional methods for easier modification of block-related loot tables.
Additional methods for easier modification of block state-related loot tables.
Additional methods for easier modification of entity-related loot tables.
 
 
 
Holds information on all the mods that are registered.
 
 
 
 
 
 
 
 
 
 
 
 
 
Set of utility methods related to names and naming in general.
 
 
 
 
 
 
 
 
Holds information relative to a specific native type that is yet to be registered to ZenCode.
Holds information relative to a specific native constructor that should be exposed to ZenCode.
Holds information relative to a specific native method that should be exposed to ZenCode.
Holds information relative to a specific parameter of a native method or native constructor that is exposed to ZenCode.
 
 
 
NFA<T extends Comparable<T>>
Represents an NFA.
Represents an NFA state.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Enum used to indicate operator type.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Used to represent data with an attached percentage (think an ItemStack with a 50% chance of being outputted).
 
 
 
 
Used for post-increment and post-decrement.
 
 
 
 
Marks the class as a preprocessor.
 
 
 
 
 
 
 
 
 
 
 
 
RecipeList<T extends net.minecraft.world.item.crafting.Recipe<?>>
This class acts as a wrapper for the (currently) two recipe maps that vanilla stores recipes in: The recipes map, which is used for actual recipe lookups.
 
 
 
 
 
 
 
Set of helper functions that can replace ingredients according to the given IReplacementRules.
#replace toReplace replaceWith
Handles the replacing of ingredients in recipes for various IRecipeManagers and Recipes.
 
Bracket handlers specifically for resource location as it is used in multiple loaders.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Holds information relative to the configuration for a specific IScriptRun.
Indicates the kind of run that the IScriptRun will perform.
 
 
 
A sequence is a series of tasks that run after each other when the actor ticks.
A builder for Sequence.
A SequenceContext provides more data to Sequences and allows a sequence to be stopped from inside a task.
Manages Sequences, handles adding, removing and ticking.
Represents the type of 'actor' a Sequence acts on and is used to ensure that Sequences are ticked correctly.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A task that will sleep for the given amount of ticks.
A task that will sleep until its condition is met.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Basic String utils exposed to ZenScript and for use in Java code.
 
Using to cast a base type to a class type.
Using to cast a class type to a base type.
 
 
 
 
 
 
 
 
 
 
A taggable element is a class which can be used in a vanilla Tag.
 
 
 
 
A TagManagerFactory is used to create custom ITagManagers instead of using the default managers (KnownTagManager or UnknownTagManager)
 
Vistor to convert from Vanilla's Tag to CraftTweaker's Data system.
 
 
 
 
Token<TT extends TokenType>
Represents a token.
 
TokenParser<T extends Token<TT>,TT extends TokenType>
Represents a token stream.
TokenStream<TT extends TokenType,T extends Token<TT>>
 
Represents a token type.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Used instead of org.openzen.zencode.java.ZenCodeType.Expansion if you don't know the zs name of the type.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
An unknown tag is a tag whose element is not known or has not been registered as Taggable.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
An IIngredient that wraps a vanilla Ingredient.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Marks a class as requiring registration to ZenCode.
 
 
Holds information relative to a specific type that still needs to be registered to ZenCode.
Indicates the kind of type that should be exposed to ZenCode.