All Classes and Interfaces
Class
Description
A network addon which is aware of the channels the other side may receive.
A network addon is a simple abstraction to hold information about a player's registered channels.
Advancement renderers allow for custom advancement icons, frames, and backgrounds
which render in the
advancements screen
and advancement toasts.Called after the background of an advancement tab renders.
Called after the frame of an advancement renders.
Called after the icon (display item) of an advancement renders.
Armor renderers render worn armor items with custom code.
A factory to create an
ArmorRenderer instance.Indicates that this
Event is auto-invoking:
it calls the event callback implemented by a context parameter type automatically and without registration.The registry for
BlockTintSources.Deprecated.
Replaced with transitive access wideners in Fabric Transitive Access Wideners (v1).
This class allows easy creation of
BlockSetTypes.Represents a function that accepts a boolean-valued argument and produces a result.
Offers access to events related to the indication of a connected client's ability to receive packets in certain channels.
Offers access to events related to the indication of a connected client's ability to receive packets in certain channels.
Callback for when client commands are registered to the dispatcher.
Manages client-sided commands and provides some related helper methods.
Offers access to events related to the configuration connection to a server on a logical client.
Deprecated.
replaced by
ClientConfigurationConnectionEvents.CompleteOffers access to configuration stage client-side networking functionalities.
A packet handler utilizing
CustomPacketPayload.Offers access to events related to the connection to a server on the client while the server is processing the client's login request.
Offers access to login stage client-side networking functionalities.
Offers access to events related to the connection to a server on a logical client.
Offers access to play stage client-side networking functionalities.
A thread-safe payload handler utilizing
CustomPacketPayload.Allows registering a mapping from
TooltipComponent to ClientTooltipComponent.The registry for custom
ColorResolvers.Callback for when a server registers all commands.
Contains methods for registering and accessing dynamic registries.
Flags for configuring dynamic registry syncing.
This event gets triggered before a dynamic registry is being loaded.
A view providing access to the registries that are currently being loaded.
Represents extra load data for an
Entity.Deprecated.
Replaced with transitive access wideners in Fabric Transitive Access Wideners (v1).
Helper class for registering EntityRenderers.
Contains a function to register an entity selector option.
Events related to a tracking entities within a player's view distance.
Base class for Fabric's event implementations.
Helper for creating
Event classes.Represents a result of an event that controls execution of some action.
General-purpose Fabric-provided extensions for
BlockEntityType.Use this builder to create a
BlockEntityType.Extensions to
SharedSuggestionProvider for client-sided commands.Allows registering custom default attributes for living entities.
Allows registering custom
EntityDataSerializers in a reliable way.Fabric extension to
EntitySelectorParser, implemented
using interface injection.General-purpose Fabric-provided extensions for
EntityType.General-purpose Fabric-provided extensions for
EntityType.Builder.A builder for additional properties of a living entity, use via
FabricEntityType.Builder.createLiving(EntityType.EntityFactory, MobCategory, UnaryOperator).A builder for additional properties of a mob entity, use via
FabricEntityType.Builder.createMob(EntityType.EntityFactory, MobCategory, UnaryOperator).Deprecated.
replace with
EntityType.BuilderDeprecated.
use
invalid reference
EntityType.Builder#createLiving(EntityType.EntityFactory, MobCategory, UnaryOperator)
Deprecated.
General purpose Fabric extensions to the
Model class.General-purpose Fabric-provided extensions for
Registry objects.Used to create custom registries, with specified registry attributes.
General purpose Fabric extensions to the
RenderPipeline class.General purpose Fabric extensions to the
RenderPipeline.Builder class.General purpose Fabric extensions to the
RenderPipeline.Snippet class.Fabric-provided extensions for render states, allowing for the addition of extra render data.
Fabric-provided extensions for
ServerConfigurationPacketListenerImpl.Helper methods for working with and creating
FriendlyByteBufs.A marker interface that tracks the current
ServerChunkEvents.FULL_CHUNK_STATUS_CHANGE full chunk status for a given chunk.Represents a mod added
Gui element that can be rendered on the screen.A registry of identified hud layers with methods to add layers in specific positions.
An element that wraps a vanilla element using a list, allowing for users to attach layers before or after it, replace it, or remove it.
A registry for
StatusBarHeightProvider instances, known as height providers.Returns the sum of all registered provider heights that are considered "below" the position of the element
associated with the given
HudElement.Called when the level renderer reloads, usually as result of changing resource pack
or video configuration, or when the player types F3+A in the debug screen.
Helper for registering
KeyMappings.Deprecated, for removal: This API element is subject to removal in a future version.
Mods should use these events to introduce custom rendering during
LevelRenderer.renderLevel(GraphicsResourceAllocator, DeltaTracker, boolean, CameraRenderState, Matrix4fc, GpuBufferSlice, Vector4f, boolean, ChunkSectionsToRender)
without adding complicated and conflict-prone injections there.Events related to living entity
RenderLayers.Called when
render layers for a living entity renderer are registered.A delegate object used to help register render layers for an entity renderer.
A simple marker interface which holds references to chunks which block entities may be loaded or unloaded from.
Represents something that supports sending packets to login channels.
Provides custom comparator output for minecarts resting on detector rails.
A registry for custom minecart comparator logic.
A helpers for registering model layers and providers for the layer's definition.
Deprecated.
Use the constants in
Tag instead.Contains a topological sort implementation, with tie breaking using a
Comparator.This class allow to easily pass context between multiple packet listeners and packet serialization.
This interface is used as a way to retrieve
PacketContext from Connection and PacketListeners.Represents something that supports sending packets to channels.
A fake packet implementation used to pass already encoded data from
FabricPacketSplitter to PacketEncoder.A registry for payload types.
Allows registering picture-in-picture renderers,
used to render custom gui elements beyond the methods available in
GuiGraphics.A factory to create a new
PictureInPictureRenderer instance.Helper methods to lookup players in a server.
This class provides utilities to create a
PoiType.An event for when an entry is added to a registry.
The remapping process functions as follows:
RegistryEntryRemovedCallbacks are called to remove any objects culled in the process, with the old numeric ID.
A more optimized method to sync registry ids to client.
The mode the remapping process should take.
A unique key representing extra data to attach to a render state.
Offers access to events related to the indication of a connected server's ability to receive packets in certain channels.
Offers access to events related to the indication of a connected server's ability to receive packets in certain channels.
Offers access to events related to the connection to a client on a logical server while a client is configuring.
Offers access to configuration stage server-side networking functionalities.
A packet handler utilizing
CustomPacketPayload.Offers access to events related to the connection to a client on a logical server while a client is logging in.
Offers access to login stage server-side networking functionalities.
Allows blocking client log-in until all futures passed into
ServerLoginNetworking.LoginSynchronizer.waitFor(Future) are completed.Offers access to events related to the connection to a client on a logical server while a client is in game.
Offers access to play stage server-side networking functionalities.
A thread-safe packet handler utilizing
CustomPacketPayload.Contains events that are triggered on the server every tick.
A registry for custom
SpriteSources.Define the vertical space occupied by HUD elements, known as status bars, which are positioned on the left and right
sides above the player's hotbar.
A model that copies transforms from a source model to a delegate model.
Represents a boolean value which can be true, false or refer to a default value.
A hud element that has an identifier attached for use in
HudElementRegistry.This class allows easy creation of
WoodTypes.