All Classes

Class Description
ArmorRenderingRegistry
A class for registering custom armor models and textures for Item, to be provided by a ArmorRenderingRegistry.ModelProvider or ArmorRenderingRegistry.TextureProvider.
ArmorRenderingRegistry.ModelProvider  
ArmorRenderingRegistry.TextureProvider  
AttackBlockCallback
Callback for left-clicking ("attacking") a block.
AttackEntityCallback
Callback for left-clicking ("attacking") an entity.
BiomeModification Deprecated.
BiomeModificationContext Deprecated.
BiomeModificationContext.EffectsContext  
BiomeModificationContext.GenerationSettingsContext  
BiomeModificationContext.SpawnSettingsContext  
BiomeModificationContext.WeatherContext  
BiomeModifications Deprecated.
BiomeSelectionContext Deprecated.
BiomeSelectors Deprecated.
BlendMode
Defines how sprite pixels will be blended with the scene.
Block2ObjectMap<V>  
BlockAttackInteractionAware
Convienence interface for blocks which listen to "break interactions" (left-click).
BlockConstructedCallback Deprecated.
Please migrate to v1.
BlockEntityClientSerializable
Implement this interface on a BlockEntity which you would like to be synchronized with the client side using the built-in engine methods.
BlockEntityRendererRegistry
Helper class for registering BlockEntityRenderers.
BlockPickInteractionAware  
BlockRenderLayerMap
Use to associate blocks or fluids with block render layer other than default.
BlockSettingsExtensions Deprecated.
Please migrate to v1.
BooleanFunction<R>
Represents a function that accepts an boolean-valued argument and produces a result.
BuiltinItemRenderer Deprecated.
BuiltinItemRendererRegistry
This registry holds builtin item renderers for items.
BuiltinItemRendererRegistry.DynamicItemRenderer
Dynamic item renderers render items with custom code.
C2SPacketTypeCallback Deprecated.
Please migrate to S2CPlayChannelEvents since this was incorrectly named.
C2SPlayChannelEvents
Offers access to events related to the indication of a connected server's ability to receive packets in certain channels.
C2SPlayChannelEvents.Register  
C2SPlayChannelEvents.Unregister  
ClientBlockEntityEvents  
ClientBlockEntityEvents.Load  
ClientBlockEntityEvents.Unload  
ClientChunkEvents  
ClientChunkEvents.Load  
ClientChunkEvents.Unload  
ClientEntityEvents  
ClientEntityEvents.Load  
ClientEntityEvents.Unload  
ClientLifecycleEvents  
ClientLifecycleEvents.ClientStarted  
ClientLifecycleEvents.ClientStopping  
ClientLoginConnectionEvents
Offers access to events related to the connection to a server on the client while the server is processing the client's login request.
ClientLoginConnectionEvents.Disconnect  
ClientLoginConnectionEvents.Init  
ClientLoginConnectionEvents.QueryStart  
ClientLoginNetworking
Offers access to login stage client-side networking functionalities.
ClientLoginNetworking.LoginQueryRequestHandler  
ClientPickBlockApplyCallback
This event is emitted during the block-picking process.
ClientPickBlockCallback Deprecated.
0.3.0
ClientPickBlockCallback.Container Deprecated.
ClientPickBlockGatherCallback
This event is emitted at the beginning of the block picking process in order to find any applicable ItemStack.
ClientPlayConnectionEvents
Offers access to events related to the connection to a server on a logical client.
ClientPlayConnectionEvents.Disconnect  
ClientPlayConnectionEvents.Init  
ClientPlayConnectionEvents.Join  
ClientPlayNetworking
Offers access to play stage client-side networking functionalities.
ClientPlayNetworking.PlayChannelHandler  
ClientSidePacketRegistry Deprecated.
Please migrate to ClientPlayNetworking.
ClientSpriteRegistryCallback  
ClientSpriteRegistryCallback.Registry  
ClientTickCallback Deprecated.
ClientTickEvents  
ClientTickEvents.EndTick  
ClientTickEvents.EndWorldTick  
ClientTickEvents.StartTick  
ClientTickEvents.StartWorldTick  
ColorProviderRegistry<T,​Provider> Deprecated.
ColorProviderRegistry<T,​Provider>  
CommandRegistrationCallback
Callback for when a server registers all commands.
CommandRegistry Deprecated.
Please migrate to v1.
CompostingChanceRegistry
Registry of items to 0.0-1.0 values, defining the chance of a given item increasing the Composter block's level.
ContainerFactory<T> Deprecated.
ContainerProviderRegistry Deprecated.
ContainerScreenFactory<C extends net.minecraft.screen.ScreenHandler> Deprecated.
CriterionRegistry
Allows registering advancement criteria for triggers.
CustomDamageHandler
Allows an item to run custom logic when ItemStack.damage(int, LivingEntity, Consumer) is called.
CustomGameRuleCategory
Utility class for creating custom game rule categories outside of the categories Minecraft provides.
DependentSprite
Implement this interface on a Sprite to declare additional dependencies that should be processed prior to this sprite.
DoubleRule  
DynamicAttributeTool
Interface for adding various tool attributes to items.
DynamicRegistrySetupCallback
This event gets triggered when a new DynamicRegistryManager gets created, but before it gets filled.
EntityPickInteractionAware  
EntityRendererRegistry
Helper class for registering EntityRenderers.
EntityRendererRegistry.Context  
EntityRendererRegistry.Factory  
EntityTrackingEvents
Events related to a tracking entities within a player's view distance.
EntityTrackingEvents.StartTracking  
EntityTrackingEvents.StopTracking  
EntityTrackingRegistry Deprecated.
Use FabricEntityTypeBuilder methods
EntityTrackingRegistry.Entry Deprecated.
EnumRule<E extends Enum<E>>  
EquipmentSlotProvider
A provider for the preferred equipment slot of an item.
Event<T>
Base class for Event implementations.
EventFactory
Helper for creating Event classes.
ExtendedScreenHandlerFactory
An extension of NamedScreenHandlerFactory that can write additional data to a screen opening packet.
ExtraModelProvider  
FabricBakedModel
Interface for baked models that output meshes with enhanced rendering features.
FabricBlockSettings Deprecated.
Please migrate to v1.
FabricBlockSettings
Fabric's version of Block.Settings.
FabricDataGeneratorTagBuilder<T>
Interface implemented by AbstractTagProvider.ObjectBuilder instances when Fabric API is present.
FabricDefaultAttributeRegistry Deprecated.
Please use FabricDefaultAttributeRegistry instead.
FabricDefaultAttributeRegistry
Allows registering custom default attributes for living entities.
FabricDimensions Deprecated.
Experimental feature, may be removed or changed without further notice due to potential changes to Dimensions in subsequent versions.
FabricEntityTypeBuilder<T extends net.minecraft.entity.Entity> Deprecated.
Please migrate to v1.
FabricEntityTypeBuilder<T extends net.minecraft.entity.Entity>
Extended version of EntityType.Builder with added registration for server->client entity tracking values.
FabricEntityTypeBuilder.Living<T extends net.minecraft.entity.LivingEntity>
An extended version of FabricEntityTypeBuilder with support for features on present on living entities, such as default attributes.
FabricEntityTypeBuilder.Mob<T extends net.minecraft.entity.mob.MobEntity>
An extended version of FabricEntityTypeBuilder with support for features on present on mob entities, such as spawn restrictions.
FabricGameRuleVisitor
An extended game rule visitor which supports Fabric's own rule types.
FabricItemGroupBuilder  
FabricItemSettings
Fabric's version of Item.Settings.
FabricItemTags Deprecated.
Use dedicated classes, such as FabricToolTags
FabricKeyBinding Deprecated.
Please migrate to v1.
FabricKeyBinding.Builder Deprecated.
FabricLootPool
An interface implemented by all net.minecraft.loot.LootPool instances when Fabric API is present.
FabricLootPoolBuilder  
FabricLootSupplier
An interface implemented by all net.minecraft.loot.LootSupplier instances when Fabric API is present.
FabricLootSupplierBuilder  
FabricMaterialBuilder Deprecated.
Please migrate to v1.
FabricMaterialBuilder  
FabricModelPredicateProviderRegistry
Allows registering model predicate providers for item models.
FabricParticleTypes
Methods for creating particle types, both simple and using an existing attribute factory.
FabricRegistryBuilder<T,​R extends net.minecraft.util.registry.MutableRegistry<T>>
Used to create custom registries, with specified registry attributes.
FabricSpriteProvider
FabricSpriteProvider.
FabricStructureBuilder<FC extends net.minecraft.world.gen.feature.FeatureConfig,​S extends net.minecraft.world.gen.feature.StructureFeature<FC>>
A builder for registering custom structures.
FabricTag<T>
Interface implemented by Tag instances when Fabric API is present.
FabricTagBuilder<T>
Interface implemented by Tag.Builder instances when Fabric API is present.
FabricToolTags
Tool item tags provided by Fabric.
FabricToolTags Deprecated.
Use the moved FabricToolTags class instead
FlammableBlockRegistry  
FlammableBlockRegistry.Entry  
FluidRenderHandler
Interface for handling the rendering of a FluidState.
FluidRenderHandlerRegistry
Registry for FluidRenderHandler instances.
ForwardingBakedModel
Base class for specialized model implementations that need to wrap other baked models.
FuelRegistry
Registry of items to 0-32767 fuel burn time values, in in-game ticks.
FutureListeners
Utilities for working with netty's future listeners.
GameRuleFactory
A utility class containing factory methods to create game rule types.
GameRuleRegistry
A utility class which allows for registration of game rules.
HudRenderCallback  
IdentifiableResourceReloadListener
Interface for "identifiable" resource reload listeners.
InvalidateRenderStateCallback Deprecated.
InvalidateRenderStateCallback
Called when the world renderer reloads, usually as result of changing resource pack or video configuration, or when the player types F3+A in the debug screen.
Item2ObjectMap<V>  
ItemConstructedCallback Deprecated.
Please migrate to v1.
ItemTooltipCallback  
ItemTooltipCallback Deprecated.
KeyBindingHelper
Helper for registering key bindings.
KeyBindingRegistry Deprecated.
Please migrate to v1.
LivingEntityFeatureRendererRegistrationCallback
Called when feature renderers for a living entity renderer are registered.
LivingEntityFeatureRendererRegistrationCallback.RegistrationHelper
A delegate object used to help register feature renderers for an entity renderer.
LootEntryTypeRegistry
Fabric's extensions to net.minecraft.loot.entry.LootEntries for registering custom loot entry types.
LootEntryTypeRegistry Deprecated.
LootJsonParser  
LootTableLoadingCallback
An event handler that is called when loot tables are loaded.
LootTableLoadingCallback.LootTableSetter  
MaterialFinder
Finds standard RenderMaterial instances used to communicate quad rendering characteristics to a RenderContext.
Mesh
A bundle of one or more QuadView instances encoded by the renderer, typically via Renderer.meshBuilder().
MeshBuilder
Similar in purpose to BufferBuilder but simpler and not tied to NIO or any other specific implementation, plus designed to handle both static and dynamic building.
ModelAppender Deprecated.
use ExtraModelProvider, which supports loading of plain Identifiers
ModelHelper
Collection of utilities for model implementations.
ModelLoadingRegistry  
ModelProviderContext
The model loading context used during model providing.
ModelProviderException  
ModelResourceProvider
Interface for model resource providers.
ModelVariantProvider
Interface for model variant providers.
ModificationPhase Deprecated.
ModResourcePack
Interface implemented by mod-provided resource packs.
MutableQuadView
A mutable QuadView instance.
NbtType
NBT type ID constants.
NetherBiomes Deprecated.
OverworldBiomes Deprecated.
OverworldClimate Deprecated.
PacketByteBufs
Helper methods for working with and creating PacketByteBufs.
PacketConsumer Deprecated.
See the corresponding play packet handler in ClientPlayNetworking or ServerPlayNetworking
PacketContext Deprecated.
PacketRegistry Deprecated.
PacketSender
Represents something that supports sending packets to channels.
ParticleFactoryRegistry
Registry for adding particle factories on the client for particle types created using FabricParticleTypes (or otherwise).
ParticleFactoryRegistry.PendingParticleFactory<T extends net.minecraft.particle.ParticleEffect>
A pending particle factory.
PlayerBlockBreakEvents  
PlayerBlockBreakEvents.After  
PlayerBlockBreakEvents.Before  
PlayerBlockBreakEvents.Canceled  
PlayerLookup
For example, a block entity may use the methods in this class to send a packet to all clients which can see the block entity in order notify clients about a change.
PlayerStream Deprecated.
Please use PlayerLookup instead.
PointOfInterestHelper
This class provides utilities to create a PointOfInterestType.
QuadEmitter
Specialized MutableQuadView obtained via MeshBuilder.getEmitter() to append quads during mesh building.
QuadView
Interface for reading quad data encoded by MeshBuilder.
RegistryAttribute  
RegistryAttributeHolder  
RegistryEntryAddedCallback<T>  
RegistryEntryRemovedCallback<T>  
RegistryIdRemapCallback<T>
The remapping process functions as follows: RegistryEntryRemovedCallbacks are called to remove any objects culled in the process, with the old numeric ID.
RegistryIdRemapCallback.RemapState<T>  
RenderAttachedBlockView
BlockView-extending interface to be used by FabricBakedModel for dynamic model customization.
RenderAttachmentBlockEntity
Interface for BlockEntitys which provide dynamic model state data.
RenderContext
This defines the instance made available to models for buffering vertex data at render time.
RenderContext.QuadTransform  
Renderer
Interface for rendering plug-ins that provide enhanced capabilities for model lighting, buffering and rendering.
RendererAccess
Registration and access for rendering extensions.
RenderMaterial
All model quads have an associated render material governing how the quad will be rendered.
ResourceManagerHelper
Helper for working with ResourceManager instances, and other resource loader generalities.
ResourcePackActivationType
Represents the resource pack activation type.
ResourceReloadListenerKeys
This class contains default keys for various Minecraft resource reload listeners.
S2CPacketTypeCallback Deprecated.
Please migrate to C2SPlayChannelEvents since this was incorrectly named.
S2CPlayChannelEvents
Offers access to events related to the indication of a connected client's ability to receive packets in certain channels.
S2CPlayChannelEvents.Register  
S2CPlayChannelEvents.Unregister  
ScreenEvents
Holds events related to Screens.
ScreenEvents.AfterInit  
ScreenEvents.AfterRender  
ScreenEvents.AfterTick  
ScreenEvents.BeforeInit  
ScreenEvents.BeforeRender  
ScreenEvents.BeforeTick  
ScreenEvents.Remove  
ScreenHandlerRegistry
An API for creating and registering screen handler types.
ScreenHandlerRegistry.ExtendedClientHandlerFactory<T extends net.minecraft.screen.ScreenHandler>
A factory for client-sided screen handler instances with additional screen opening data.
ScreenHandlerRegistry.SimpleClientHandlerFactory<T extends net.minecraft.screen.ScreenHandler>
A factory for client-sided screen handler instances.
ScreenKeyboardEvents
Events related to use of the keyboard in a Screen.
ScreenKeyboardEvents.AfterKeyPress  
ScreenKeyboardEvents.AfterKeyRelease  
ScreenKeyboardEvents.AllowKeyPress  
ScreenKeyboardEvents.AllowKeyRelease  
ScreenKeyboardEvents.BeforeKeyPress  
ScreenKeyboardEvents.BeforeKeyRelease  
ScreenMouseEvents
Events related to use of the mouse in a Screen.
ScreenMouseEvents.AfterMouseClick  
ScreenMouseEvents.AfterMouseRelease  
ScreenMouseEvents.AfterMouseScroll  
ScreenMouseEvents.AllowMouseClick  
ScreenMouseEvents.AllowMouseRelease  
ScreenMouseEvents.AllowMouseScroll  
ScreenMouseEvents.BeforeMouseClick  
ScreenMouseEvents.BeforeMouseRelease  
ScreenMouseEvents.BeforeMouseScroll  
ScreenProviderRegistry Deprecated.
Use ScreenRegistry instead.
ScreenRegistry
An API for registering handled screens that represent screen handlers on the client.
ScreenRegistry.Factory<H extends net.minecraft.screen.ScreenHandler,​S extends net.minecraft.client.gui.screen.Screen & net.minecraft.client.gui.screen.ingame.ScreenHandlerProvider<H>>
A factory for handled screens.
Screens
Utility methods related to screens.
ServerBlockEntityEvents  
ServerBlockEntityEvents.Load  
ServerBlockEntityEvents.Unload  
ServerChunkEvents  
ServerChunkEvents.Load  
ServerChunkEvents.Unload  
ServerEntityCombatEvents
Events related to entities in combat.
ServerEntityCombatEvents.AfterKilledOtherEntity  
ServerEntityEvents  
ServerEntityEvents.Load  
ServerEntityWorldChangeEvents
Events related to an entity being moved to another world.
ServerEntityWorldChangeEvents.AfterEntityChange  
ServerEntityWorldChangeEvents.AfterPlayerChange  
ServerLifecycleEvents  
ServerLifecycleEvents.EndDataPackReload  
ServerLifecycleEvents.ServerStarted  
ServerLifecycleEvents.ServerStarting  
ServerLifecycleEvents.ServerStopped  
ServerLifecycleEvents.ServerStopping  
ServerLifecycleEvents.StartDataPackReload  
ServerLoginConnectionEvents
Offers access to events related to the connection to a client on a logical server while a client is logging in.
ServerLoginConnectionEvents.Disconnect  
ServerLoginConnectionEvents.Init  
ServerLoginConnectionEvents.QueryStart  
ServerLoginNetworking
Offers access to login stage server-side networking functionalities.
ServerLoginNetworking.LoginQueryResponseHandler  
ServerLoginNetworking.LoginSynchronizer
Allows blocking client log-in until all all futures passed into ServerLoginNetworking.LoginSynchronizer.waitFor(Future) are completed.
ServerPlayConnectionEvents
Offers access to events related to the connection to a client on a logical server while a client is in game.
ServerPlayConnectionEvents.Disconnect  
ServerPlayConnectionEvents.Init  
ServerPlayConnectionEvents.Join  
ServerPlayerEvents  
ServerPlayerEvents.AfterRespawn  
ServerPlayerEvents.CopyFrom  
ServerPlayNetworking
Offers access to play stage server-side networking functionalities.
ServerPlayNetworking.PlayChannelHandler  
ServerSidePacketRegistry Deprecated.
Please migrate to ServerPlayNetworking.
ServerStartCallback Deprecated.
ServerStopCallback Deprecated.
ServerTickCallback Deprecated.
ServerTickEvents  
ServerTickEvents.EndTick  
ServerTickEvents.EndWorldTick  
ServerTickEvents.StartTick  
ServerTickEvents.StartWorldTick  
ServerWorldEvents  
ServerWorldEvents.Load  
ServerWorldEvents.Unload  
SimpleResourceReloadListener<T>
A simplified version of the "resource reload listener" interface, hiding the peculiarities of the API.
SimpleSynchronousResourceReloadListener
A simplified version of the "resource reload listener" interface, hiding the peculiarities of the API and ensuring all data is loaded on the main thread.
SpriteFinder
Indexes a texture atlas to allow fast lookup of Sprites from baked vertex coordinates.
TagRegistry
Helper methods for registering Tags.
TheEndBiomes Deprecated.
Experimental feature, may be removed or changed without further notice.
ToolManager
API facing part to register tool handlers and get information about how tools are handled.
TradeOfferHelper
Utilities to help with registration of trade offers.
TriState
Represents a boolean value which can be true, false or refer to a default value.
UseBlockCallback
Callback for right-clicking ("using") a block.
UseEntityCallback
Callback for right-clicking ("using") an entity.
UseItemCallback
Callback for right-clicking ("using") an item.
ValidateableRule
A type of game rule which can validate an input.
VillagerProfessionBuilder
Allows for the creation of new VillagerProfessions.
VillagerTypeHelper
Utilities related to the creation of VillagerTypes.
WorldRenderContext
Except as noted below, the properties exposed here match the parameters passed to WorldRenderer.render(MatrixStack, float, long, boolean, Camera, GameRenderer, LightmapTextureManager, Matrix4f).
WorldRenderContext.BlockOutlineContext
Used in BLOCK_OUTLINE to convey the parameters normally sent to WorldRenderer.drawBlockOutline.
WorldRenderEvents
Mods should use these events to introduce custom rendering during WorldRenderer.render(net.minecraft.client.util.math.MatrixStack, float, long, boolean, net.minecraft.client.render.Camera, net.minecraft.client.render.GameRenderer, net.minecraft.client.render.LightmapTextureManager, net.minecraft.util.math.Matrix4f) without adding complicated and conflict-prone injections there.
WorldRenderEvents.AfterEntities  
WorldRenderEvents.AfterSetup  
WorldRenderEvents.AfterTranslucent  
WorldRenderEvents.BeforeBlockOutline  
WorldRenderEvents.BeforeEntities  
WorldRenderEvents.BlockOutline  
WorldRenderEvents.DebugRender  
WorldRenderEvents.End  
WorldRenderEvents.Last  
WorldRenderEvents.Start  
WorldTickCallback Deprecated.