Index

A B C D E F G H I J K L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values

A

abort() - Method in interface net.fabricmc.fabric.api.transfer.v1.transaction.Transaction
Close the current transaction, rolling back all the changes that happened during this transaction and the transactions opened with Transaction.openNested(TransactionContext) from this transaction.
ABORTED - Enum constant in enum class net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.Result
 
AbstractLevelRenderContext - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
accept(ItemStack, CreativeModeTab.TabVisibility) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
Adds a stack to the end of the creative mode tab.
ACCEPTABLE - Enum constant in enum class net.fabricmc.fabric.api.item.v1.EnchantingContext
When checking if an item is acceptable for a given enchantment, i.e if the item should be able to bear that enchantment.
acceptor - Variable in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
add(String, int) - Method in interface net.fabricmc.fabric.api.datagen.v1.JsonKeySortOrderCallback
Sets the sort priority for a given object key within generated JSON files.
add(String, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
Adds a translation.
add(Path) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
Merges an existing language file into the generated language file.
add(Collection) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootPoolBuilder
Adds entries to this builder.
add(ModificationPhase, Predicate, BiConsumer) - Method in class net.fabricmc.fabric.api.biome.v1.BiomeModification
Adds a modifier that is sensitive to the current state of the biome when it is applied.
add(ModificationPhase, Predicate, Consumer) - Method in class net.fabricmc.fabric.api.biome.v1.BiomeModification
Adds a modifier that is not sensitive to the current state of the biome when it is applied, examples for this are modifiers that simply add or remove features unconditionally, or change other values to constants.
add(Holder.Reference) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
Adds a new object to be data generated.
add(Holder.Reference, ResourceCondition...) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
Adds a new object to be data generated with several resource conditions.
add(Holder, SoundTypeBuilder) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.provider.FabricSoundsProvider.SoundExporter
Adds a sound event.
add(Holder, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
Adds a translation for an Attribute.
add(HolderLookup.RegistryLookup, ResourceKey) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
Adds a new ResourceKey from a given HolderLookup.RegistryLookup to be data generated.
add(HolderLookup.RegistryLookup, ResourceKey, ResourceCondition...) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
Adds a new ResourceKey from a given HolderLookup.RegistryLookup to be data generated.
add(Identifier) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.AliasGroupBuilder
 
add(Identifier...) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.AliasGroupBuilder
 
add(Identifier, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
Adds a translation for an Identifier.
add(Identifier, SoundTypeBuilder) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.provider.FabricSoundsProvider.SoundExporter
Adds a sound event.
add(ResourceKey, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
Adds a translation for an CreativeModeTab.
add(ResourceKey, T) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
Adds a new object to be data generated.
add(ResourceKey, T, ResourceCondition...) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
Adds a new object to be data generated with several resource conditions.
add(SoundEvent, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
Adds a subtitle translation for a SoundEvent of the form subtitles.<namespace>.<path>.
add(SoundEvent, SoundTypeBuilder) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.provider.FabricSoundsProvider.SoundExporter
Adds a sound event.
add(StatType, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
Adds a translation for a StatType.
add(TagKey, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
Adds a translation for a TagKey.
add(TagKey, V) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
 
add(TagKey, int, int) - Method in interface net.fabricmc.fabric.api.registry.FlammableBlockRegistry
 
add(TagKey, V) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
 
add(TagKey) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.AliasGroupBuilder
 
add(TagKey...) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.AliasGroupBuilder
 
add(MobEffect, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
Adds a translation for a MobEffect.
add(EntityType, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
Adds a translation for an EntityType.
add(Item, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
Adds a translation for an Item.
add(Block, int, int) - Method in interface net.fabricmc.fabric.api.registry.FlammableBlockRegistry
 
add(Block, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
Adds a translation for a Block.
add(Block, V) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
 
add(ItemLike, V) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
 
add(LootPoolEntryContainer) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootPoolBuilder
Adds an entry to this builder.
addAfter(DataComponentType, DataComponentType) - Static method in interface net.fabricmc.fabric.api.item.v1.ItemComponentTooltipProviderRegistry
Adds the specified item component type to the list of tooltip providers so that it will render after the tooltip provider associated with the specified anchor component type.
addAlias(Identifier, Identifier) - Method in interface net.fabricmc.fabric.api.event.registry.FabricRegistry
Adds an alias for an entry in this registry.
addAll(HolderLookup.RegistryLookup) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
All the holders whose namespace matches the current effective mod ID will be data generated.
addAll(EnvironmentAttributeMap) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.AttributesContext
 
addAll(EnvironmentAttributeMap.Builder) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.AttributesContext
 
addAttribute(RegistryAttribute) - Method in interface net.fabricmc.fabric.api.event.registry.RegistryAttributeHolder
 
addBarrensBiome(ResourceKey, ResourceKey, double) - Static method in class net.fabricmc.fabric.api.biome.v1.TheEndBiomes
Adds the biome as an end barrens of the parent end highlands biome.
addBefore(DataComponentType, DataComponentType) - Static method in interface net.fabricmc.fabric.api.item.v1.ItemComponentTooltipProviderRegistry
Adds the specified item component type to the list of tooltip providers so that it will render before the tooltip provider associated with the specified anchor component type.
addBlock(Block) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder
Adds a supported block for the block entity type.
addBlocks(Collection) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder
Adds supported blocks for the block entity type.
addBlocks(Block...) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder
Adds supported blocks for the block entity type.
addCarver(Predicate, ResourceKey) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeModifications
Convenience method to add a carver to one or more biomes.
addCarver(ResourceKey) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Adds a configured world carver to this biome.
addCloseCallback(TransactionContext.CloseCallback) - Method in interface net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext
Register a callback that will be invoked when this transaction is closed.
addEnchantment(ResourceKey, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
Adds a translation for an Enchantment.
addFeature(Predicate, GenerationStep.Decoration, ResourceKey) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeModifications
Convenience method to add a feature to one or more biomes.
addFeature(GenerationStep.Decoration, ResourceKey) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Adds a feature to one of this biomes generation steps, identified by the placed feature's resource key.
addFirst(DataComponentType) - Static method in interface net.fabricmc.fabric.api.item.v1.ItemComponentTooltipProviderRegistry
Adds the specified item component type to the list of tooltip providers to be called first.
addFirst(Identifier, HudElement) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.hud.HudElementRegistry
Adds an element to the front.
addHighlandsBiome(ResourceKey, double) - Static method in class net.fabricmc.fabric.api.biome.v1.TheEndBiomes
Adds the biome as an end highlands biome with the specified weight.
ADDITIONS - Enum constant in enum class net.fabricmc.fabric.api.biome.v1.ModificationPhase
The appropriate phase for enriching biomes by adding to them without relying on other information in the biome, or removing other features.
addJsonKeySortOrders(JsonKeySortOrderCallback) - Method in interface net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint
Provides a callback for setting the sort priority of object keys in generated JSON files.
addLast(DataComponentType) - Static method in interface net.fabricmc.fabric.api.item.v1.ItemComponentTooltipProviderRegistry
Adds the specified item component type to the list of tooltip providers to be called last.
addLast(Identifier, HudElement) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.hud.HudElementRegistry
Adds an element to the end.
addLeft(Identifier, StatusBarHeightProvider) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.hud.HudStatusBarHeightRegistry
Adds a height provider for a status bar on the left side above the hotbar.
addListenerOrdering(Identifier, Identifier) - Method in interface net.fabricmc.fabric.api.resource.v1.ResourceLoader
Requests that reload listeners registered as the first identifier is applied before the other referenced reload listener.
addMainIslandBiome(ResourceKey, double) - Static method in class net.fabricmc.fabric.api.biome.v1.TheEndBiomes
Adds the biome as a main end island biome with the specified weight; note that this includes the main island and some of the land encircling the empty space.
addMidlandsBiome(ResourceKey, ResourceKey, double) - Static method in class net.fabricmc.fabric.api.biome.v1.TheEndBiomes
Adds the biome as an end midlands of the parent end highlands biome.
addMobCharge(EntityType, double, double) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.MobSpawnSettingsContext
Associated JSON property: spawn_costs.
addNetherBiome(ResourceKey, Climate.ParameterPoint) - Static method in class net.fabricmc.fabric.api.biome.v1.NetherBiomes
Adds a biome to the Nether generator.
addNetherBiome(ResourceKey, Climate.TargetPoint) - Static method in class net.fabricmc.fabric.api.biome.v1.NetherBiomes
Adds a biome to the Nether generator.
addOuterCloseCallback(TransactionContext.OuterCloseCallback) - Method in interface net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext
Register a callback that will be invoked after the outermost transaction is closed, and after callbacks registered with TransactionContext.addCloseCallback(TransactionContext.CloseCallback) are ran.
addPhaseOrdering(Identifier, Identifier) - Method in class net.fabricmc.fabric.api.event.Event
Request that listeners registered for one phase be executed before listeners registered for another phase.
addProvider(FabricDataGenerator.Pack.Factory) - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator.Pack
Registers a constructor of DataProvider which takes a FabricPackOutput.
addProvider(FabricDataGenerator.Pack.RegistryDependentFactory) - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator.Pack
Registers a constructor of DataProvider which takes a FabricPackOutput and the registries.
addReloadListener(IdentifiableResourceReloadListener) - Method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
addRight(Identifier, StatusBarHeightProvider) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.hud.HudStatusBarHeightRegistry
Adds a height provider for a status bar on the right side above the hotbar.
addSmallIslandsBiome(ResourceKey, double) - Static method in class net.fabricmc.fabric.api.biome.v1.TheEndBiomes
Adds a custom biome as a small end islands biome with the specified weight; small end island biomes make up the smaller islands in between the larger islands of the end.
addSpawn(Predicate, MobCategory, EntityType, int, int, int) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeModifications
Convenience method to add an entity spawn to one or more biomes.
addSpawn(MobCategory, MobSpawnSettings.SpawnerData, int) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.MobSpawnSettingsContext
Associated JSON property: spawners.
addTags(HolderLookup.Provider) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider
Implement this method and then use FabricTagsProvider.builder(TagKey) to get and register new tag builders.
addTask(ConfigurationTask) - Method in interface net.fabricmc.fabric.api.networking.v1.FabricServerConfigurationPacketListenerImpl
Enqueues a ConfigurationTask to be processed.
addValidBlock(Block) - Method in interface net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityType
Adds a block to the list of blocks that this block entity type can be used with.
adjustSettings(Consumer) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.world.TestWorldBuilder
Adjusts the world settings from the default.
advancement() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext
The advancement being rendered.
ADVANCEMENT_LOADER_KEY - Static variable in interface net.fabricmc.fabric.api.resource.v1.DataResourceLoader
The reload listener state key for the advancement loader.
AdvancementRenderContext - Interface in net.fabricmc.fabric.api.client.rendering.v1.advancement
 
AdvancementRenderContext.Background - Interface in net.fabricmc.fabric.api.client.rendering.v1.advancement
 
AdvancementRenderContext.Frame - Interface in net.fabricmc.fabric.api.client.rendering.v1.advancement
 
AdvancementRenderContext.Icon - Interface in net.fabricmc.fabric.api.client.rendering.v1.advancement
 
AdvancementRenderer - Class in net.fabricmc.fabric.api.client.rendering.v1.advancement
Advancement renderers allow for custom advancement icons, frames, and backgrounds which render in the advancements screen and advancement toasts.
AdvancementRenderer.BackgroundRenderer - Interface in net.fabricmc.fabric.api.client.rendering.v1.advancement
Called after the background of an advancement tab renders.
AdvancementRenderer.FrameRenderer - Interface in net.fabricmc.fabric.api.client.rendering.v1.advancement
Called after the frame of an advancement renders.
AdvancementRenderer.IconRenderer - Interface in net.fabricmc.fabric.api.client.rendering.v1.advancement
Called after the icon (display item) of an advancement renders.
ADVANCEMENTS - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
Deprecated.
 
ADVANCEMENTS - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Server
 
AFTER - Static variable in class net.fabricmc.fabric.api.event.client.player.ClientPlayerBlockBreakEvents
Callback after a block is broken client side.
AFTER - Static variable in class net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents
Callback after a block is broken server side.
AFTER_ADD - Static variable in class net.fabricmc.fabric.api.entity.event.v1.effect.ServerMobEffectEvents
An event that is called after an effect is added.
AFTER_BLOCK_OUTLINE_EXTRACTION - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents
Called after the block outline render state is extracted, before it is drawn.
AFTER_CLIENT_LEVEL_CHANGE - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLevelEvents
An event which is called after the client level has been changed.
AFTER_DAMAGE - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents
An event that is called after an entity is damaged.
AFTER_DEATH - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents
An event that is called when a living entity dies.
AFTER_ENTITY_CHANGE_LEVEL - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerEntityLevelChangeEvents
An event which is called after an entity has been moved to a different level.
AFTER_INIT - Static variable in class net.fabricmc.fabric.api.client.screen.v1.ScreenEvents
An event that is called after a screen is initialized to its default state.
AFTER_KILLED_OTHER_ENTITY - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerEntityCombatEvents
An event that is called after an entity is directly responsible for killing another entity.
AFTER_OPAQUE_TERRAIN - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents
Called after opaque terrain is drawn to the appropriate framebuffers, and before any submit nodes are added to the submit node storage.
AFTER_PLAYER_CHANGE_LEVEL - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerEntityLevelChangeEvents
An event which is called after a player has been moved to a different level.
AFTER_REMOVE - Static variable in class net.fabricmc.fabric.api.entity.event.v1.effect.ServerMobEffectEvents
An event that is called after an effect is removed.
AFTER_RESPAWN - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents
An event that is called after a player has been respawned.
AFTER_SAVE - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents
Called after a Minecraft server finishes saving data.
AFTER_SOLID_FEATURES - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents
Called after the solid geometry of submits collected from entities, block entities, and particles are drawn to the appropriate framebuffers.
AFTER_TRANSLUCENT_FEATURES - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents
Called after the translucent geometry of submits collected from entities and block entities are drawn to the appropriate framebuffers.
AFTER_TRANSLUCENT_TERRAIN - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents
Called after terrain, entities, block entities, solid particles, overlays, and gizmos are drawn to the appropriate framebuffers, and before translucent particles are drawn to the appropriate framebuffers.
AFTER_VANILLA - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys
Represents the application phase after Vanilla reload listeners are invoked.
afterAdd(MobEffectInstance, LivingEntity, EffectEventContext) - Method in interface net.fabricmc.fabric.api.entity.event.v1.effect.ServerMobEffectEvents.AfterAdd
Called after an effect is added.
afterBackground(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenEvents
An event that is called after a screen's background is rendered.
afterBackground(Screen, GuiGraphics, int, int, float) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.AfterBackground
 
afterBlockBreak(ClientLevel, LocalPlayer, BlockPos, BlockState) - Method in interface net.fabricmc.fabric.api.event.client.player.ClientPlayerBlockBreakEvents.After
Called after a block is successfully broken.
afterBlockBreak(Level, Player, BlockPos, BlockState, BlockEntity) - Method in interface net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents.After
Called after a block is successfully broken.
afterBlockOutlineExtraction(LevelExtractionContext, HitResult) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents.AfterBlockOutlineExtraction
 
afterChangeLevel(ServerPlayer, ServerLevel, ServerLevel) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerEntityLevelChangeEvents.AfterPlayerChange
Called after a player has been moved to different level.
afterChangeLevel(Entity, Entity, ServerLevel, ServerLevel) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerEntityLevelChangeEvents.AfterEntityChange
Called after an entity has been recreated at the destination when being moved to a different level.
afterDamage(LivingEntity, DamageSource, float, float, boolean) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents.AfterDamage
Called after a living entity took damage, unless they were killed.
afterDeath(LivingEntity, DamageSource) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents.AfterDeath
Called when a living entity dies.
afterInit(Minecraft, Screen, int, int) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.AfterInit
 
afterKeyPress(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenKeyboardEvents
An event that is called after a key press is processed for a screen.
afterKeyPress(Screen, KeyEvent) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenKeyboardEvents.AfterKeyPress
Called after a key press is handled.
afterKeyRelease(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenKeyboardEvents
An event that is called after the release a key is processed for a screen.
afterKeyRelease(Screen, KeyEvent) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenKeyboardEvents.AfterKeyRelease
Called after a pressed key has been released.
afterKilledOtherEntity(ServerLevel, Entity, LivingEntity, DamageSource) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerEntityCombatEvents.AfterKilledOtherEntity
Called after an entity has killed another entity.
afterLevelChange(Minecraft, ClientLevel) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLevelEvents.AfterClientLevelChange
Called after the client level has been changed.
afterMouseClick(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents
An event that is called after a mouse click is processed for a screen.
afterMouseClick(Screen, MouseButtonEvent, boolean) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.AfterMouseClick
Called after a mouse click in a screen.
afterMouseDrag(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents
An event called after mouse dragging is processed for a screen.
afterMouseDrag(Screen, MouseButtonEvent, double, double, boolean) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.AfterMouseDrag
Called after a mouse is dragged on screen.
afterMouseRelease(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents
An event that is called after the release of a mouse click is processed for a screen.
afterMouseRelease(Screen, MouseButtonEvent, boolean) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.AfterMouseRelease
Called after a mouse click has released in a screen.
afterMouseScroll(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents
An event called after mouse scrolling is processed for a screen.
afterMouseScroll(Screen, double, double, double, double, boolean) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.AfterMouseScroll
Called after a mouse has scrolled on screen.
afterOpaqueTerrain(LevelTerrainRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents.AfterOpaqueTerrain
 
afterOuterClose(TransactionContext.Result) - Method in class net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
 
afterOuterClose(TransactionContext.Result) - Method in interface net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.OuterCloseCallback
Perform an action after the top-level transaction is closed.
afterRemove(MobEffectInstance, LivingEntity, EffectEventContext) - Method in interface net.fabricmc.fabric.api.entity.event.v1.effect.ServerMobEffectEvents.AfterRemove
Called after an effect is removed.
afterRender(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenEvents
An event that is called after a screen is rendered.
afterRender(Screen, GuiGraphics, int, int, float) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.AfterRender
 
afterRespawn(ServerPlayer, ServerPlayer, boolean) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents.AfterRespawn
Called after player a has been respawned.
afterSolidFeatures(LevelRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents.AfterSolidFeatures
 
afterTick(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenEvents
An event that is called after a screen is ticked.
afterTick(Screen) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.AfterTick
 
afterTranslucentFeatures(LevelRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents.AfterTranslucentFeatures
 
afterTranslucentTerrain(LevelRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents.AfterTranslucentTerrain
 
AIR_BAR - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the player air level bar.
aliasGroup(String) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider
Gets an FabricTagsProvider<T>.AliasGroupBuilder with the given ID.
aliasGroup(Identifier) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider
Gets an FabricTagsProvider<T>.AliasGroupBuilder with the given ID.
all() - Static method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentSyncPredicate
 
all() - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Matches all Biomes.
all(MinecraftServer) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
Gets all the players on the minecraft server.
all(Ingredient...) - Static method in class net.fabricmc.fabric.api.recipe.v1.ingredient.DefaultCustomIngredients
Creates an ingredient that matches when its sub-ingredients all match.
ALL_LOADED - Static variable in class net.fabricmc.fabric.api.loot.v3.LootTableEvents
This event can be used for post-processing after all loot tables have been loaded and modified by Fabric.
allButTarget() - Static method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentSyncPredicate
 
allEntries(Registry, Consumer) - Static method in interface net.fabricmc.fabric.api.event.registry.RegistryEntryAddedCallback
Register a callback for all present and future entries in the registry.
allModsLoaded(String...) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
A condition that passes if each of the specified modIds are loaded.
ALLOW - Enum constant in enum class net.fabricmc.fabric.api.util.EventResult
Prevents further event handling, while allowing related action.
ALLOW - Static variable in class net.fabricmc.fabric.api.entity.event.v1.EntityElytraEvents
An event to check if elytra flight (both through normal and custom elytras) is allowed.
ALLOW_ADD - Static variable in class net.fabricmc.fabric.api.entity.event.v1.effect.ServerMobEffectEvents
An event that checks whether an effect may be added.
ALLOW_BED - Static variable in class net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents
An event that is called to check whether a block is valid for sleeping.
ALLOW_CAPE_RENDER - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.LivingEntityFeatureRenderEvents
An event that can prevent capes from rendering.
ALLOW_CHAT - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents
An event triggered when the client receives a chat message, which is any message sent by a player.
ALLOW_CHAT - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents
An event triggered when the client is about to send a chat message, typically from a client GUI.
ALLOW_CHAT_MESSAGE - Static variable in class net.fabricmc.fabric.api.message.v1.ServerMessageEvents
An event triggered when the server broadcasts a chat message sent by a player, typically from a client GUI or a player-executed command.
ALLOW_COMMAND - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents
An event triggered when the client is about to send a command, which is whenever the player executes a command including client commands registered with fabric-command-api.
ALLOW_COMMAND_MESSAGE - Static variable in class net.fabricmc.fabric.api.message.v1.ServerMessageEvents
An event triggered when the server broadcasts a command message to all players, such as one from /me and /say (but not ones that specify the recipients like /msg).
ALLOW_DAMAGE - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents
An event that is called when a living entity is going to take damage.
ALLOW_DEATH - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents
An event that is called when an entity takes fatal damage.
ALLOW_DEATH - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents
Deprecated.
Use the more general ServerLivingEntityEvents.ALLOW_DEATH event instead and check for instanceof ServerPlayer.
ALLOW_EARLY_REMOVE - Static variable in class net.fabricmc.fabric.api.entity.event.v1.effect.ServerMobEffectEvents
An event that checks whether an effect may be removed.
ALLOW_ENCHANTING - Static variable in class net.fabricmc.fabric.api.item.v1.EnchantmentEvents
An event that allows overriding whether an Enchantment can be applied to an ItemStack.
ALLOW_GAME - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents
An event triggered when the client receives a game message, which is any message sent by the server.
ALLOW_GAME_MESSAGE - Static variable in class net.fabricmc.fabric.api.message.v1.ServerMessageEvents
An event triggered when the server broadcasts a game message to all players.
ALLOW_NEARBY_MONSTERS - Static variable in class net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents
An event that checks whether players can sleep when monsters are nearby.
ALLOW_RESETTING_TIME - Static variable in class net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents
An event that checks whether a sleeping player counts into skipping the current day and resetting the time to 0.
ALLOW_SETTING_SPAWN - Static variable in class net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents
An event that checks whether a player's spawn can be set when sleeping.
ALLOW_SLEEPING - Static variable in class net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents
An event that checks whether a player can start to sleep in a bed-like block.
ALLOW_TERRAIN_PARTICLE_TINT - Static variable in class net.fabricmc.fabric.api.client.particle.v1.ParticleRenderEvents
An event that checks if a terrain particle can be tinted using the corresponding block's BlockTintSource.
allowAction() - Method in enum class net.fabricmc.fabric.api.util.EventResult
Checks whatever action should be allowed.
allowAction(boolean) - Method in enum class net.fabricmc.fabric.api.util.EventResult
Checks whatever action should be allowed, with custom return value for EventResult.PASS.
allowAdd(MobEffectInstance, LivingEntity, EffectEventContext) - Method in interface net.fabricmc.fabric.api.entity.event.v1.effect.ServerMobEffectEvents.AllowAdd
Checks whether an effect may be added.
allowBed(LivingEntity, BlockPos, BlockState, boolean) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents.AllowBed
Checks whether a block is a valid bed for the entity.
allowCapeRender(AvatarRenderState) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.LivingEntityFeatureRenderEvents.AllowCapeRender
 
allowChatMessage(PlayerChatMessage, ServerPlayer, ChatType.Bound) - Method in interface net.fabricmc.fabric.api.message.v1.ServerMessageEvents.AllowChatMessage
Called when the server broadcasts a chat message sent by a player, typically from a client GUI or a player-executed command.
allowCommandMessage(PlayerChatMessage, CommandSourceStack, ChatType.Bound) - Method in interface net.fabricmc.fabric.api.message.v1.ServerMessageEvents.AllowCommandMessage
Called when the server broadcasts a command message to all players, such as one from /me and /say (but not ones that specify the recipients like /msg).
allowComponentsUpdateAnimation(Player, InteractionHand, ItemStack, ItemStack) - Method in interface net.fabricmc.fabric.api.item.v1.FabricItem
When the components of an item stack in the main hand or off hand changes, vanilla runs an "update animation".
allowContinuingBlockBreaking(Player, ItemStack, ItemStack) - Method in interface net.fabricmc.fabric.api.item.v1.FabricItem
When the components of the selected stack changes, block breaking progress is reset.
allowDamage(LivingEntity, DamageSource, float) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents.AllowDamage
Called when a living entity is going to take damage.
allowDeath(ServerPlayer, DamageSource, float) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents.AllowDeath
Deprecated.
Called when a player takes fatal damage (before totems of undying can take effect).
allowDeath(LivingEntity, DamageSource, float) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents.AllowDeath
Called when a living entity takes fatal damage (before totems of undying can take effect).
allowEarlyRemove(MobEffectInstance, LivingEntity, EffectEventContext) - Method in interface net.fabricmc.fabric.api.entity.event.v1.effect.ServerMobEffectEvents.AllowEarlyRemove
Checks whether an effect may be removed early.
allowElytraFlight(LivingEntity) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntityElytraEvents.Allow
 
allowEnchanting(Holder, ItemStack, EnchantingContext) - Method in interface net.fabricmc.fabric.api.item.v1.EnchantmentEvents.AllowEnchanting
Checks whether an Enchantment should be applied to a given ItemStack.
allowGameMessage(MinecraftServer, Component, boolean) - Method in interface net.fabricmc.fabric.api.message.v1.ServerMessageEvents.AllowGameMessage
Called when the server broadcasts a game message to all players.
allowKeyPress(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenKeyboardEvents
An event that checks if a key press should be allowed.
allowKeyPress(Screen, KeyEvent) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenKeyboardEvents.AllowKeyPress
Checks if a key should be allowed to be pressed.
allowKeyRelease(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenKeyboardEvents
An event that checks if a pressed key should be allowed to release.
allowKeyRelease(Screen, KeyEvent) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenKeyboardEvents.AllowKeyRelease
Checks if a pressed key should be allowed to be released.
allowMouseClick(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents
An event that checks if the mouse click should be allowed.
allowMouseClick(Screen, MouseButtonEvent) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.AllowMouseClick
Checks if the mouse click should be allowed in a screen.
allowMouseDrag(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents
An event that checks if the mouse should be allowed to drag in a screen.
allowMouseDrag(Screen, MouseButtonEvent, double, double) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.AllowMouseDrag
Checks if the mouse should be allowed to drag in a screen by moving the cursor while a mouse button is held down.
allowMouseRelease(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents
An event that checks if the mouse click should be allowed to release in a screen.
allowMouseRelease(Screen, MouseButtonEvent) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.AllowMouseRelease
Checks if the mouse click should be allowed to release in a screen.
allowMouseScroll(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents
An event that checks if the mouse should be allowed to scroll in a screen.
allowMouseScroll(Screen, double, double, double, double) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.AllowMouseScroll
Checks if the mouse should be allowed to scroll in a screen.
allowNearbyMonsters(Player, BlockPos, boolean) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents.AllowNearbyMonsters
Checks whether a player can sleep when monsters are nearby.
allowReceiveChatMessage(Component, PlayerChatMessage, GameProfile, ChatType.Bound, Instant) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents.AllowChat
Called when the client receives a chat message, which is any message sent by a player.
allowReceiveGameMessage(Component, boolean) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents.AllowGame
Called when the client receives a game message, which is any message sent by the server.
allowResettingTime(Player) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents.AllowResettingTime
Checks whether a sleeping player counts into skipping the current day and resetting the time to 0.
allowSendChatMessage(String) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents.AllowChat
Called when the client is about to send a chat message, typically from a client GUI.
allowSendCommandMessage(String) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents.AllowCommand
Called when the client is about to send a command, which is whenever the player executes a command including client commands registered with fabric-command-api.
allowSettingSpawn(Player, BlockPos) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents.AllowSettingSpawn
Checks whether a player's spawn can be set when sleeping.
allowSleep(Player, BlockPos) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents.AllowSleeping
Checks whether a player can start sleeping in a bed-like block.
allowSleepTime(Player, BlockPos, boolean) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents.AllowSleepTime
Checks whether the current time of day is valid for sleeping.
allowTerrainParticleTint(BlockState, ClientLevel, BlockPos) - Method in interface net.fabricmc.fabric.api.client.particle.v1.ParticleRenderEvents.AllowTerrainParticleTint
Checks whether a terrain particle can be tinted using the corresponding block's BlockTintSource.
ALWAYS_ENABLED - Enum constant in enum class net.fabricmc.fabric.api.resource.ResourcePackActivationType
Deprecated.
Always enabled.
ALWAYS_ENABLED - Enum constant in enum class net.fabricmc.fabric.api.resource.v1.pack.PackActivationType
Always enabled.
alwaysTrue() - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
A condition that always passes.
alwaysUpdateVelocity(boolean) - Method in interface net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityType.Builder
Sets whether the entity's velocity should always be updated.
AMETHYST_GEMS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
amount - Variable in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
amount() - Method in record class net.fabricmc.fabric.api.transfer.v1.storage.base.ResourceAmount
Returns the value of the amount record component.
amountPerLevel - Variable in class net.fabricmc.fabric.api.transfer.v1.fluid.CauldronFluidContent
Amount in droplets for each level of CauldronFluidContent.levelProperty.
and(ResourceCondition...) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
A condition that passes if each of the conditions passes.
ANIMAL_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
All foods edible by animals excluding poisonous foods.
any(Ingredient...) - Static method in class net.fabricmc.fabric.api.recipe.v1.ingredient.DefaultCustomIngredients
Creates an ingredient that matches when any of its sub-ingredients matches.
anyModsLoaded(String...) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
A condition that passes if any of the specified modIds are loaded.
apiClass() - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
Return the API class of this lookup.
apiClass() - Method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
Returns the API class of this lookup.
apiClass() - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
Return the API class of this lookup.
ApiLookupMap<L> - Interface in net.fabricmc.fabric.api.lookup.v1.custom
A map meant to be used as the backing storage for custom ApiLookup instances, to implement a custom equivalent of BlockApiLookup#get.
ApiLookupMap.LookupConstructor<L> - Interface in net.fabricmc.fabric.api.lookup.v1.custom
 
ApiLookupMap.LookupFactory<L> - Interface in net.fabricmc.fabric.api.lookup.v1.custom
Deprecated, for removal: This API element is subject to removal in a future version.
ApiLookupMap.LookupConstructor should be used instead as it also passes the identifier.
ApiProviderMap<K,V> - Interface in net.fabricmc.fabric.api.lookup.v1.custom
A fast thread-safe copy-on-write map meant to be used as the backing storage for registered providers.
appendTooltip(FluidVariant, List, TooltipFlag) - Method in interface net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRenderHandler
Append additional tooltips to the passed list if additional information is contained in the fluid variant.
apply(boolean) - Method in interface net.fabricmc.fabric.api.util.BooleanFunction
Applies this function to the given argument.
apply(Collection) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootPoolBuilder
Applies loot functions to this builder.
apply(Collection) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootTableBuilder
Applies loot functions to this builder.
apply(LootItemFunction) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootPoolBuilder
Applies a function to this builder.
apply(LootItemFunction) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootTableBuilder
Applies a loot function to this builder.
apply(T, PreparableReloadListener.SharedState) - Method in class net.fabricmc.fabric.api.resource.v1.reloader.SimpleReloadListener
Synchronously applies prepared data to the game state.
apply(T, ResourceManager, Executor) - Method in interface net.fabricmc.fabric.api.resource.SimpleResourceReloadListener
Deprecated.
Synchronously apply loaded data to the game state.
applyAsInt(Player) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.hud.StatusBarHeightProvider
 
argument(String, ArgumentType) - Static method in class net.fabricmc.fabric.api.client.command.v2.ClientCommands
Creates a required argument builder.
argumentType - Variable in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
argumentType(ArgumentType) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.EnumRuleBuilder
 
argumentType(ArgumentType) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.BooleanRuleBuilder
 
argumentType(ArgumentType) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.DoubleRuleBuilder
 
argumentType(ArgumentType) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.IntegerRuleBuilder
 
argumentType(ArgumentType) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
Specifies the ArgumentType for the builder.
ArgumentTypeRegistry - Class in net.fabricmc.fabric.api.command.v2
 
ARMOR_BAR - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the player armor level bar.
ArmorRenderer - Interface in net.fabricmc.fabric.api.client.rendering.v1
Armor renderers render worn armor items with custom code.
ArmorRenderer.Factory - Interface in net.fabricmc.fabric.api.client.rendering.v1
A factory to create an ArmorRenderer instance.
ARMORS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
A tag containing all conventional armor tags.
around(ServerLevel, Vec3i, double) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
Gets all players around a position in a level.
around(ServerLevel, Vec3, double) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
Gets all players around a position in a level.
asClass() - Static method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Return a class instance of this interface with the desired generic type, to be used for easier registration with API lookups.
asRegistryAccess() - Method in interface net.fabricmc.fabric.api.event.registry.DynamicRegistryView
 
assertScreenshotContains(String) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Takes a screenshot, searches for the template image in that screenshot, and throws if it wasn't found.
assertScreenshotContains(TestScreenshotComparisonOptions) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Takes a screenshot, searches for a template image in that screenshot, and throws if it wasn't found.
assertScreenshotEquals(String) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Takes a screenshot, matches it against the template image, and throws if it doesn't match.
assertScreenshotEquals(TestScreenshotComparisonOptions) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Takes a screenshot, matches it against a template image, and throws if it doesn't match.
ATLAS - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
attachElementAfter(Identifier, Identifier, HudElement) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.hud.HudElementRegistry
Attaches an element after the element with the specified identifier.
attachElementBefore(Identifier, Identifier, HudElement) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.hud.HudElementRegistry
Attaches an element before the element with the specified identifier.
AttachmentRegistry - Class in net.fabricmc.fabric.api.attachment.v1
Class used to create and register AttachmentTypes.
AttachmentRegistry.Builder<A> - Interface in net.fabricmc.fabric.api.attachment.v1
A builder for creating AttachmentTypes with finer control over their properties.
AttachmentSyncPredicate - Interface in net.fabricmc.fabric.api.attachment.v1
A predicate that determines, for a specific attachment type, whether the data should be synchronized with a player's client, given the player's ServerPlayer and the AttachmentTarget the data is linked to.
AttachmentTarget - Interface in net.fabricmc.fabric.api.attachment.v1
Marks all objects on which data can be attached using AttachmentTypes.
AttachmentTarget.OnAttachedSet<A> - Interface in net.fabricmc.fabric.api.attachment.v1
 
AttachmentType<A> - Interface in net.fabricmc.fabric.api.attachment.v1
An attachment allows "attaching" arbitrary data to various game objects (entities, block entities, levels and chunks at the moment).
AttackBlockCallback - Interface in net.fabricmc.fabric.api.event.player
Callback for left-clicking ("attacking") a block.
AttackEntityCallback - Interface in net.fabricmc.fabric.api.event.player
Callback for left-clicking ("attacking") an entity.
attenuationDistance(int) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
Sets the attenuation block distance of the sound.
attribute(RegistryAttribute) - Method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
Add a RegistryAttribute to the registry.
AutoInvokingEvent - Annotation Interface in net.fabricmc.fabric.api.event
Indicates that this Event is auto-invoking: it calls the event callback implemented by a context parameter type automatically and without registration.
awardStat(Stat, int) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
 

B

backingStorage - Variable in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
 
BARRELS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
BARRELS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
baseSmeltTime() - Method in interface net.fabricmc.fabric.api.registry.FuelValueEvents.Context
Get the base smelt time for the fuel, for furnaces this defaults to 200.
Basic usage - Section in class net.fabricmc.fabric.api.event.registry.DynamicRegistries
 
BEETROOT_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BEETROOT_SEEDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BEETROOT_SOUP - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
Holds all fluids related to Beetroot Soup.
BEFORE - Static variable in class net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents
Callback before a block is broken.
BEFORE_ADD - Static variable in class net.fabricmc.fabric.api.entity.event.v1.effect.ServerMobEffectEvents
An event that is called before an effect is added.
BEFORE_BLOCK_OUTLINE - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents
Called after block outline render checks are made and before the default block outline is drawn to the appropriate framebuffers.
BEFORE_CONFIGURE - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationConnectionEvents
Event fired before any vanilla configuration has taken place.
BEFORE_GIZMOS - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents
Called after all geometry of submits collected from entities, block entities, and particles (except translucent particle geometry), the block breaking overlay, and the block outline for solid blocks are drawn to the appropriate framebuffers, and before gizmos are collected.
BEFORE_INIT - Static variable in class net.fabricmc.fabric.api.client.screen.v1.ScreenEvents
An event that is called before a screen is initialized to its default state.
BEFORE_REMOVE - Static variable in class net.fabricmc.fabric.api.entity.event.v1.effect.ServerMobEffectEvents
An event that is called before an effect is removed.
BEFORE_SAVE - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents
Called before a Minecraft server begins saving data.
BEFORE_TRANSLUCENT_TERRAIN - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents
Called after opaque terrain, entities, block entities, solid particles, overlays, and gizmos are drawn to the appropriate framebuffers, and before translucent terrain and translucent particles are drawn to the appropriate framebuffers.
BEFORE_VANILLA - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys
Represents the application phase before Vanilla reload listeners are invoked.
beforeAdd(MobEffectInstance, LivingEntity, EffectEventContext) - Method in interface net.fabricmc.fabric.api.entity.event.v1.effect.ServerMobEffectEvents.BeforeAdd
Called before an effect is added.
beforeBlockBreak(Level, Player, BlockPos, BlockState, BlockEntity) - Method in interface net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents.Before
Called before a block is broken and allows cancelling the block breaking.
beforeBlockOutline(LevelRenderContext, BlockOutlineRenderState) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents.BeforeBlockOutline
 
beforeGizmos(LevelRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents.BeforeGizmos
 
beforeInit(Minecraft, Screen, int, int) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.BeforeInit
 
beforeKeyPress(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenKeyboardEvents
An event that is called before a key press is processed for a screen.
beforeKeyPress(Screen, KeyEvent) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenKeyboardEvents.BeforeKeyPress
Called before a key press is handled.
beforeKeyRelease(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenKeyboardEvents
An event that is called after the release of a key is processed for a screen.
beforeKeyRelease(Screen, KeyEvent) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenKeyboardEvents.BeforeKeyRelease
Called before a pressed key has been released.
beforeMouseClick(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents
An event that is called before a mouse click is processed for a screen.
beforeMouseClick(Screen, MouseButtonEvent) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.BeforeMouseClick
Called before a mouse click in a screen.
beforeMouseDrag(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents
An event called after mouse dragging is processed for a screen.
beforeMouseDrag(Screen, MouseButtonEvent, double, double) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.BeforeMouseDrag
Called before a mouse is dragged on screen.
beforeMouseRelease(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents
An event that is called before the release of a mouse click is processed for a screen.
beforeMouseRelease(Screen, MouseButtonEvent) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.BeforeMouseRelease
Called before a mouse click has released in a screen.
beforeMouseScroll(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents
An event called before mouse scrolling is processed for a screen.
beforeMouseScroll(Screen, double, double, double, double) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.BeforeMouseScroll
Called before a mouse has scrolled on screen.
beforeRemove(MobEffectInstance, LivingEntity, EffectEventContext) - Method in interface net.fabricmc.fabric.api.entity.event.v1.effect.ServerMobEffectEvents.BeforeRemove
Called before an effect is removed.
beforeRender(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenEvents
An event that is called before a screen is rendered.
beforeRender(Screen, GuiGraphics, int, int, float) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.BeforeRender
 
beforeTick(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenEvents
An event that is called before a screen is ticked.
beforeTick(Screen) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.BeforeTick
 
beforeTranslucentTerrain(LevelRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents.BeforeTranslucentTerrain
 
BERRY_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Strawberries, raspberries, and other berry foods belong in this tag.
BiomeModification - Class in net.fabricmc.fabric.api.biome.v1
Provides methods for modifying biomes.
BiomeModification(Identifier) - Constructor for class net.fabricmc.fabric.api.biome.v1.BiomeModification
 
BiomeModificationContext - Interface in net.fabricmc.fabric.api.biome.v1
Allows Biome properties to be modified.
BiomeModificationContext.AttributesContext - Interface in net.fabricmc.fabric.api.biome.v1
 
BiomeModificationContext.EffectsContext - Interface in net.fabricmc.fabric.api.biome.v1
 
BiomeModificationContext.GenerationSettingsContext - Interface in net.fabricmc.fabric.api.biome.v1
 
BiomeModificationContext.MobSpawnSettingsContext - Interface in net.fabricmc.fabric.api.biome.v1
 
BiomeModificationContext.WeatherContext - Interface in net.fabricmc.fabric.api.biome.v1
 
BiomeModifications - Class in net.fabricmc.fabric.api.biome.v1
Provides an API to modify Biomes after they have been loaded and before they are used in the Level.
BiomeSelectionContext - Interface in net.fabricmc.fabric.api.biome.v1
Context given to a biome selector for deciding whether it applies to a biome or not.
BiomeSelectors - Class in net.fabricmc.fabric.api.biome.v1
Provides several convenient biome selectors that can be used with BiomeModifications.
BLACK_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
BLACK_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BLACK_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
blank() - Static method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
Retrieve a blank FluidVariant.
blank() - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
Retrieve a blank ItemVariant.
BlankVariantView<T> - Class in net.fabricmc.fabric.api.transfer.v1.storage.base
A transfer variant storage view that contains a blank variant all the time (it's always empty), but may have a nonzero capacity.
BlankVariantView(T, long) - Constructor for class net.fabricmc.fabric.api.transfer.v1.storage.base.BlankVariantView
Create a new instance.
BLAZE_RODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
block - Variable in class net.fabricmc.fabric.api.transfer.v1.fluid.CauldronFluidContent
Block of the cauldron.
BLOCK - Static variable in class net.fabricmc.fabric.api.event.player.PlayerPickItemEvents
Called when a player requests to pick the item for a block at a given position.
BLOCK - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
BLOCK_ENTITY_LOAD - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientBlockEntityEvents
Called when a BlockEntity is loaded into a ClientLevel.
BLOCK_ENTITY_LOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerBlockEntityEvents
Called when an BlockEntity is loaded into a ServerLevel.
BLOCK_ENTITY_RENDER_DISPATCHER - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
BLOCK_ENTITY_UNLOAD - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientBlockEntityEvents
Called when a BlockEntity is about to be unloaded from a ClientLevel.
BLOCK_ENTITY_UNLOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerBlockEntityEvents
Called when an BlockEntity is about to be unloaded from a ServerLevel.
BLOCK_RENDER_DISPATCHER - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
Block2ObjectMap<V> - Interface in net.fabricmc.fabric.api.util
 
BlockApiCache<A,C> - Interface in net.fabricmc.fabric.api.lookup.v1.block
A BlockApiLookup bound to a ServerLevel and a position, providing much faster API access.
BlockApiLookup<A,C> - Interface in net.fabricmc.fabric.api.lookup.v1.block
An object that allows retrieving APIs from blocks in a level.
BlockApiLookup.BlockApiProvider<A,C> - Interface in net.fabricmc.fabric.api.lookup.v1.block
 
BlockApiLookup.BlockEntityApiProvider<A,C> - Interface in net.fabricmc.fabric.api.lookup.v1.block
 
BlockAttackInteractionAware - Interface in net.fabricmc.fabric.api.block
Deprecated.
Use AttackBlockCallback instead and check for the block. This gives more control over the different cancellation outcomes.
BlockColorRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1
The registry for BlockTintSources.
BlockEntityRendererRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1
Deprecated.
Replaced with transitive access wideners in Fabric Transitive Access Wideners (v1).
BlockEntityTypeTagsProvider(FabricPackOutput, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.BlockEntityTypeTagsProvider
 
BlockEvents - Interface in net.fabricmc.fabric.api.event.player
Contains events triggered by players interact with blocks.
BlockEvents.UseItemOnCallback - Interface in net.fabricmc.fabric.api.event.player
 
BlockEvents.UseWithoutItemCallback - Interface in net.fabricmc.fabric.api.event.player
 
BlockFunctionalityTags - Class in net.fabricmc.fabric.api.block.v1
Contains block tags that add extra functionality to blocks.
blockId() - Method in interface net.fabricmc.fabric.api.block.v1.FabricBlock.FabricProperties
Return the id of block that was defined by BlockBehaviour.Properties.setId(ResourceKey).
blockIdOrThrow() - Method in interface net.fabricmc.fabric.api.block.v1.FabricBlock.FabricProperties
Return the id of block that was defined by BlockBehaviour.Properties.setId(ResourceKey).
BlockSetTypeBuilder - Class in net.fabricmc.fabric.api.object.builder.v1.block.type
This class allows easy creation of BlockSetTypes.
BlockSetTypeBuilder() - Constructor for class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
 
BlockTagsProvider(FabricPackOutput, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.BlockTagsProvider
 
BLUE_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
BLUE_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BLUE_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BOATS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEntityTypeTags
 
BONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BOOKSHELVES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
BOOKSHELVES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BooleanFunction<R> - Interface in net.fabricmc.fabric.api.util
Represents a function that accepts a boolean-valued argument and produces a result.
BooleanRuleBuilder(boolean) - Constructor for class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.BooleanRuleBuilder
 
BOSS_BAR - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla boss bar element.
BOSSES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEntityTypeTags
Tag containing entity types that display a boss health bar.
BOTTLE - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
BOTTLE_POTIONS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Variations of the potion bottle that can hold various effects by using DataComponents.POTION_CONTENTS.
bounds() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext.Background
 
BOW_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BOWL - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
BREAD_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BREEZE_RODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BRICKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BROWN_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
BROWN_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BROWN_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BRUSH_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BUCKET - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
////////////////////////
BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BUDDING_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
For blocks that are similar to amethyst where their budding block produces buds and cluster blocks.
BUDDING_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
BUDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
For blocks that are similar to amethyst where they have buddings forming from budding blocks.
BUDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
bufferSource() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderContext
The MultiBufferSource instance being used by the level renderer for most non-terrain renders.
bufferSource() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.PictureInPictureRendererRegistry.Context
 
build() - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
build() - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.EnumRuleBuilder
 
build() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder
 
build(Type) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder
Deprecated.
build(Identifier) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Builds a BlockSetType from this builder's values without registering it.
build(Identifier, BlockSetType) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.WoodTypeBuilder
Builds a WoodType from this builder's values without registering it.
build(ResourceKey) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
use EntityType.Builder.build(net.minecraft.resources.ResourceKey)
build(ResourceKey) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
build(ResourceKey) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
build(PotionBrewing.Builder) - Method in interface net.fabricmc.fabric.api.registry.FabricPotionBrewingBuilder.BuildCallback
Called when the potion brewing registry is being built.
build(FuelValues.Builder, FuelValueEvents.Context) - Method in interface net.fabricmc.fabric.api.registry.FuelValueEvents.BuildCallback
Called when the fuel values are being built after vanilla fuels have been added and before exclusions have been applied.
BUILD - Static variable in interface net.fabricmc.fabric.api.registry.FabricPotionBrewingBuilder
An event that is called when the potion brewing registry is being built.
BUILD - Static variable in interface net.fabricmc.fabric.api.registry.FuelValueEvents
An event that is called when the fuel values are being built after vanilla fuels have been added and before exclusions have been applied.
buildAndRegister() - Method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
Applies the attributes to the registry and registers it.
buildAndRegister(Identifier) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry.Builder
Builds and registers the AttachmentType.
buildAndRegister(Identifier) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
Builds and registers a GameRule.
builder() - Static method in class net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry
Deprecated.
builder() - Static method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTab
Creates a new builder for CreativeModeTab.
builder(TagKey) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider
 
buildExclusions(FuelValues.Builder, FuelValueEvents.Context) - Method in interface net.fabricmc.fabric.api.registry.FuelValueEvents.ExclusionsCallback
Called when the fuel values are being built after vanilla exclusions have been applied.
buildRegistry(RegistrySetBuilder) - Method in interface net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint
Builds a registry containing dynamic registry entries to be generated.
Built-in Mod Resource Pack - Section in package net.fabricmc.fabric.api.resource
 
Built-in Mod Resource Pack - Section in package net.fabricmc.fabric.api.resource.v1
 
Bundled Resource Pack - Section in package net.fabricmc.fabric.api.resource
 
Bundled Resource Pack - Section in package net.fabricmc.fabric.api.resource.v1
 
buttonActivatedByArrows(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Sets whether this block set type's button can be activated by an arrow.
buttonClickOffSound(SoundEvent) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Sets this block set type's button click off sound.
buttonClickOnSound(SoundEvent) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Sets this block set type's button click on sound.
BYTE - Static variable in class net.fabricmc.fabric.api.util.NbtType
Deprecated.
 
BYTE_ARRAY - Static variable in interface net.fabricmc.fabric.api.serialization.v1.MoreCodecs
 
BYTE_ARRAY - Static variable in class net.fabricmc.fabric.api.util.NbtType
Deprecated.
 

C

C_TAG_NAMESPACE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.TagUtil
 
CACTUS_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
camera() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelExtractionContext
 
CAN_CLIMB_TRAPDOOR_ABOVE - Static variable in class net.fabricmc.fabric.api.block.v1.BlockFunctionalityTags
Blocks in this tag let the player climb open trapdoors above them.
canBeEnchantedWith(Holder, EnchantingContext) - Method in interface net.fabricmc.fabric.api.item.v1.FabricItemStack
Determines whether this ItemStack can be enchanted with the given Enchantment.
canBeEnchantedWith(ItemStack, Holder, EnchantingContext) - Method in interface net.fabricmc.fabric.api.item.v1.FabricItem
Determines if the item is allowed to receive an Enchantment.
CANCELED - Static variable in class net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents
Callback when a block break has been canceled.
CANDY_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Sweets and candies like lollipops or chocolate belong in this tag.
canExtract(ItemVariant) - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
Return true if the passed non-blank item variant can be extracted, false otherwise.
canExtract(T) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
Return true if extraction of the passed resource should be forwarded to the backing storage, or false if it should fail.
canExtract(T) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
Return true if the passed non-blank variant can be extracted, false otherwise.
canExtract(T) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
canGenerateIn(ResourceKey) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Tries to determine whether this biome generates in a specific dimension, based on the WorldOptions used by the current level.
canGenerateInNether(ResourceKey) - Static method in class net.fabricmc.fabric.api.biome.v1.NetherBiomes
Returns true if the given biome can generate in the nether, considering the Vanilla nether biomes, and any biomes added to the Nether by mods.
canInsert(ItemVariant) - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
Return true if the passed non-blank item variant can be inserted, false otherwise.
canInsert(T) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
Return true if insertion of the passed resource should be forwarded to the backing storage, or false if it should fail.
canInsert(T) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
Return true if the passed non-blank variant can be inserted, false otherwise.
canInsert(T) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
canPotentiallyExecuteCommands(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder
Makes the built BlockEntityType return true from BlockEntityType.onlyOpCanSetNbt().
canPotentiallyExecuteCommands(boolean) - Method in interface net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityType.Builder
Sets whether the entity is able to execute commands.
canSend(CustomPacketPayload.Type) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
Checks if the connected server declared the ability to receive a packet on a specified channel name.
canSend(CustomPacketPayload.Type) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Checks if the connected server declared the ability to receive a payload on a specified channel name.
canSend(Identifier) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
Checks if the connected server declared the ability to receive a packet on a specified channel name.
canSend(Identifier) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Checks if the connected server declared the ability to receive a payload on a specified channel name.
canSend(ServerPlayer, CustomPacketPayload.Type) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Checks if the connected client declared the ability to receive a specific type of packet.
canSend(ServerPlayer, Identifier) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Checks if the connected client declared the ability to receive a packet on a specified channel name.
canSend(ServerConfigurationPacketListenerImpl, CustomPacketPayload.Type) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Checks if the connected client declared the ability to receive a specific type of packet.
canSend(ServerConfigurationPacketListenerImpl, Identifier) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Checks if the connected client declared the ability to receive a packet on a specified channel name.
canSend(ServerGamePacketListenerImpl, CustomPacketPayload.Type) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Checks if the connected client declared the ability to receive a specific type of packet.
canSend(ServerGamePacketListenerImpl, Identifier) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Checks if the connected client declared the ability to receive a packet on a specified channel name.
CAPTURING_NOT_SUPPORTED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEntityTypeTags
Entities should be included in this tag if they are not allowed to be picked up by items or grabbed in a way that a player can easily move the entity to anywhere they want.
CARROT_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
CARVED_PUMPKINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
For pumpkins that are already carved but not a light source.
CARVED_PUMPKINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For pumpkins that are already carved but not a light source.
category - Variable in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
category(GameRuleCategory) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.BooleanRuleBuilder
 
category(GameRuleCategory) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
category(GameRuleCategory) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.DoubleRuleBuilder
 
category(GameRuleCategory) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.EnumRuleBuilder
 
category(GameRuleCategory) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.IntegerRuleBuilder
 
CauldronFluidContent - Class in net.fabricmc.fabric.api.transfer.v1.fluid
Entrypoint to expose cauldrons to the Fluid Transfer API.
CHAINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
CHAINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
changeCallback(GameRule) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleEvents
 
CHAT - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents
An event triggered when the client receives a chat message, which is any message sent by a player.
CHAT - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents
An event triggered when the client sends a chat message, typically from a client GUI.
CHAT - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla chat element.
CHAT_CANCELED - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents
An event triggered when receiving a chat message is canceled with ClientReceiveMessageEvents.ALLOW_CHAT.
CHAT_CANCELED - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents
An event triggered when sending a chat message is canceled with ClientSendMessageEvents.ALLOW_CHAT.
CHAT_MESSAGE - Static variable in class net.fabricmc.fabric.api.message.v1.ServerMessageEvents
An event triggered when the server broadcasts a chat message sent by a player, typically from a client GUI or a player-executed command.
CHESTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
CHESTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
CHUNK_GENERATE - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents
Deprecated.
use ServerChunkEvents.CHUNK_LOAD directly instead
CHUNK_LOAD - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientChunkEvents
Called when a chunk is loaded into a ClientLevel.
CHUNK_LOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents
Called when a chunk is loaded into a ServerLevel.
CHUNK_UNLOAD - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientChunkEvents
Called when a chunk is about to be unloaded from a ClientLevel.
CHUNK_UNLOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents
Called when a chunk is unloaded from a ServerLevel.
clear(TagKey) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
 
clear(TagKey) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
 
clear(Block) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
 
clear(ItemLike) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
 
clearDryFoliageColorOverride() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
clearExtraData() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.FabricRenderState
Clears all extra render data on the render state.
clearFoliageColorOverride() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
clearGrassColorOverride() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
clearMobCharge(EntityType) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.MobSpawnSettingsContext
Removes a spawn cost entry for a given entity type.
clearSpawns() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.MobSpawnSettingsContext
Removes all spawns.
clearSpawns(MobCategory) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.MobSpawnSettingsContext
Removes all spawns of the given category.
clickScreenButton(String) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Presses the button in the current screen whose label is the given translation key.
client() - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking.Context
 
client() - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking.Context
 
CLIENT_STARTED - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents
Called when Minecraft has started and it's client about to tick for the first time.
CLIENT_STOPPING - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents
Called when Minecraft's client begins to stop.
ClientBlockEntityEvents - Class in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientBlockEntityEvents.Load - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientBlockEntityEvents.Unload - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
clientboundConfiguration() - Static method in interface net.fabricmc.fabric.api.networking.v1.PayloadTypeRegistry
 
ClientboundConfigurationChannelEvents - Class in net.fabricmc.fabric.api.networking.v1
Offers access to events related to the indication of a connected client's ability to receive packets in certain channels.
ClientboundConfigurationChannelEvents.Register - Interface in net.fabricmc.fabric.api.networking.v1
 
ClientboundConfigurationChannelEvents.Unregister - Interface in net.fabricmc.fabric.api.networking.v1
 
clientboundPlay() - Static method in interface net.fabricmc.fabric.api.networking.v1.PayloadTypeRegistry
 
ClientboundPlayChannelEvents - Class in net.fabricmc.fabric.api.networking.v1
Offers access to events related to the indication of a connected client's ability to receive packets in certain channels.
ClientboundPlayChannelEvents.Register - Interface in net.fabricmc.fabric.api.networking.v1
 
ClientboundPlayChannelEvents.Unregister - Interface in net.fabricmc.fabric.api.networking.v1
 
ClientChunkEvents - Class in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientChunkEvents.Load - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientChunkEvents.Unload - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientCommandRegistrationCallback - Interface in net.fabricmc.fabric.api.client.command.v2
Callback for when client commands are registered to the dispatcher.
ClientCommands - Class in net.fabricmc.fabric.api.client.command.v2
Manages client-sided commands and provides some related helper methods.
ClientConfigurationConnectionEvents - Class in net.fabricmc.fabric.api.client.networking.v1
Offers access to events related to the configuration connection to a server on a logical client.
ClientConfigurationConnectionEvents.Complete - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientConfigurationConnectionEvents.Disconnect - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientConfigurationConnectionEvents.Init - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientConfigurationConnectionEvents.Ready - Interface in net.fabricmc.fabric.api.client.networking.v1
ClientConfigurationConnectionEvents.Start - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientConfigurationNetworking - Class in net.fabricmc.fabric.api.client.networking.v1
Offers access to configuration stage client-side networking functionalities.
ClientConfigurationNetworking.ConfigurationPayloadHandler<T> - Interface in net.fabricmc.fabric.api.client.networking.v1
A packet handler utilizing CustomPacketPayload.
ClientConfigurationNetworking.Context - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientDebugSubscriptionRegistry - Class in net.fabricmc.fabric.api.client.debug.v1
A registry for debug subscriptions on the client, allowing listening to registered debug subscriptions on the client.
ClientDebugSubscriptionRegistry() - Constructor for class net.fabricmc.fabric.api.client.debug.v1.ClientDebugSubscriptionRegistry
 
ClientEntityEvents - Class in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientEntityEvents.Load - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientEntityEvents.Unload - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientGameTestContext - Interface in net.fabricmc.fabric.api.client.gametest.v1.context
Context for a client gametest containing various helpful functions and functions to access the game.
ClientLevelEvents - Class in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientLevelEvents.AfterClientLevelChange - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientLifecycleEvents - Class in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientLifecycleEvents.ClientStarted - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientLifecycleEvents.ClientStopping - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientLoginConnectionEvents - Class in net.fabricmc.fabric.api.client.networking.v1
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 - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientLoginConnectionEvents.Init - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientLoginConnectionEvents.QueryStart - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientLoginNetworking - Class in net.fabricmc.fabric.api.client.networking.v1
Offers access to login stage client-side networking functionalities.
ClientLoginNetworking.LoginQueryRequestHandler - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientPlayConnectionEvents - Class in net.fabricmc.fabric.api.client.networking.v1
Offers access to events related to the connection to a server on a logical client.
ClientPlayConnectionEvents.Disconnect - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientPlayConnectionEvents.Init - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientPlayConnectionEvents.Join - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientPlayerBlockBreakEvents - Class in net.fabricmc.fabric.api.event.client.player
Contains client side events triggered by block breaking.
ClientPlayerBlockBreakEvents.After - Interface in net.fabricmc.fabric.api.event.client.player
 
ClientPlayNetworking - Class in net.fabricmc.fabric.api.client.networking.v1
Offers access to play stage client-side networking functionalities.
ClientPlayNetworking.Context - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientPlayNetworking.PlayPayloadHandler<T> - Interface in net.fabricmc.fabric.api.client.networking.v1
A thread-safe payload handler utilizing CustomPacketPayload.
ClientPreAttackCallback - Interface in net.fabricmc.fabric.api.event.client.player
This event fires every tick when the attack key (left mouse button by default) is pressed (including clicking and holding the attack key).
ClientReceiveMessageEvents - Class in net.fabricmc.fabric.api.client.message.v1
Contains client-side events triggered when receiving messages.
ClientReceiveMessageEvents.AllowChat - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientReceiveMessageEvents.AllowGame - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientReceiveMessageEvents.Chat - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientReceiveMessageEvents.ChatCanceled - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientReceiveMessageEvents.Game - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientReceiveMessageEvents.GameCanceled - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientReceiveMessageEvents.ModifyGame - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientRecipeSynchronizedEvent - Interface in net.fabricmc.fabric.api.client.recipe.v1.sync
This event gets invoked when client receives all synchronized recipes.
ClientSendMessageEvents - Class in net.fabricmc.fabric.api.client.message.v1
Contains client-side events triggered when sending messages.
ClientSendMessageEvents.AllowChat - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientSendMessageEvents.AllowCommand - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientSendMessageEvents.Chat - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientSendMessageEvents.ChatCanceled - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientSendMessageEvents.Command - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientSendMessageEvents.CommandCanceled - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientSendMessageEvents.ModifyChat - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientSendMessageEvents.ModifyCommand - Interface in net.fabricmc.fabric.api.client.message.v1
 
ClientTags - Class in net.fabricmc.fabric.api.tag.client.v1
Allows the use of tags by directly loading them from the installed mods.
ClientTickEvents - Class in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientTickEvents.EndLevelTick - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientTickEvents.EndTick - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientTickEvents.StartLevelTick - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientTickEvents.StartTick - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientTooltipComponentCallback - Interface in net.fabricmc.fabric.api.client.rendering.v1
Allows registering a mapping from TooltipComponent to ClientTooltipComponent.
close() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestDedicatedServerContext
Stops the dedicated server.
close() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestServerConnection
Disconnects the client from the dedicated server.
close() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestSingleplayerContext
Closes the singleplayer world.
close() - Method in interface net.fabricmc.fabric.api.transfer.v1.transaction.Transaction
Abort the current transaction if it was not closed already.
CLOSING - Enum constant in enum class net.fabricmc.fabric.api.transfer.v1.transaction.Transaction.Lifecycle
The current transaction is invoking its close callbacks.
CLOUD_RENDERER - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
CLUMPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
CLUSTERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
For blocks that are similar to amethyst where they have clusters forming from budding blocks.
CLUSTERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
COAL_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Aliased with BlockTags.COAL_ORES.
COAL_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Aliased with ItemTags.COAL_ORES.
COBBLESTONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
COBBLESTONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
COCOA_BEAN_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
codec - Variable in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
codec() - Method in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditionType
 
codec(Codec) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.EnumRuleBuilder
 
codec(Codec) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.BooleanRuleBuilder
 
codec(Codec) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.DoubleRuleBuilder
 
codec(Codec) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.IntegerRuleBuilder
 
codec(Codec) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
CODEC - Static variable in enum class net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationType
 
CODEC - Static variable in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceCondition
A codec for a resource condition.
CODEC - Static variable in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
 
CODEC - Static variable in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
 
CODEC - Static variable in enum class net.fabricmc.fabric.api.util.EventResult
 
CODEC - Static variable in enum class net.fabricmc.fabric.api.util.TriState
 
COLLECT_SUBMITS - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents
Called after opaque terrain is drawn to the appropriate framebuffers and all submit nodes from entities, block entities, and particles are added to the submit node storage, and before any submit geometry is drawn to the appropriate framebuffers.
collectSubmits(LevelRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents.CollectSubmits
 
coloredWater(int) - Static method in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
Creates a fluid render handler that uses the vanilla water texture with a fixed, custom color.
COLORLESS_SANDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
COLORLESS_SANDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
ColorResolverRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1
The registry for custom ColorResolvers.
combinedItemApiProvider(Item) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidStorage
Get or create and register a FluidStorage.CombinedItemApiProvider event for the passed item.
CombinedSlottedStorage<T,S> - Class in net.fabricmc.fabric.api.transfer.v1.storage.base
A Storage wrapping multiple slotted storages.
CombinedSlottedStorage(List) - Constructor for class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedSlottedStorage
 
CombinedStorage<T,S> - Class in net.fabricmc.fabric.api.transfer.v1.storage.base
A Storage wrapping multiple storages.
CombinedStorage(List) - Constructor for class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage
 
COMMAND - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents
An event triggered when the client sends a command, which is whenever the player executes a command including client commands registered with fabric-command-api.
COMMAND_CANCELED - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents
An event triggered when sending a command is canceled with ClientSendMessageEvents.ALLOW_COMMAND.
COMMAND_MESSAGE - Static variable in class net.fabricmc.fabric.api.message.v1.ServerMessageEvents
An event triggered when the server broadcasts a command message to all players, such as one from /me and /say (but not ones that specify the recipients like /msg).
commandName() - Method in interface net.fabricmc.fabric.api.entity.event.v1.effect.EffectEventContext
 
CommandRegistrationCallback - Interface in net.fabricmc.fabric.api.command.v2
Callback for when a server registers all commands.
commandResultSupplier - Variable in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
commandResultSupplier(ToIntFunction) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.EnumRuleBuilder
 
commandResultSupplier(ToIntFunction) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.BooleanRuleBuilder
 
commandResultSupplier(ToIntFunction) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.DoubleRuleBuilder
 
commandResultSupplier(ToIntFunction) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.IntegerRuleBuilder
 
commandResultSupplier(ToIntFunction) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
commit() - Method in interface net.fabricmc.fabric.api.transfer.v1.transaction.Transaction
Close the current transaction, committing all the changes that happened during this transaction and the committed transactions opened with Transaction.openNested(TransactionContext) from this transaction.
COMMITTED - Enum constant in enum class net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.Result
 
CommonLifecycleEvents - Class in net.fabricmc.fabric.api.event.lifecycle.v1
 
CommonLifecycleEvents.TagsLoaded - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
COMPLETE - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents
An event called after the ClientboundFinishConfigurationPacket has been received, just before switching to the PLAY state.
completeTask(ConfigurationTask.Type) - Method in interface net.fabricmc.fabric.api.networking.v1.FabricServerConfigurationPacketListenerImpl
Completes the task identified by key.
complex(boolean, MapCodec, StreamCodec) - Static method in class net.fabricmc.fabric.api.particle.v1.FabricParticleTypes
Creates a new particle type with a custom factory and codecs for packet/data serialization.
complex(boolean, Function, Function) - Static method in class net.fabricmc.fabric.api.particle.v1.FabricParticleTypes
Creates a new particle type with a custom factory and codecs for packet/data serialization.
complex(MapCodec, StreamCodec) - Static method in class net.fabricmc.fabric.api.particle.v1.FabricParticleTypes
Creates a new particle type with a custom factory and codecs for packet/data serialization.
complex(Function, Function) - Static method in class net.fabricmc.fabric.api.particle.v1.FabricParticleTypes
Creates a new particle type with a custom factory and codecs for packet/data serialization.
components(Ingredient, UnaryOperator) - Static method in class net.fabricmc.fabric.api.recipe.v1.ingredient.DefaultCustomIngredients
 
components(Ingredient, DataComponentPatch) - Static method in class net.fabricmc.fabric.api.recipe.v1.ingredient.DefaultCustomIngredients
Creates an ingredient that wraps another ingredient to also check for matching components.
components(ItemStack) - Static method in class net.fabricmc.fabric.api.recipe.v1.ingredient.DefaultCustomIngredients
Creates an ingredient that matches the components specified in the passed item stack.
componentsMatch(DataComponentPatch) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
Return true if the tag of this variant matches the passed tag, and false otherwise.
CompostableRegistry - Interface in net.fabricmc.fabric.api.registry
Registry of items to 0.0-1.0 values, defining the chance of a given item increasing the Composter block's level.
COMPOUND - Static variable in class net.fabricmc.fabric.api.util.NbtType
Deprecated.
 
computeOnClient(FailableFunction) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Runs the given function on the render thread (client thread), and returns the result.
computeOnServer(FailableFunction) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestServerContext
Runs the given function on the server thread, and returns the result.
CONCRETE_POWDERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Block tag equivalent is BlockTags.CONCRETE_POWDER.
CONCRETES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
CONCRETES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
CONDITION_CODEC - Static variable in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceCondition
A codec for parsing load conditions.
CONDITIONS_KEY - Static variable in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
The JSON key for resource conditions, "fabric:load_conditions".
configure(BiConsumer, HolderLookup.Provider) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricCodecDataProvider
Implement this method to register entries to generate using a HolderLookup.Provider.
configure(HolderLookup.Provider, FabricSoundsProvider.SoundExporter) - Method in class net.fabricmc.fabric.api.client.datagen.v1.provider.FabricSoundsProvider
Implement this method and then use BiConsumer.accept(T, U) to register sound events to be data-generated.
configure(HolderLookup.Provider, FabricDynamicRegistryProvider.Entries) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider
 
CONFIGURE - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationConnectionEvents
Event fired during vanilla configuration.
configuredCarvers() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
Returns a lookup for configured carvers.
connect() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestDedicatedServerContext
Connects the client to the dedicated server.
CONNECTION - Static variable in interface net.fabricmc.fabric.api.networking.v1.context.PacketContext
The connection that owns this packet context.
ContainerItemContext - Interface in net.fabricmc.fabric.api.transfer.v1.context
A context that allows an item-queried Storage implementation to interact with its containing inventory, such as a player inventory or an emptying or filling machine.
ContainerStorage - Interface in net.fabricmc.fabric.api.transfer.v1.item
An implementation of Storage<ItemVariant> for vanilla's Container, WorldlyContainer and Inventory.
contains(String) - Method in interface net.fabricmc.fabric.api.serialization.v1.value.FabricValueInput
Checks if this ValueInput contains data under provided key.
contains(DataComponentType) - Method in interface net.fabricmc.fabric.api.item.v1.FabricComponentMapBuilder
Checks if a component type has been registered to this builder.
CONTENT_PHASE - Static variable in class net.fabricmc.fabric.api.message.v1.ServerMessageDecoratorEvent
The content phase of the event, passed when registering a chat decorator.
contextClass() - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
Return the context class of this lookup.
contextClass() - Method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
Returns the context class of this lookup.
contextClass() - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
Return the context class of this lookup.
contextParamSet - Variable in class net.fabricmc.fabric.api.datagen.v1.provider.SimpleFabricLootTableSubProvider
 
ConventionalBiomeTags - Class in net.fabricmc.fabric.api.tag.convention.v2
See BiomeTags for vanilla tags.
ConventionalBlockTags - Class in net.fabricmc.fabric.api.tag.convention.v2
See BlockTags for vanilla tags.
ConventionalEnchantmentTags - Class in net.fabricmc.fabric.api.tag.convention.v2
 
ConventionalEntityTypeTags - Class in net.fabricmc.fabric.api.tag.convention.v2
See EntityTypeTags for vanilla tags.
ConventionalFluidTags - Class in net.fabricmc.fabric.api.tag.convention.v2
See FluidTags for vanilla tags.
ConventionalItemTags - Class in net.fabricmc.fabric.api.tag.convention.v2
See ItemTags for vanilla tags.
ConventionalStructureTags - Class in net.fabricmc.fabric.api.tag.convention.v2
See StructureTags for vanilla tags.
COOKED_FISH_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
COOKED_MEAT_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
COOKIE_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
COPPER_INGOTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
COPPER_NUGGETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
COPPER_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Aliased with BlockTags.COPPER_ORES.
COPPER_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Aliased with ItemTags.COPPER_ORES.
COPPER_RAW_MATERIALS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
copy(ByteBuf) - Static method in class net.fabricmc.fabric.api.networking.v1.FriendlyByteBufs
Wraps the newly created buf from buf.copy in a friendly byte buf.
copy(ByteBuf, int, int) - Static method in class net.fabricmc.fabric.api.networking.v1.FriendlyByteBufs
Wraps the newly created buf from buf.copy in a friendly byte buf.
copy(TagKey, TagKey) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.ItemTagsProvider
Copy the entries from a tag with the Block type into this item tag.
COPY - Static variable in interface net.fabricmc.fabric.api.registry.StrippableBlockRegistry.StrippingTransformer
 
COPY_FROM - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents
An event that is called when the data from an old player is copied to a new player.
copyFromPlayer(ServerPlayer, ServerPlayer, boolean) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents.CopyFrom
Called when player data is copied to a new player.
copyOf(BlockSetTypeBuilder) - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Creates a new BlockSetTypeBuilder that copies all of another builder's values.
copyOf(WoodTypeBuilder) - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.type.WoodTypeBuilder
Creates a new WoodTypeBuilder that copies all of another builder's values.
copyOf(BlockSetType) - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Creates a new BlockSetTypeBuilder that copies all of another block set type's values.
copyOf(Property...) - Static method in interface net.fabricmc.fabric.api.registry.StrippableBlockRegistry.StrippingTransformer
 
copyOf(WoodType) - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.type.WoodTypeBuilder
Creates a new WoodTypeBuilder that copies all of another wood type's values.
copyOf(LootPool) - Static method in interface net.fabricmc.fabric.api.loot.v3.FabricLootPoolBuilder
Creates a builder copy of a loot pool.
copyOf(LootTable) - Static method in interface net.fabricmc.fabric.api.loot.v3.FabricLootTableBuilder
Creates a builder copy of a loot table.
copyOnDeath() - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry.Builder
Declares that when a player dies and respawns or when a mob is converted (e.g.
copyOnDeath() - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentType
 
copyTransforms(Model) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.FabricModel
Copies transforms of child model parts of the model to child model parts of this model whose names match.
create() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.world.TestWorldBuilder
Creates and joins a singleplayer world with the configured world settings.
create() - Static method in class net.fabricmc.fabric.api.client.rendering.v1.RenderStateDataKey
Creates a new unique data key.
create() - Static method in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiProviderMap
Create a new instance.
create() - Static method in class net.fabricmc.fabric.api.networking.v1.FriendlyByteBufs
Returns a new heap memory-backed instance of friendly byte buf.
create() - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
use EntityType.Builder.createNothing(MobCategory)
create(int, Inventory) - Method in class net.fabricmc.fabric.api.menu.v1.ExtendedMenuType
create(int, Inventory, D) - Method in class net.fabricmc.fabric.api.menu.v1.ExtendedMenuType
Creates a new menu using the extra opening data.
create(int, Inventory, D) - Method in interface net.fabricmc.fabric.api.menu.v1.ExtendedMenuType.ExtendedFactory
Creates a new menu with additional screen opening data.
create(D) - Method in interface net.fabricmc.fabric.api.debug.v1.DebugValueFactory
 
create(Class, Identifier) - Static method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
Deprecated.
create(Supplier) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.RenderStateDataKey
Creates a new unique data key.
create(SoundTypeBuilder.RegistrationType, Identifier) - Static method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
Creates a builder for constructing a new sound event registration.
create(FabricSpriteSet) - Method in interface net.fabricmc.fabric.api.client.particle.v1.ParticleProviderRegistry.PendingParticleProvider
Called to create a new particle provider.
create(FabricPackOutput) - Method in interface net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator.Pack.Factory
 
create(FabricPackOutput, CompletableFuture) - Method in interface net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator.Pack.RegistryDependentFactory
 
create(BlockApiLookup, ServerLevel, BlockPos) - Static method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiCache
Create a new instance bound to the passed ServerLevel and position, and querying the same API as the passed lookup.
create(ApiLookupMap.LookupConstructor) - Static method in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiLookupMap
Create a new instance.
create(ApiLookupMap.LookupFactory) - Static method in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiLookupMap
Deprecated, for removal: This API element is subject to removal in a future version.
ApiLookupMap.LookupConstructor should be used instead of lookup factory, to expose the identifier.
create(FabricBlockEntityTypeBuilder.Factory, Block...) - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder
 
create(Minecraft) - Method in interface net.fabricmc.fabric.api.client.debug.v1.renderer.DebugRendererFactory
 
create(Model, Model, boolean) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.TransformCopyingModel
 
create(BlockPos, BlockState) - Method in interface net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder.Factory
 
create(ParticleType, BlockState, BlockPos) - Static method in interface net.fabricmc.fabric.api.particle.v1.FabricBlockParticleOption
Alternative for BlockParticleOption(ParticleType, BlockState) that also accepts a BlockPos.
create(Identifier) - Static method in class net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry
Creates and registers an attachment.
create(Identifier) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeModifications
Creates a new biome modification which will be applied whenever biomes are loaded from data packs.
create(Identifier, MapCodec) - Static method in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditionType
Creates a resource condition type.
create(Identifier, Consumer) - Static method in class net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry
Creates and registers an attachment using a builder.
create(ResourceKey) - Static method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
Create a new FabricRegistryBuilder using a MappedRegistry, the registry has the RegistryAttribute.MODDED attribute by default.
create(MobCategory) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
use EntityType.Builder.createNothing(MobCategory)
create(MobCategory, EntityType.EntityFactory) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
use EntityType.Builder.of(EntityType.EntityFactory, MobCategory)
createArmorModelSet() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.ModelLayerRegistry.TexturedArmorModelSetProvider
Creates the textured layer definition for use in a ArmorModelSet of type LayerDefinition.
createArmorRenderer(EntityRendererProvider.Context) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderer.Factory
 
createArrayBacked(Class, Function) - Static method in class net.fabricmc.fabric.api.event.EventFactory
Create an "array-backed" Event instance.
createArrayBacked(Class, T, Function) - Static method in class net.fabricmc.fabric.api.event.EventFactory
Create an "array-backed" Event instance with a custom empty invoker, for an event whose invokerFactory only delegates to the listeners.
createBuiltinResourcePack(Identifier) - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
Create a new FabricDataGenerator.Pack instance for generating a builtin resource pack.
createClientboundPacket(CustomPacketPayload) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Creates a packet which may be sent to a connected client.
createClientboundPacket(T) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Creates a packet which may be sent to a connected client.
createDefaulted(Class, Identifier, Identifier) - Static method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
createDefaulted(Identifier, Supplier) - Static method in class net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry
Creates and registers an attachment, that will be automatically initialized with a default value when an attachment does not exist on a given target, using AttachmentTarget.getAttachedOrCreate(AttachmentType).
createDefaulted(ResourceKey, Identifier) - Static method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
Create a new FabricRegistryBuilder using a DefaultedRegistry, the registry has the RegistryAttribute.MODDED attribute by default.
createLayerDefinition() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.ModelLayerRegistry.TexturedLayerDefinitionProvider
Creates the textured layer definition for use in a ModelLayerLocation.
createLiving() - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
createLiving(EntityType.EntityFactory, MobCategory, UnaryOperator) - Static method in interface net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityType.Builder
Creates an entity type builder for a living entity.
createMob() - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
createMob(EntityType.EntityFactory, MobCategory, UnaryOperator) - Static method in interface net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityType.Builder
Creates an entity type builder for a mob entity.
createOverlay(String) - Method in interface net.fabricmc.fabric.api.resource.ModResourcePack
Deprecated.
 
createOverlay(String) - Method in interface net.fabricmc.fabric.api.resource.v1.pack.ModPackResources
 
createPack() - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
Create a default FabricDataGenerator.Pack instance for generating a mod's data.
createPacket(CustomPacketPayload) - Method in interface net.fabricmc.fabric.api.networking.v1.PacketSender
Creates a packet from a packet payload.
createPacket(Identifier, FriendlyByteBuf) - Method in interface net.fabricmc.fabric.api.networking.v1.LoginPacketSender
Creates a packet for sending to a login channel.
createPersistent(Identifier, Codec) - Static method in class net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry
Creates and registers an attachment, that will persist across server restarts.
createRecipeProvider(HolderLookup.Provider, RecipeOutput) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider
Implement this method and then use the range of methods in RecipeProvider or from one of the recipe json factories such as ShapedRecipeBuilder or ShapelessRecipeBuilder.
createRenderer(PictureInPictureRendererRegistry.Context) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.PictureInPictureRendererRegistry.Factory
 
createServer() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.world.TestWorldBuilder
Creates and starts a dedicated server with the configured world settings.
createServer(Properties) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.world.TestWorldBuilder
Creates and starts a dedicated server with the configured world settings and some custom server properties.
createServerboundPacket(T) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Creates a payload which may be sent to the connected server.
createSnapshot() - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
 
createSnapshot() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
createSnapshot() - Method in class net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
Return a new nonnull object containing the current state of this participant.
createWithPhases(Class, Function, Identifier...) - Static method in class net.fabricmc.fabric.api.event.EventFactory
Create an array-backed event with a list of default phases that get invoked in order.
Creating a test - Section in package net.fabricmc.fabric.api.gametest.v1
 
CreativeModeTabEvents - Class in net.fabricmc.fabric.api.creativetab.v1
Holds events related to CreativeModeTabs.
CreativeModeTabEvents.ModifyOutput - Interface in net.fabricmc.fabric.api.creativetab.v1
 
CreativeModeTabEvents.ModifyOutputAll - Interface in net.fabricmc.fabric.api.creativetab.v1
 
CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For raw materials harvested from growable plants.
CROSSBOW_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
CROSSHAIR - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla crosshair element.
CRYING_OBSIDIANS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
CRYING_OBSIDIANS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
currentLevel(BlockState) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.CauldronFluidContent
Return the current level of the cauldron given its block state, or 0 if it's an empty cauldron.
CUSTOM - Static variable in class net.fabricmc.fabric.api.entity.event.v1.EntityElytraEvents
An event to grant elytra flight to living entities when some condition is met.
customDamage(CustomDamageHandler) - Method in interface net.fabricmc.fabric.api.item.v1.FabricItem.Properties
Sets the custom damage handler of the item.
CustomDamageHandler - Interface in net.fabricmc.fabric.api.item.v1
Allows an item to run custom logic when ItemStack.hurtAndBreak(int, LivingEntity, EquipmentSlot) is called.
customData(Ingredient, CompoundTag) - Static method in class net.fabricmc.fabric.api.recipe.v1.ingredient.DefaultCustomIngredients
Creates an ingredient that wraps another ingredient to also check for stack's custom data.
CustomIngredient - Interface in net.fabricmc.fabric.api.recipe.v1.ingredient
Interface that modders can implement to create new behaviors for Ingredients.
CustomIngredientSerializer<T> - Interface in net.fabricmc.fabric.api.recipe.v1.ingredient
Serializer for a CustomIngredient.
CustomTestMethodInvoker - Interface in net.fabricmc.fabric.api.gametest.v1
Implement this interface on test suites to provide custom logic for invoking GameTest test methods.
CYAN_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
CYAN_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
CYAN_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 

D

data() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonAlgorithm.RawImage
The raw image data.
DATA_PACK - Enum constant in enum class net.fabricmc.fabric.api.item.v1.EnchantmentSource
An enchantment loaded from an external data pack.
DATA_PACK - Enum constant in enum class net.fabricmc.fabric.api.loot.v3.LootTableSource
A loot table loaded from an external data pack.
DATA_RESOURCE_STORE_KEY - Static variable in interface net.fabricmc.fabric.api.resource.v1.DataResourceLoader
The reload listener state key for the data resource store.
Data generation integration - Section in package net.fabricmc.fabric.api.resource.conditions.v1
 
DataGeneratorEntrypoint - Interface in net.fabricmc.fabric.api.datagen.v1
An entry point for data generation.
DataResourceLoader - Interface in net.fabricmc.fabric.api.resource.v1
Provides various hooks into the server data resource loader.
DataResourceStore - Interface in net.fabricmc.fabric.api.resource.v1
Represents a resource store for data.
DataResourceStore.Key<T> - Class in net.fabricmc.fabric.api.resource.v1
Represents a typed key for the data resource store.
DataResourceStore.Mutable - Interface in net.fabricmc.fabric.api.resource.v1
 
DebugRendererFactory - Interface in net.fabricmc.fabric.api.client.debug.v1.renderer
A factory that creates a debug subscription renderer.
DebugRendererRegistry - Class in net.fabricmc.fabric.api.client.debug.v1.renderer
Registry for custom debug renderers.
DebugRendererRegistry() - Constructor for class net.fabricmc.fabric.api.client.debug.v1.renderer.DebugRendererRegistry
 
DebugValueFactory<D,T> - Interface in net.fabricmc.fabric.api.debug.v1
A factory that creates a debug value of type T using data of type D.
Dedicated server properties - Section in package net.fabricmc.fabric.api.client.gametest.v1
 
DEEPSLATE_COBBLESTONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
DEEPSLATE_COBBLESTONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
DEFAULT - Enum constant in enum class net.fabricmc.fabric.api.util.TriState
Represents a value that refers to a "default" value, often as a fallback.
DEFAULT_ATTENUATION_DISTANCE - Static variable in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
The default attenuation distance for a sound (16 blocks).
DEFAULT_CHUNK_LOAD_TIMEOUT - Static variable in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestClientLevelContext
The default timeout in ticks to wait for chunks to load/render (1 minute).
DEFAULT_ENABLED - Enum constant in enum class net.fabricmc.fabric.api.resource.ResourcePackActivationType
Deprecated.
Enabled by default.
DEFAULT_ENABLED - Enum constant in enum class net.fabricmc.fabric.api.resource.v1.pack.PackActivationType
Enabled by default.
DEFAULT_PHASE - Static variable in class net.fabricmc.fabric.api.event.Event
The identifier of the default phase.
DEFAULT_PITCH - Static variable in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
The default sound pitch.
DEFAULT_STATE - Static variable in interface net.fabricmc.fabric.api.registry.StrippableBlockRegistry.StrippingTransformer
 
DEFAULT_TIMEOUT - Static variable in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
The default timeout in ticks for wait tasks (10 seconds).
DEFAULT_UUID - Static variable in class net.fabricmc.fabric.api.entity.FakePlayer
Default UUID, for fake players not associated with a specific (human) player.
DEFAULT_VOLUME - Static variable in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
The default sound volume.
DEFAULT_WEIGHT - Static variable in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
The default weight applied to individual sounds.
defaultAlgorithm() - Static method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonAlgorithm
The default algorithm for this API, which is the Mean Squared Difference algorithm with a threshold of 0.005.
defaultAttributes(Supplier) - Method in interface net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityType.Builder.Living
Sets the default attributes for a type of living entity.
defaultAttributes(Supplier) - Method in interface net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityType.Builder.Mob
Sets the default attributes for a type of mob entity.
defaultAttributes(Supplier) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
defaultAttributes(Supplier) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
DefaultCustomIngredients - Class in net.fabricmc.fabric.api.recipe.v1.ingredient
Factory methods for the custom ingredients directly provided by Fabric API.
DefaultItemComponentEvents - Class in net.fabricmc.fabric.api.item.v1
Events to modify the default DataComponentMap of items.
DefaultItemComponentEvents.ModifyCallback - Interface in net.fabricmc.fabric.api.item.v1
 
DefaultItemComponentEvents.ModifyContext - Interface in net.fabricmc.fabric.api.item.v1
 
Default settings - Section in package net.fabricmc.fabric.api.client.gametest.v1
 
defaultValue - Variable in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
deltaTracker() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelExtractionContext
 
DEMO_TIMER - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla demo timer element.
DENY - Enum constant in enum class net.fabricmc.fabric.api.util.EventResult
Prevents further event handling, while also preventing related action.
DIAMOND_GEMS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
DIAMOND_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Aliased with BlockTags.DIAMOND_ORES.
DIAMOND_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Aliased with ItemTags.DIAMOND_ORES.
difference(Ingredient, Ingredient) - Static method in class net.fabricmc.fabric.api.recipe.v1.ingredient.DefaultCustomIngredients
Creates an ingredient that matches if its base ingredient matches, and its subtracted ingredient does not match.
DimensionEvents - Class in net.fabricmc.fabric.api.dimension.v1
Events for manipulating dimensions.
DimensionEvents() - Constructor for class net.fabricmc.fabric.api.dimension.v1.DimensionEvents
 
DimensionEvents.ModifyAttributes - Interface in net.fabricmc.fabric.api.dimension.v1
 
dimensions(EntityDimensions) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
use EntityType.Builder.sized(float, float)
dimensions(EntityDimensions) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
 
dimensions(EntityDimensions) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
disableCounterPrefix() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotCommonOptions
By default, screenshot file names will be prefixed by a counter so that the screenshots appear in sequence in the screenshots directory.
disableSaving() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
use EntityType.Builder.noSave()
disableSaving() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
 
disableSaving() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
disableSummon() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
use EntityType.Builder.noSummon()
disableSummon() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
 
disableSummon() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
disconnect(Component) - Method in interface net.fabricmc.fabric.api.networking.v1.PacketSender
Disconnects the player.
DISCONNECT - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents
An event for the disconnection of the client configuration packet listener.
DISCONNECT - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ClientLoginConnectionEvents
An event for when the client's login process has ended due to disconnection.
DISCONNECT - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents
An event for the disconnection of the client play packet listener.
DISCONNECT - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationConnectionEvents
An event for the disconnection of the server configuration packet listener.
DISCONNECT - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerLoginConnectionEvents
An event for the disconnection of the server login packet listener.
DISCONNECT - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents
An event for the disconnection of the server game packet listener.
display() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext
The display info of the advancement.
display() - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient
Returns a SlotDisplay representing this ingredient, this is synced to the client to display in the recipe book.
doorCloseSound(SoundEvent) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Sets this block set type's door close sound.
doorOpenSound(SoundEvent) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Sets this block set type's door open sound.
DOUBLE - Static variable in class net.fabricmc.fabric.api.util.NbtType
Deprecated.
 
DoubleRuleBuilder(double) - Constructor for class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.DoubleRuleBuilder
 
DOUGH_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For all doughs regardless of type, specific types of dough should fall under their respective sub-tag.
DRINK_CONTAINING_BOTTLE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For non-empty bottles that are drinkable.
DRINK_CONTAINING_BUCKET - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For non-empty buckets that are drinkable.
DRINKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Drinks are defined as (1) consumable items that (2) use the drink use animation, (3) can be consumed regardless of the player's current hunger.
drop(ItemVariant, long, boolean, boolean, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
Throw items in the world from the player's location.
drop(ItemVariant, long, boolean, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
Throw items in the world from the player's location.
drop(ItemVariant, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
Throw items in the world from the player's location.
DROPLET - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
DRY_FOLIAGE_COLOR - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
duplicate(ByteBuf) - Static method in class net.fabricmc.fabric.api.networking.v1.FriendlyByteBufs
Wraps the newly created buf from buf.duplicate in a friendly byte buf.
DUSTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Tag that holds all blocks that can be dyed a specific color.
DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Tag that holds all blocks and items that can be dyed a specific color.
DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
DynamicRegistries - Class in net.fabricmc.fabric.api.event.registry
Contains methods for registering and accessing dynamic registries.
DynamicRegistries.SyncOption - Enum Class in net.fabricmc.fabric.api.event.registry
Flags for configuring dynamic registry syncing.
DynamicRegistrySetupCallback - Interface in net.fabricmc.fabric.api.event.registry
This event gets triggered before a dynamic registry is being loaded.
DynamicRegistryView - Interface in net.fabricmc.fabric.api.event.registry
A view providing access to the registries that are currently being loaded.

E

EDIBLE_WHEN_PLACED_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Foods like cake that can be eaten when placed in the world belong in this tag.
EffectEventContext - Interface in net.fabricmc.fabric.api.entity.event.v1.effect
Context for mob effect events.
EGGS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For eggs to use for culinary purposes in recipes such as baking a cake.
EMERALD_GEMS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
EMERALD_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Aliased with BlockTags.EMERALD_ORES.
EMERALD_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Aliased with ItemTags.EMERALD_ORES.
empty() - Static method in class net.fabricmc.fabric.api.networking.v1.FriendlyByteBufs
Returns an empty instance of friendly byte buf.
empty() - Static method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Return an empty storage.
EMPTY_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
EMPTY_SOUND - Static variable in interface net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance
An empty sound, which may be used as a placeholder in your sounds.json file for sounds with custom audio streams.
EmptyItemFluidStorage - Class in net.fabricmc.fabric.api.transfer.v1.fluid.base
Base implementation of a fluid storage for an empty item.
EmptyItemFluidStorage(ContainerItemContext, Function, Fluid, long) - Constructor for class net.fabricmc.fabric.api.transfer.v1.fluid.base.EmptyItemFluidStorage
Create a new instance, with a custom mapping function.
EmptyItemFluidStorage(ContainerItemContext, Item, Fluid, long) - Constructor for class net.fabricmc.fabric.api.transfer.v1.fluid.base.EmptyItemFluidStorage
Create a new instance.
enableColoredVanillaFluidNames() - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributes
Enable blue- and red-colored names for water and lava respectively.
enabledFeatures() - Method in interface net.fabricmc.fabric.api.registry.FuelValueEvents.Context
Get the currently enabled feature set.
ENCHANTABLES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Collects the many enchantable tags into one parent collection for ease.
EnchantingContext - Enum Class in net.fabricmc.fabric.api.item.v1
An enum that describes the contexts in which the game checks whether an enchantment can be applied to an item.
EnchantmentEvents - Class in net.fabricmc.fabric.api.item.v1
Events relating to enchantments, allowing for finer control of what enchantments can apply to different items.
EnchantmentEvents.AllowEnchanting - Interface in net.fabricmc.fabric.api.item.v1
 
EnchantmentEvents.Modify - Interface in net.fabricmc.fabric.api.item.v1
 
EnchantmentSource - Enum Class in net.fabricmc.fabric.api.item.v1
Determines where an enchantment has been loaded from.
END - Static variable in class net.fabricmc.fabric.api.util.NbtType
Deprecated.
 
END_CLIENT_TICK - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents
Called at the end of the client tick.
END_DATA_PACK_RELOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents
Called after a Minecraft server has reloaded data packs.
END_EXTRACTION - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents
Called after all render states are extracted, before any are drawn.
END_LEVEL_TICK - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents
Called at the end of a ClientLevel's tick.
END_LEVEL_TICK - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents
Called at the end of a ServerLevel's tick.
END_MAIN - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents
Called at the end of the main render pass, after terrain, entities, block entities, and particles are drawn to the appropriate framebuffers, and before clouds, weather, and late debug are drawn to the appropriate framebuffers and before fabulous translucent framebuffers are combined.
END_SERVER_TICK - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents
Called at the end of the server tick.
END_STONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
END_STONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
endDataPackReload(MinecraftServer, CloseableResourceManager, boolean) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.EndDataPackReload
Called after data packs on a Minecraft server have been reloaded.
ENDER_CHESTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
ENDER_CHESTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
ENDER_PEARLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
endExtraction(LevelExtractionContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents.EndExtraction
 
endMain(LevelRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents.EndMain
 
ENTITY - Static variable in class net.fabricmc.fabric.api.event.player.PlayerPickItemEvents
Called when a player requests to pick the item for a given entity.
ENTITY_AUXILIARY_MOVEMENT_ENHANCEMENTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEnchantmentTags
For enchantments that applies movement-based benefits unrelated to speed for the entity wearing armor enchanted with it.
ENTITY_DEFENSE_ENHANCEMENTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEnchantmentTags
For enchantments that decrease damage taken or otherwise benefit, in regard to damage, the entity wearing armor enchanted with it.
ENTITY_LOAD - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientEntityEvents
Called when an Entity is loaded into a ClientLevel.
ENTITY_LOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents
Called when an Entity is loaded into a ServerLevel.
ENTITY_RENDER_DISPATCHER - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
ENTITY_SPEED_ENHANCEMENTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEnchantmentTags
For enchantments that increase movement speed for entity wearing armor enchanted with it.
ENTITY_UNLOAD - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientEntityEvents
Called when an Entity is about to be unloaded from a ClientLevel.
ENTITY_UNLOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents
Called when an Entity is unloaded from a ServerLevel.
ENTITY_WATER_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
EntityApiLookup<A,C> - Interface in net.fabricmc.fabric.api.lookup.v1.entity
An object that allows retrieving APIs from entities.
EntityApiLookup.EntityApiProvider<A,C> - Interface in net.fabricmc.fabric.api.lookup.v1.entity
 
EntityDebugSubscriptionRegistry - Class in net.fabricmc.fabric.api.debug.v1
A server-side registry for debug subscriptions specific to entities or properties of entities.
EntityDebugSubscriptionRegistry() - Constructor for class net.fabricmc.fabric.api.debug.v1.EntityDebugSubscriptionRegistry
 
EntityElytraEvents - Class in net.fabricmc.fabric.api.entity.event.v1
Events related to elytra flight for living entities.
EntityElytraEvents.Allow - Interface in net.fabricmc.fabric.api.entity.event.v1
 
EntityElytraEvents.Custom - Interface in net.fabricmc.fabric.api.entity.event.v1
 
entityFactory(EntityType.EntityFactory) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
entityFactory(EntityType.EntityFactory) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
 
entityFactory(EntityType.EntityFactory) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
EntityRendererRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1
Deprecated.
Replaced with transitive access wideners in Fabric Transitive Access Wideners (v1).
EntitySelectorOptionRegistry - Class in net.fabricmc.fabric.api.command.v2
Contains a function to register an entity selector option.
EntitySleepEvents - Class in net.fabricmc.fabric.api.entity.event.v1
Events about the sleep of living entities.
EntitySleepEvents.AllowBed - Interface in net.fabricmc.fabric.api.entity.event.v1
 
EntitySleepEvents.AllowNearbyMonsters - Interface in net.fabricmc.fabric.api.entity.event.v1
 
EntitySleepEvents.AllowResettingTime - Interface in net.fabricmc.fabric.api.entity.event.v1
 
EntitySleepEvents.AllowSettingSpawn - Interface in net.fabricmc.fabric.api.entity.event.v1
 
EntitySleepEvents.AllowSleeping - Interface in net.fabricmc.fabric.api.entity.event.v1
 
EntitySleepEvents.AllowSleepTime - Interface in net.fabricmc.fabric.api.entity.event.v1
 
EntitySleepEvents.ModifySleepingDirection - Interface in net.fabricmc.fabric.api.entity.event.v1
 
EntitySleepEvents.ModifyWakeUpPosition - Interface in net.fabricmc.fabric.api.entity.event.v1
 
EntitySleepEvents.SetBedOccupationState - Interface in net.fabricmc.fabric.api.entity.event.v1
 
EntitySleepEvents.StartSleeping - Interface in net.fabricmc.fabric.api.entity.event.v1
 
EntitySleepEvents.StopSleeping - Interface in net.fabricmc.fabric.api.entity.event.v1
 
EntityTrackingEvents - Class in net.fabricmc.fabric.api.networking.v1
Events related to a tracking entities within a player's view distance.
EntityTrackingEvents.StartTracking - Interface in net.fabricmc.fabric.api.networking.v1
 
EntityTrackingEvents.StopTracking - Interface in net.fabricmc.fabric.api.networking.v1
 
EntityTypeTagsProvider(FabricPackOutput, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.EntityTypeTagsProvider
 
Entries(HolderLookup.Provider, String) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
 
Entry(int, int) - Constructor for class net.fabricmc.fabric.api.registry.FlammableBlockRegistry.Entry
 
EnumRuleBuilder(E) - Constructor for class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.EnumRuleBuilder
 
environment() - Element in annotation interface net.fabricmc.fabric.api.gametest.v1.GameTest
A namespaced ID of an entry within the Registries.TEST_ENVIRONMENT registry.
equals(Object) - Method in class net.fabricmc.fabric.api.registry.FlammableBlockRegistry.Entry
 
equals(Object) - Method in record class net.fabricmc.fabric.api.transfer.v1.storage.base.ResourceAmount
Indicates whether some other object is "equal to" this one.
EQUIPMENT_ASSETS - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
EQUIPMENT_CHANGE - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents
Called during LivingEntity.tick() if the Entity's equipment has been changed or mutated.
equipmentSlot(EquipmentSlotProvider) - Method in interface net.fabricmc.fabric.api.item.v1.FabricItem.Properties
Sets the equipment slot provider of the item.
EquipmentSlotProvider - Interface in net.fabricmc.fabric.api.item.v1
A provider for the preferred equipment slot of an item.
event(Registry) - Static method in interface net.fabricmc.fabric.api.event.registry.RegistryEntryAddedCallback
Get the Event for the RegistryEntryAddedCallback for the given registry.
event(Registry) - Static method in interface net.fabricmc.fabric.api.event.registry.RegistryIdRemapCallback
 
Event<T> - Class in net.fabricmc.fabric.api.event
Base class for Fabric's event implementations.
Event() - Constructor for class net.fabricmc.fabric.api.event.Event
 
EVENT - Static variable in interface net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback
 
EVENT - Static variable in interface net.fabricmc.fabric.api.client.item.v1.ItemTooltipCallback
Fired after the game has appended all base tooltip lines to the list.
EVENT - Static variable in interface net.fabricmc.fabric.api.client.recipe.v1.sync.ClientRecipeSynchronizedEvent
 
EVENT - Static variable in interface net.fabricmc.fabric.api.client.rendering.v1.ClientTooltipComponentCallback
 
EVENT - Static variable in interface net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback
Deprecated.
 
EVENT - Static variable in interface net.fabricmc.fabric.api.client.rendering.v1.InvalidateRenderStateCallback
 
EVENT - Static variable in interface net.fabricmc.fabric.api.client.rendering.v1.LivingEntityRenderLayerRegistrationCallback
 
EVENT - Static variable in interface net.fabricmc.fabric.api.client.rendering.v1.RenderItemDecorationsCallback
Fires at the end of GuiGraphics.renderItemDecorations(Font, ItemStack, int, int, String) and allows for drawing custom item stack decorations.
EVENT - Static variable in interface net.fabricmc.fabric.api.command.v2.CommandRegistrationCallback
 
EVENT - Static variable in interface net.fabricmc.fabric.api.event.client.player.ClientPreAttackCallback
 
EVENT - Static variable in interface net.fabricmc.fabric.api.event.player.AttackBlockCallback
 
EVENT - Static variable in interface net.fabricmc.fabric.api.event.player.AttackEntityCallback
 
EVENT - Static variable in interface net.fabricmc.fabric.api.event.player.UseBlockCallback
 
EVENT - Static variable in interface net.fabricmc.fabric.api.event.player.UseEntityCallback
 
EVENT - Static variable in interface net.fabricmc.fabric.api.event.player.UseItemCallback
 
EVENT - Static variable in interface net.fabricmc.fabric.api.event.registry.DynamicRegistrySetupCallback
 
EVENT - Static variable in class net.fabricmc.fabric.api.message.v1.ServerMessageDecoratorEvent
 
EventFactory - Class in net.fabricmc.fabric.api.event
Helper for creating Event classes.
EventResult - Enum Class in net.fabricmc.fabric.api.util
Represents a result of an event that controls execution of some action.
Events - Section in package net.fabricmc.fabric.api.loot.v3
 
exact() - Static method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonAlgorithm
An algorithm which searches for an exact match of the needle in the haystack.
Example - Section in class net.fabricmc.fabric.api.menu.v1.ExtendedMenuType
 
Example - Section in package net.fabricmc.fabric.api.resource
 
Example - Section in package net.fabricmc.fabric.api.resource.v1
 
Example: adding diamonds to the cobblestone loot table - Section in net.fabricmc.fabric.api.loot.v3.LootTableEvents.MODIFY
 
Example command - Section in class net.fabricmc.fabric.api.client.command.v2.ClientCommands
 
Examples - Section in class net.fabricmc.fabric.api.event.registry.DynamicRegistries
 
exchange(ItemVariant, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Try to exchange as many items as possible of the current variant with another variant.
excludeByKey(Collection) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Returns a selector that will reject any biome whose key is in the given collection of keys.
excludeByKey(ResourceKey...) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
 
excludeFromStrictValidation(EntityType) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricEntityLootSubProvider
Disable strict validation for the given entity type.
excludeFromStrictValidation(Block) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootSubProvider
Disable strict validation for the passed block.
EXCLUSIONS - Static variable in interface net.fabricmc.fabric.api.registry.FuelValueEvents
An event that is called when the fuel values are being built after vanilla exclusions have been applied.
EXPERIENCE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
Holds all fluids related to experience.
EXPERIENCE_LEVEL - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for experience level tooltip.
Extended loot table and pool builders - Section in package net.fabricmc.fabric.api.loot.v3
 
ExtendedMenuProvider<D> - Interface in net.fabricmc.fabric.api.menu.v1
An extension of MenuProvider that can write additional data to a screen opening packet.
ExtendedMenuType<T,D> - Class in net.fabricmc.fabric.api.menu.v1
A MenuType for an extended menus that synchronizes additional data to the client when it is opened.
ExtendedMenuType(ExtendedMenuType.ExtendedFactory, StreamCodec) - Constructor for class net.fabricmc.fabric.api.menu.v1.ExtendedMenuType
Constructs an extended menu type.
ExtendedMenuType.ExtendedFactory<T,D> - Interface in net.fabricmc.fabric.api.menu.v1
A factory for creating menu instances from additional opening data.
extract(FluidVariant, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.FullItemFluidStorage
 
extract(ItemVariant, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Try to extract some items from this context's main slot.
extract(ItemVariant, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
 
extract(T, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.BlankVariantView
 
extract(T, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage
 
extract(T, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
 
extract(T, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.base.InsertionOnlyStorage
 
extract(T, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
 
extract(T, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
extract(T, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Try to extract up to some amount of a resource from this storage.
extract(T, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.StorageView
Try to extract a resource from this view.
extractAny(Storage, long, TransactionContext) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Try to extract any resource from a storage, up to a maximum amount.
ExtractionOnlyStorage<T> - Interface in net.fabricmc.fabric.api.transfer.v1.storage.base
A Storage that supports extraction, and not insertion.
extractOnlyOf(Storage) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
Return a wrapper over the passed storage that prevents insertion.

F

FABRIC_TAG_NAMESPACE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.TagUtil
 
FabricAdvancementProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
FabricAdvancementProvider(FabricPackOutput, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricAdvancementProvider
 
FabricBlock - Interface in net.fabricmc.fabric.api.block.v1
General-purpose Fabric-provided extensions for Block subclasses.
FabricBlock.FabricProperties - Interface in net.fabricmc.fabric.api.block.v1
Fabric-provided extensions for BlockBehaviour.Properties.
FabricBlockEntityType - Interface in net.fabricmc.fabric.api.object.builder.v1.block.entity
General-purpose Fabric-provided extensions for BlockEntityType.
FabricBlockEntityTypeBuilder<T> - Class in net.fabricmc.fabric.api.object.builder.v1.block.entity
Use this builder to create a BlockEntityType.
FabricBlockEntityTypeBuilder.Factory<T> - Interface in net.fabricmc.fabric.api.object.builder.v1.block.entity
 
FabricBlockGetter - Interface in net.fabricmc.fabric.api.blockgetter.v2
General-purpose Fabric-provided extensions for BlockGetter subclasses.
FabricBlockLootSubProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
Extend this class and implement FabricBlockLootSubProvider.generate().
FabricBlockLootSubProvider - Interface in net.fabricmc.fabric.api.datagen.v1.loot
Fabric-provided extensions for BlockLootSubProvider.
FabricBlockLootSubProvider(FabricPackOutput, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootSubProvider
 
FabricBlockParticleOption - Interface in net.fabricmc.fabric.api.particle.v1
Note: This interface is automatically implemented on BlockParticleOption via Mixin and interface injection.
FabricBlockState - Interface in net.fabricmc.fabric.api.block.v1
General-purpose Fabric-provided extensions for BlockState, matching the functionality provided in FabricBlock.
FabricClientCommandSource - Interface in net.fabricmc.fabric.api.client.command.v2
Extensions to SharedSuggestionProvider for client-sided commands.
FabricClientGameTest - Interface in net.fabricmc.fabric.api.client.gametest.v1
The fabric-client-gametest entrypoint interface.
FabricCodecDataProvider<T> - Class in net.fabricmc.fabric.api.datagen.v1.provider
FabricCodecDataProvider(FabricPackOutput, CompletableFuture, PackOutput.Target, String, Codec) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricCodecDataProvider
 
FabricCodecDataProvider(FabricPackOutput, CompletableFuture, ResourceKey, Codec) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricCodecDataProvider
 
FabricComponentMapBuilder - Interface in net.fabricmc.fabric.api.item.v1
Fabric-provided extensions for DataComponentMap.Builder.
FabricCreativeModeInventoryScreen - Interface in net.fabricmc.fabric.api.client.creativetab.v1
Fabric provided extensions to CreativeModeInventoryScreen.
FabricCreativeModeTab - Class in net.fabricmc.fabric.api.creativetab.v1
Contains a method to create a creative mode tab builder.
FabricCreativeModeTabOutput - Class in net.fabricmc.fabric.api.creativetab.v1
This class allows the output of creative mode tabs to be modified by the events in CreativeModeTabEvents.
FabricCreativeModeTabOutput(CreativeModeTab.ItemDisplayParameters, List, List) - Constructor for class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
 
FabricDataGenerator - Class in net.fabricmc.fabric.api.datagen.v1
An extension to vanilla's DataGenerator providing mod specific data, and helper functions.
FabricDataGenerator(Path, ModContainer, boolean, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
 
FabricDataGenerator.Pack - Class in net.fabricmc.fabric.api.datagen.v1
Represents a pack of generated data (i.e.
FabricDataGenerator.Pack.Factory<T> - Interface in net.fabricmc.fabric.api.datagen.v1
A factory of a data provider.
FabricDataGenerator.Pack.RegistryDependentFactory<T> - Interface in net.fabricmc.fabric.api.datagen.v1
A factory of a data provider.
FabricDefaultAttributeRegistry - Class in net.fabricmc.fabric.api.object.builder.v1.entity
Allows registering custom default attributes for living entities.
FabricDynamicRegistryProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
A provider to help with data-generation of dynamic registry objects, such as biomes, features, or message types.
FabricDynamicRegistryProvider(FabricPackOutput, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider
 
FabricDynamicRegistryProvider.Entries - Class in net.fabricmc.fabric.api.datagen.v1.provider
 
FabricEntityDataRegistry - Class in net.fabricmc.fabric.api.object.builder.v1.entity
Allows registering custom EntityDataSerializers in a reliable way.
FabricEntityLootSubProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
Extend this class and implement FabricEntityLootSubProvider.generate().
FabricEntityLootSubProvider - Interface in net.fabricmc.fabric.api.datagen.v1.loot
 
FabricEntityLootSubProvider(FabricPackOutput, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricEntityLootSubProvider
 
FabricEntitySelectorParser - Interface in net.fabricmc.fabric.api.command.v2
Fabric extension to EntitySelectorParser, implemented using interface injection.
FabricEntityType - Interface in net.fabricmc.fabric.api.object.builder.v1.entity
General-purpose Fabric-provided extensions for EntityType.
FabricEntityType.Builder<T> - Interface in net.fabricmc.fabric.api.object.builder.v1.entity
General-purpose Fabric-provided extensions for EntityType.Builder.
FabricEntityType.Builder.Living<T> - Interface in net.fabricmc.fabric.api.object.builder.v1.entity
A builder for additional properties of a living entity, use via FabricEntityType.Builder.createLiving(EntityType.EntityFactory, MobCategory, UnaryOperator).
FabricEntityType.Builder.Mob<T> - Interface in net.fabricmc.fabric.api.object.builder.v1.entity
A builder for additional properties of a mob entity, use via FabricEntityType.Builder.createMob(EntityType.EntityFactory, MobCategory, UnaryOperator).
FabricEntityTypeBuilder<T> - Class in net.fabricmc.fabric.api.object.builder.v1.entity
Deprecated.
replace with EntityType.Builder
FabricEntityTypeBuilder(MobCategory, EntityType.EntityFactory) - Constructor for class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
 
FabricEntityTypeBuilder.Living<T> - Class in net.fabricmc.fabric.api.object.builder.v1.entity
FabricEntityTypeBuilder.Mob<T> - Class in net.fabricmc.fabric.api.object.builder.v1.entity
Deprecated.
FabricGameRuleTypeVisitor - Interface in net.fabricmc.fabric.api.gamerule.v1
An extended game rule type visitor which supports Fabric's own rule types.
FabricIngredient - Interface in net.fabricmc.fabric.api.recipe.v1.ingredient
Fabric-provided extensions for Ingredient.
FabricIntrinsicHolderTagsProvider(FabricPackOutput, ResourceKey, CompletableFuture, Function) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.FabricIntrinsicHolderTagsProvider
 
FabricItem - Interface in net.fabricmc.fabric.api.item.v1
General-purpose Fabric-provided extensions for Item subclasses.
FabricItem.Properties - Interface in net.fabricmc.fabric.api.item.v1
Fabric-provided extensions for Item.Properties.
FabricItemStack - Interface in net.fabricmc.fabric.api.item.v1
Fabric-provided extensions for ItemStack.
FabricLanguageProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
FabricLanguageProvider(FabricPackOutput, String, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider
 
FabricLanguageProvider(FabricPackOutput, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider
 
FabricLanguageProvider.TranslationBuilder - Interface in net.fabricmc.fabric.api.datagen.v1.provider
FabricLootPoolBuilder - Interface in net.fabricmc.fabric.api.loot.v3
Convenience extensions to LootPool.Builder for adding pre-built objects or collections.
FabricLootTableBuilder - Interface in net.fabricmc.fabric.api.loot.v3
Convenience extensions to LootTable.Builder for adding pre-built objects or collections and modifying loot pools.
FabricLootTableSubProvider - Interface in net.fabricmc.fabric.api.datagen.v1.provider
A base interface for Loot table providers.
FabricMenuProvider - Interface in net.fabricmc.fabric.api.menu.v1
An extension to MenuProvider.
FabricMobEffect - Interface in net.fabricmc.fabric.api.entity.event.v1.effect
An extension for MobEffect subclasses adding basic events.
FabricModel<S> - Interface in net.fabricmc.fabric.api.client.rendering.v1
General purpose Fabric extensions to the Model class.
FabricModelProvider - Class in net.fabricmc.fabric.api.client.datagen.v1.provider
FabricModelProvider(FabricPackOutput) - Constructor for class net.fabricmc.fabric.api.client.datagen.v1.provider.FabricModelProvider
 
FabricPackOutput - Class in net.fabricmc.fabric.api.datagen.v1
Extends PackOutput to keep track of the ModContainer that it originated from.
FabricPackOutput(ModContainer, Path, boolean) - Constructor for class net.fabricmc.fabric.api.datagen.v1.FabricPackOutput
 
FabricParticleTypes - Class in net.fabricmc.fabric.api.particle.v1
Methods for creating particle types, both simple and using an existing attribute factory.
FabricPotionBrewingBuilder - Interface in net.fabricmc.fabric.api.registry
An extension of PotionBrewing.Builder to support ingredients.
FabricPotionBrewingBuilder.BuildCallback - Interface in net.fabricmc.fabric.api.registry
Use this event to register custom brewing recipes.
FabricRecipeAccess - Interface in net.fabricmc.fabric.api.recipe.v1
General-purpose Fabric-provided extensions for RecipeAccess class.
FabricRecipeManager - Interface in net.fabricmc.fabric.api.recipe.v1
General-purpose Fabric-provided extensions for RecipeManager class.
FabricRecipeOutput - Interface in net.fabricmc.fabric.api.datagen.v1.recipe
Injected to all RecipeOutput instances.
FabricRecipeProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
FabricRecipeProvider(FabricPackOutput, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider
 
FabricRegistry - Interface in net.fabricmc.fabric.api.event.registry
General-purpose Fabric-provided extensions for Registry objects.
FabricRegistryBuilder<T,R> - Class in net.fabricmc.fabric.api.event.registry
Used to create custom registries, with specified registry attributes.
FabricRenderPipeline - Interface in net.fabricmc.fabric.api.client.rendering.v1
General purpose Fabric extensions to the RenderPipeline class.
FabricRenderPipeline.Builder - Interface in net.fabricmc.fabric.api.client.rendering.v1
General purpose Fabric extensions to the RenderPipeline.Builder class.
FabricRenderPipeline.Snippet - Interface in net.fabricmc.fabric.api.client.rendering.v1
General purpose Fabric extensions to the RenderPipeline.Snippet class.
FabricRenderState - Interface in net.fabricmc.fabric.api.client.rendering.v1
Fabric-provided extensions for render states, allowing for the addition of extra render data.
FabricResource - Interface in net.fabricmc.fabric.api.resource.v1
Extensions to Resource.
FabricServerConfigurationPacketListenerImpl - Interface in net.fabricmc.fabric.api.networking.v1
Fabric-provided extensions for ServerConfigurationPacketListenerImpl.
FabricSoundInstance - Interface in net.fabricmc.fabric.api.client.sound.v1
General purpose Fabric-provided extensions to SoundInstance.
FabricSoundsProvider - Class in net.fabricmc.fabric.api.client.datagen.v1.provider
FabricSoundsProvider(PackOutput, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.client.datagen.v1.provider.FabricSoundsProvider
 
FabricSoundsProvider.SoundExporter - Interface in net.fabricmc.fabric.api.client.datagen.v1.provider
FabricSpriteSet - Interface in net.fabricmc.fabric.api.client.particle.v1
It does the same thing as vanilla's SpriteSet, but in a way that's accessible to mods, and that exposes the atlas as well.
FabricTagAppender<E,T> - Interface in net.fabricmc.fabric.api.datagen.v1.provider
Interface-injected to TagAppender.
FabricTagKey - Interface in net.fabricmc.fabric.api.tag
General-purpose Fabric-provided extensions for TagKey subclasses.
FabricTagsProvider<T> - Class in net.fabricmc.fabric.api.datagen.v1.provider
Implement this class (or one of the inner classes) to generate a tag list.
FabricTagsProvider(FabricPackOutput, ResourceKey, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider
Constructs a new FabricTagsProvider with the default computed path.
FabricTagsProvider.AliasGroupBuilder - Class in net.fabricmc.fabric.api.datagen.v1.provider
A builder for tag alias groups.
FabricTagsProvider.BlockEntityTypeTagsProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
Extend this class to create BlockEntityType tags in the "/block_entity_type" tag directory.
FabricTagsProvider.BlockTagsProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
Extend this class to create Block tags in the "/block" tag directory.
FabricTagsProvider.EntityTypeTagsProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
Extend this class to create EntityType tags in the "/entity_type" tag directory.
FabricTagsProvider.FabricIntrinsicHolderTagsProvider<T> - Class in net.fabricmc.fabric.api.datagen.v1.provider
Parent class for tags providers that support adding registered values directly.
FabricTagsProvider.FluidTagsProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
Extend this class to create Fluid tags in the "/fluid" tag directory.
FabricTagsProvider.ItemTagsProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
Extend this class to create Item tags in the "/item" tag directory.
fabricType - Variable in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
FabricValueInput - Interface in net.fabricmc.fabric.api.serialization.v1.value
Fabric provided extension of ValueInput.
FabricValueOutput - Interface in net.fabricmc.fabric.api.serialization.v1.value
Fabric provided extension of ValueOutput.
FakePlayer - Class in net.fabricmc.fabric.api.entity
A "fake player" is a ServerPlayer that is not a human player.
FakePlayer(ServerLevel, GameProfile) - Constructor for class net.fabricmc.fabric.api.entity.FakePlayer
 
FALSE - Enum constant in enum class net.fabricmc.fabric.api.util.TriState
Represents the boolean value of false.
FEATHERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
FEATURE_FLAG_SET_KEY - Static variable in interface net.fabricmc.fabric.api.resource.v1.ResourceLoader
The resource listener state key for the currently enabled feature flag set.
featuresEnabled(Identifier...) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
A condition that passes if each of the features are enabled.
featuresEnabled(FeatureFlag...) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
 
FENCE_GATES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Aliased with BlockTags.FENCE_GATES.
FENCE_GATES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Aliased with ItemTags.FENCE_GATES.
fenceGateCloseSound(SoundEvent) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.WoodTypeBuilder
Sets this wood type's fence gate close sound.
fenceGateOpenSound(SoundEvent) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.WoodTypeBuilder
Sets this wood type's fence gate open sound.
FENCES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Aliased with BlockTags.FENCES.
FENCES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Aliased with ItemTags.FENCES.
FERTILIZERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For bonemeal-like items that can grow plants.
FILE - Enum constant in enum class net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationType
Direct references to sound files by path and filename excluding *.ogg extension.
FilteringStorage<T> - Class in net.fabricmc.fabric.api.transfer.v1.storage.base
A base Storage implementation that delegates every call to another storage, except that it only allows insertion or extraction if FilteringStorage.canInsert(T) or FilteringStorage.canExtract(T) allows it respectively.
FilteringStorage(Supplier) - Constructor for class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
Create a new filtering storage, with a supplier for the backing storage.
FilteringStorage(Storage) - Constructor for class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
Create a new filtering storage, with a fixed backing storage.
find(C) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiCache
Attempt to retrieve an API from a block in the level, using the level and the position passed at creation time.
find(ItemApiLookup) - Method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Try to find an API instance for the passed lookup and return it, or null if there is none.
find(ContainerItemContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidStorage.CombinedItemApiProvider
Return a Storage<FluidVariant> if available in the given context, or null otherwise.
find(Entity, C) - Method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup.EntityApiProvider
Return an instance of API A if available in the given entity with the given context, or null otherwise.
find(Entity, C) - Method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
Attempt to retrieve an API from an entity.
find(ItemStack, C) - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
Attempt to retrieve an API from an item stack.
find(ItemStack, C) - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup.ItemApiProvider
Return an API of type A if available for the given item stack with the given context, or null otherwise.
find(BlockEntity, C) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup.BlockEntityApiProvider
Return an API of type A if available in the given block entity with the given context, or null otherwise.
find(BlockState, C) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiCache
Attempt to retrieve an API from a block in the level, using the level and the position passed at creation time.
find(Level, BlockPos, C) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
Attempt to retrieve an API from a block in the level.
find(Level, BlockPos, BlockState, BlockEntity, C) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
Attempt to retrieve an API from a block in the level.
find(Level, BlockPos, BlockState, BlockEntity, C) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup.BlockApiProvider
Return an API of type A if available in the level at the given pos with the given context, or null otherwise.
findColor(TestScreenshotComparisonAlgorithm.RawImage, TestScreenshotComparisonAlgorithm.RawImage) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonAlgorithm
Finds a needle in a haystack, color image version.
findExtractableContent(Storage, Predicate, TransactionContext) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Attempt to find a resource stored in the passed storage that can be extracted and matches the filter, and how much of it can be extracted.
findExtractableContent(Storage, TransactionContext) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Attempt to find a resource stored in the passed storage that can be extracted, and how much of it can be extracted.
findExtractableResource(Storage, Predicate, TransactionContext) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Attempt to find a resource stored in the passed storage that matches the passed filter and can be extracted.
findExtractableResource(Storage, TransactionContext) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Attempt to find a resource stored in the passed storage that can be extracted.
findGrayscale(TestScreenshotComparisonAlgorithm.RawImage, TestScreenshotComparisonAlgorithm.RawImage) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonAlgorithm
Finds a needle in a haystack, grayscale image version.
findStoredResource(Storage) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Attempt to find a resource stored in the passed storage.
findStoredResource(Storage, Predicate) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Attempt to find a resource stored in the passed storage that matches the passed filter.
fireImmune() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
use EntityType.Builder.fireImmune()
fireImmune() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
 
fireImmune() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
FISHING_ROD_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
FlammableBlockRegistry - Interface in net.fabricmc.fabric.api.registry
 
FlammableBlockRegistry.Entry - Class in net.fabricmc.fabric.api.registry
 
FlattenableBlockRegistry - Class in net.fabricmc.fabric.api.registry
A registry for shovel flattening interactions.
FLOAT - Static variable in class net.fabricmc.fabric.api.util.NbtType
Deprecated.
 
FLOWERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Contains any living plant block that contains flowers or is a flower itself.
FLOWERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Contains any living plant block that contains flowers or is a flower itself.
flowingTexture - Variable in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
 
fluid - Variable in class net.fabricmc.fabric.api.transfer.v1.fluid.CauldronFluidContent
Fluid stored inside the cauldron.
FluidConstants - Class in net.fabricmc.fabric.api.transfer.v1.fluid
Constants for fluid transfer.
FluidRenderHandler - Interface in net.fabricmc.fabric.api.client.render.fluid.v1
Interface for handling the rendering of a FluidState.
FluidRenderHandlerRegistry - Interface in net.fabricmc.fabric.api.client.render.fluid.v1
Registry for FluidRenderHandler instances.
FluidRendering - Class in net.fabricmc.fabric.api.client.render.fluid.v1
A class containing some utilities for rendering fluids.
FluidRendering.DefaultRenderer - Interface in net.fabricmc.fabric.api.client.render.fluid.v1
 
FluidStorage - Class in net.fabricmc.fabric.api.transfer.v1.fluid
Access to Storage<FluidVariant> instances.
FluidStorage.CombinedItemApiProvider - Interface in net.fabricmc.fabric.api.transfer.v1.fluid
 
FluidStorageUtil - Class in net.fabricmc.fabric.api.transfer.v1.fluid
Helper functions to work with fluid storages.
FluidTagsProvider(FabricPackOutput, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.FluidTagsProvider
 
FluidVariant - Interface in net.fabricmc.fabric.api.transfer.v1.fluid
An immutable association of a still fluid and data components.
FluidVariantAttributeHandler - Interface in net.fabricmc.fabric.api.transfer.v1.fluid
Defines the common attributes of fluid variants of a given Fluid.
FluidVariantAttributes - Class in net.fabricmc.fabric.api.transfer.v1.fluid
Common fluid variant attributes, accessible both client-side and server-side.
FluidVariantRenderHandler - Interface in net.fabricmc.fabric.api.transfer.v1.client.fluid
Defines how fluid variants of a given Fluid should be displayed to clients.
FluidVariantRendering - Class in net.fabricmc.fabric.api.transfer.v1.client.fluid
Client-side display of fluid variants.
FOLIAGE_COLOR - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
FONTS - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
Deprecated.
 
FONTS - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
FOOD_BAR - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the player hunger level bar.
FOOD_POISONING_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For foods that inflict food poisoning-like effects.
FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
forBoolean(boolean) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
forceAddTag(TagKey) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricTagAppender
 
forceTrackedVelocityUpdates(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
forceTrackedVelocityUpdates(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
 
forceTrackedVelocityUpdates(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
forCreativeInteraction(Player, ItemStack) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Returns a context for creative interaction.
forDouble(double) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
forEnum(E) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
forInteger(int) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
forPlayerInteraction(Player, InteractionHand) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Returns a context for interaction with a player's hand.
foundInOverworld() - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Returns a biome selector that will match all biomes that would normally spawn in the Overworld, assuming Vanilla's default biome source is used.
foundInTheEnd() - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Returns a biome selector that will match all biomes that would normally spawn in the End, assuming Vanilla's default End biome source is used.
foundInTheNether() - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Returns a biome selector that will match all biomes that would normally spawn in the Nether, assuming Vanilla's default multi noise biome source with the nether preset is used.
FriendlyByteBufs - Class in net.fabricmc.fabric.api.networking.v1
Helper methods for working with and creating FriendlyByteBufs.
from(R) - Static method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
Create a new FabricRegistryBuilder, the registry has the RegistryAttribute.MODDED attribute by default.
fromBucketFraction(long, long) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
Convert a fraction of buckets into droplets.
fromSystemProperty(String) - Static method in enum class net.fabricmc.fabric.api.util.TriState
Returns a parsed TriState from a system property.
FRUIT_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Apples and other foods that are considered fruits in the culinary field belong in this tag.
FuelValueEvents - Interface in net.fabricmc.fabric.api.registry
Contains events to aid in modifying fuels.
FuelValueEvents.BuildCallback - Interface in net.fabricmc.fabric.api.registry
Use this event to register custom fuels.
FuelValueEvents.Context - Interface in net.fabricmc.fabric.api.registry
 
FuelValueEvents.ExclusionsCallback - Interface in net.fabricmc.fabric.api.registry
Use this event to register custom fuels.
FULL_CHUNK_STATUS_CHANGE - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents
Called when a chunk's actual ticking behavior is about to align with its updated FullChunkStatus.
FullItemFluidStorage - Class in net.fabricmc.fabric.api.transfer.v1.fluid.base
Base implementation of a fluid storage for a full item.
FullItemFluidStorage(ContainerItemContext, Function, FluidVariant, long) - Constructor for class net.fabricmc.fabric.api.transfer.v1.fluid.base.FullItemFluidStorage
Create a new instance, with a custom mapping function.
FullItemFluidStorage(ContainerItemContext, Item, FluidVariant, long) - Constructor for class net.fabricmc.fabric.api.transfer.v1.fluid.base.FullItemFluidStorage
Create a new instance.
FUNCTIONS - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
Deprecated.
 
FUNCTIONS - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Server
 

G

GAME - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents
An event triggered when the client receives a game message, which is any message sent by the server.
GAME_CANCELED - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents
An event triggered when receiving a game message is canceled with ClientReceiveMessageEvents.ALLOW_GAME.
GAME_MESSAGE - Static variable in class net.fabricmc.fabric.api.message.v1.ServerMessageEvents
An event triggered when the server broadcasts a game message to all players.
GAME_PROFILE - Static variable in interface net.fabricmc.fabric.api.networking.v1.context.PacketContext
The Game Profile attached to this connection.
Game options - Section in package net.fabricmc.fabric.api.client.gametest.v1
 
gameRenderer() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.AbstractLevelRenderContext
The game renderer instance.
GameRuleBuilder<T> - Class in net.fabricmc.fabric.api.gamerule.v1
A utility class containing classes and methods for building GameRules.
GameRuleBuilder(T) - Constructor for class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
GameRuleBuilder.BooleanRuleBuilder - Class in net.fabricmc.fabric.api.gamerule.v1
 
GameRuleBuilder.DoubleRuleBuilder - Class in net.fabricmc.fabric.api.gamerule.v1
 
GameRuleBuilder.EnumRuleBuilder<E> - Class in net.fabricmc.fabric.api.gamerule.v1
 
GameRuleBuilder.IntegerRuleBuilder - Class in net.fabricmc.fabric.api.gamerule.v1
 
GameRuleBuilder.NumberRuleBuilder<T> - Class in net.fabricmc.fabric.api.gamerule.v1
 
GameRuleEvents - Class in net.fabricmc.fabric.api.gamerule.v1
Provides events for updating GameRules.
GameRuleEvents.ValueUpdate<T> - Interface in net.fabricmc.fabric.api.gamerule.v1
A functional interface used as a change callback for GameRule updates.
GameTest - Annotation Interface in net.fabricmc.fabric.api.gametest.v1
GameTest is an annotation that can be used to mark a method as a game test.
GASEOUS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
Holds all fluids that are gaseous at room temperature.
GEMS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GENERAL_COMBINED_PROVIDER - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidStorage
Allows multiple API providers to return Storage<FluidVariant> implementations for some items.
generate() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootSubProvider
Implement this method to add block drops.
generate() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricEntityLootSubProvider
Implement this method to add entity drops.
generate(BiConsumer) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootSubProvider
 
generate(BiConsumer) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricEntityLootSubProvider
 
generateAdvancement(HolderLookup.Provider, Consumer) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricAdvancementProvider
Implement this method to register advancements to generate use the consumer callback to register advancements.
generateBlockStateModels(BlockModelGenerators) - Method in class net.fabricmc.fabric.api.client.datagen.v1.provider.FabricModelProvider
 
generateItemModels(ItemModelGenerators) - Method in class net.fabricmc.fabric.api.client.datagen.v1.provider.FabricModelProvider
 
generateTranslations(HolderLookup.Provider, FabricLanguageProvider.TranslationBuilder) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider
Implement this method to register languages.
Generic context types - Section in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
 
Generic context types - Section in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
 
get() - Static method in interface net.fabricmc.fabric.api.networking.v1.context.PacketContext
Returns currently set packet context.
get() - Static method in interface net.fabricmc.fabric.api.resource.v1.DataResourceLoader
 
get() - Method in enum class net.fabricmc.fabric.api.util.TriState
Gets the value of the tri-state.
get(Class, Class) - Method in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiLookupMap.LookupFactory
Deprecated.
Create a new API lookup implementation.
get(K) - Method in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiProviderMap
Return the provider to which the specified key is mapped, or null if this map contains no mapping for the key.
get(PacketContext.ReadKey) - Method in interface net.fabricmc.fabric.api.networking.v1.context.PacketContext
Returns currently stored value.
get(Registry) - Static method in interface net.fabricmc.fabric.api.event.registry.RegistryAttributeHolder
 
get(Identifier) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityDataRegistry
Retrieves the handler for the given ID, or null if it does not exist.
get(Identifier) - Static method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredientSerializer
Returns the custom ingredient serializer registered with the given identifier, or null if there is no such serializer.
get(Identifier, Class, Class) - Method in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiLookupMap.LookupConstructor
Create a new API lookup implementation.
get(Identifier, Class, Class) - Static method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
Retrieve the BlockApiLookup associated with an identifier, or create it if it didn't exist yet.
get(Identifier, Class, Class) - Static method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
Retrieve the EntityApiLookup associated with an identifier, or create it if it didn't exist yet.
get(Identifier, Class, Class) - Static method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
Retrieve the ItemApiLookup associated with an identifier, or create it if it didn't exist yet.
get(ResourceKey) - Static method in interface net.fabricmc.fabric.api.event.registry.RegistryAttributeHolder
 
get(ResourceKey) - Method in interface net.fabricmc.fabric.api.recipe.v1.sync.SynchronizedRecipes
 
get(ServerLevel) - Static method in class net.fabricmc.fabric.api.entity.FakePlayer
Retrieves a fake player for the specified level, using the default UUID.
get(ServerLevel, GameProfile) - Static method in class net.fabricmc.fabric.api.entity.FakePlayer
Retrieves a fake player for the specified level and game profile.
get(PackType) - Static method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
Deprecated.
Get the ResourceManagerHelper instance for a given resource type.
get(PackType) - Static method in interface net.fabricmc.fabric.api.resource.v1.ResourceLoader
 
get(RecipeType, ResourceKey) - Method in interface net.fabricmc.fabric.api.recipe.v1.sync.SynchronizedRecipes
 
get(Block) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
 
get(ItemLike) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
 
get(Fluid) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandlerRegistry
Get a FluidRenderHandler for a given Fluid.
getActiveDispatcher() - Static method in class net.fabricmc.fabric.api.client.command.v2.ClientCommands
Gets the active command dispatcher that handles client command registration and execution.
getAdditionalSlots() - Method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Get additional slots that may be available in this context.
getAliasGroupBuilders() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider
Returns a read-only map of alias group builders by the alias group ID.
getAllMatches(RecipeType, I, Level) - Method in interface net.fabricmc.fabric.api.recipe.v1.FabricRecipeManager
Creates a stream of all recipe entries of the given type that match the given input and level.
getAllMatches(RecipeType, I, Level) - Method in interface net.fabricmc.fabric.api.recipe.v1.sync.SynchronizedRecipes
Creates a stream of all recipe entries of the given type that match the given input and level.
getAllOfType(RecipeType) - Method in interface net.fabricmc.fabric.api.recipe.v1.FabricRecipeManager
 
getAllOfType(RecipeType) - Method in interface net.fabricmc.fabric.api.recipe.v1.sync.SynchronizedRecipes
 
getAllResolvers() - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ColorResolverRegistry
Gets a view of all registered ColorResolvers, including all vanilla resolvers.
getAmount() - Method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Return the current amount of ContainerItemContext.getItemVariant() in the slot of the context.
getAmount() - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.FullItemFluidStorage
 
getAmount() - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
 
getAmount() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.BlankVariantView
 
getAmount() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
 
getAmount() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
getAmount() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.StorageView
 
getAmount(ItemVariant) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
Return the current amount by reading the components of the passed variant.
getAppearance(BlockState, BlockAndLightGetter, BlockPos, Direction, BlockState, BlockPos) - Method in interface net.fabricmc.fabric.api.block.v1.FabricBlock
Return the current appearance of the block, i.e.
getAppearance(BlockAndLightGetter, BlockPos, Direction, BlockState, BlockPos) - Method in interface net.fabricmc.fabric.api.block.v1.FabricBlockState
Return the current appearance of the block, i.e.
getAtlas() - Method in interface net.fabricmc.fabric.api.client.particle.v1.FabricSpriteSet
Returns the entire particles texture atlas.
getAttached(AttachmentType) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
Gets the data associated with the given AttachmentType, or null if it doesn't yet exist.
getAttachedOrCreate(AttachmentType) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
Specialization of AttachmentTarget.getAttachedOrCreate(AttachmentType, Supplier), but only for attachment types with initializers. It will throw an exception if one is not present.
getAttachedOrCreate(AttachmentType, Supplier) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
Gets the data associated with the given AttachmentType, or initializes it using the non-null result of the provided Supplier.
getAttachedOrElse(AttachmentType, A) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
Gets the data associated with the given AttachmentType, or returns the provided default value if it doesn't exist.
getAttachedOrGet(AttachmentType, Supplier) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
Gets the data associated with the given AttachmentType, or gets the provided default value from the provided non-null supplier if it doesn't exist.
getAttachedOrSet(AttachmentType, A) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
Gets the data associated with the given AttachmentType, or initializes it using the provided non-null default value.
getAttachedOrThrow(AttachmentType) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
Gets the data associated with the given AttachmentType, throwing a NullPointerException if it doesn't yet exist.
getAttributes() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext
Returns the modification context for the biomes environment attributes.
getAudioStream(SoundBufferLibrary, Identifier, boolean) - Method in interface net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance
Loads the audio stream for this sound.
getBiome() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Returns the biome with modifications by biome modifiers of higher priority already applied.
getBiomeFabric(BlockPos) - Method in interface net.fabricmc.fabric.api.blockgetter.v2.FabricBlockGetter
Retrieves the biome at the given position if biome retrieval is supported.
getBiomeHolder() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
 
getBiomeKey() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
 
getBlankResource() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
Return the blank resource.
getBlankVariant() - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
 
getBlankVariant() - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleItemStorage
 
getBlankVariant() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
Return the blank variant.
getBlockEntity() - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiCache
Return the block entity at the target position of this lookup.
getBlockEntityRenderData(BlockPos) - Method in interface net.fabricmc.fabric.api.blockgetter.v2.FabricBlockGetter
Retrieves block entity render data for a given block position.
getBlockPos() - Method in interface net.fabricmc.fabric.api.particle.v1.FabricBlockParticleOption
 
getBoundKeyOf(KeyMapping) - Static method in class net.fabricmc.fabric.api.client.keymapping.v1.KeyMappingHelper
Returns the configured KeyCode bound to the KeyMapping from the player's settings.
getBoxed() - Method in enum class net.fabricmc.fabric.api.util.TriState
Gets the value of the tri-state as a boxed, nullable boolean.
getBuiltinDatapack(boolean, String) - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
getBurnOdds() - Method in class net.fabricmc.fabric.api.registry.FlammableBlockRegistry.Entry
 
getCapacity() - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.FullItemFluidStorage
 
getCapacity() - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
 
getCapacity() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.BlankVariantView
 
getCapacity() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
 
getCapacity() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
getCapacity() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.StorageView
 
getCapacity(ItemVariant) - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
Return the maximum capacity of this storage for the passed item variant.
getCapacity(T) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
Return the capacity of this storage for the passed resource.
getCapacity(T) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
Return the maximum capacity of this storage for the passed transfer variant.
getChildPart(String) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.FabricModel
Returns a child model part of the given name, or null if one is not found.
getClient() - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
Gets the client instance used to run the command.
getClientComponent(TooltipComponent) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.ClientTooltipComponentCallback
Return the client tooltip component for the passed tooltip component, or null if none is available.
getClientLevel() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestServerConnection
Gets the client level context for this connection.
getClientLevel() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestSingleplayerContext
Gets the handle for the client level.
getCodec() - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredientSerializer
Returns the codec.
getColor(FluidVariant) - Static method in class net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering
Return the position-independent color that should be used to render the sprite of the passed fluid variant.
getColor(FluidVariant, BlockAndTintGetter, BlockPos) - Method in interface net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRenderHandler
Return the color to use when rendering the sprites of this fluid variant.
getColor(FluidVariant, BlockAndTintGetter, BlockPos) - Static method in class net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering
Return the color that should be used when rendering the sprite of the passed fluid variant.
getComparatorValue(T, BlockState, BlockPos) - Method in interface net.fabricmc.fabric.api.object.builder.v1.entity.MinecartComparatorLogic
Compute the comparator output of a detector rail when a minecart is resting on top of it.
getComponents() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
 
getComponentsPatch() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
 
getConditionType(Identifier) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
 
getContext() - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
 
getCraftingRemainder() - Method in interface net.fabricmc.fabric.api.item.v1.FabricItemStack
Return a leftover item for use in recipes.
getCraftingRemainder(ItemStack) - Method in interface net.fabricmc.fabric.api.item.v1.FabricItem
Returns a leftover item stack after stack is consumed in a recipe.
getCreatorNamespace() - Method in interface net.fabricmc.fabric.api.item.v1.FabricItemStack
Gets the namespace of the mod or datapack that created this item.
getCreatorNamespace(ItemStack) - Method in interface net.fabricmc.fabric.api.item.v1.FabricItem
Gets the namespace of the mod or datapack that created this item.
getCurrentPage() - Method in interface net.fabricmc.fabric.api.client.creativetab.v1.FabricCreativeModeInventoryScreen
Returns the index of the current page.
getCurrentUnsafe() - Static method in interface net.fabricmc.fabric.api.transfer.v1.transaction.Transaction
Deprecated.
Only use if you absolutely need it, there is almost always a better way.
getCursorStorage(AbstractContainerMenu) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
Return a wrapper around the cursor slot of a menu, i.e.
getCustomComparatorLogic(EntityType) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.MinecartComparatorLogicRegistry
Gets the registered custom comparator logic for the specified minecart entity type.
getCustomFlag(Identifier) - Method in interface net.fabricmc.fabric.api.command.v2.FabricEntitySelectorParser
Gets the value of the flag.
getCustomIngredient() - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.FabricIngredient
Returns the backing CustomIngredient of this ingredient if it's custom, null otherwise.
getCustomResolvers() - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ColorResolverRegistry
Gets a view of all registered ColorResolvers, not including vanilla resolvers.
getData(RenderStateDataKey) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.FabricRenderState
Get extra render data from the render state.
getDataOrDefault(RenderStateDataKey, T) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.FabricRenderState
Get extra render data from the render state, or a default value if it cannot be found.
getDefaultInstance() - Static method in interface net.fabricmc.fabric.api.registry.FlammableBlockRegistry
 
getDisplayStacks() - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
 
getDynamicRegistries() - Static method in class net.fabricmc.fabric.api.event.registry.DynamicRegistries
Returns an unmodifiable list of all dynamic registries, including modded ones.
getEffectiveModId() - Method in interface net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint
Returns the mod ID of the mod the data is being generated for.
getEffects() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext
Returns the modification context for the biomes effects.
getEmptySound(FluidVariant) - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributeHandler
Return the sound corresponding to this fluid being emptied, or none if no sound is available.
getEmptySound(FluidVariant) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributes
Return the sound corresponding to a container of this fluid variant being emptied if available, or the default (water) emptying sound otherwise.
getEnabledFeatures() - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
 
getEnabledFeatures() - Method in interface net.fabricmc.fabric.api.registry.FabricPotionBrewingBuilder
 
getEntity() - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
Gets the entity that used the command.
getEquipmentSlotForItem(LivingEntity, ItemStack) - Method in interface net.fabricmc.fabric.api.item.v1.EquipmentSlotProvider
Gets the preferred equipment slot for an item stack.
getFabricDependencies() - Method in interface net.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener
Deprecated.
 
getFabricId() - Method in interface net.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener
Deprecated.
 
getFabricModMetadata() - Method in interface net.fabricmc.fabric.api.resource.ModResourcePack
Deprecated.
 
getFabricModMetadata() - Method in interface net.fabricmc.fabric.api.resource.v1.pack.ModPackResources
Returns the metadata associated with the mod providing this resource pack.
getFabricPackSource() - Method in interface net.fabricmc.fabric.api.resource.v1.FabricResource
Gets the pack source of this resource.
getFeatureKey(ConfiguredFeature) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Tries to retrieve the resource key for the given configured feature, which should be from this biomes current feature list.
getFillSound(FluidVariant) - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributeHandler
Return the sound corresponding to this fluid being filled, or none if no sound is available.
getFillSound(FluidVariant) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributes
Return the sound corresponding to a container of this fluid variant being filled if available, or the default (water) filling sound otherwise.
getFirstMatch(RecipeType, I, Level) - Method in interface net.fabricmc.fabric.api.recipe.v1.sync.SynchronizedRecipes
Finds a first recipe holder of the given type that matches the given input and level.
getFirstMatch(RecipeType, I, Level, ResourceKey) - Method in interface net.fabricmc.fabric.api.recipe.v1.sync.SynchronizedRecipes
Finds a first recipe holder (or recipe, if it matches and isn't null) of the given type that matches the given input and level.
getFirstMatch(RecipeType, I, Level, RecipeHolder) - Method in interface net.fabricmc.fabric.api.recipe.v1.sync.SynchronizedRecipes
Finds a first recipe holder (or recipe, if it matches and isn't null) of the given type that matches the given input and level.
getFluid() - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
Return the fluid of this variant.
getFluidColor(BlockAndTintGetter, BlockPos, FluidState) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler
Get the tint color for a fluid being rendered at a given position.
getFluidColor(BlockAndTintGetter, BlockPos, FluidState) - Method in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
Get the tint color for a fluid being rendered at a given position.
getFluidSprites(BlockAndTintGetter, BlockPos, FluidState) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler
Get the sprites for a fluid being rendered at a given position.
getFluidSprites(BlockAndTintGetter, BlockPos, FluidState) - Method in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
Get the sprites for a fluid being rendered at a given position.
getFluidStorage(Direction) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.base.SidedStorageBlockEntity
Return a fluid storage if available on the queried side, or null otherwise.
getFont(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.Screens
Deprecated.
Use Screen.getFont() directly
getForBlock(Block) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.CauldronFluidContent
Get the cauldron fluid content for a cauldron block, or null if none was registered (yet).
getForFluid(Fluid) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.CauldronFluidContent
Get the cauldron fluid content for a fluid, or null if no cauldron was registered for that fluid (yet).
getGenerationSettings() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext
Returns the modification context for the biomes generation settings.
getGlobalReceivers() - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
Gets all channel names which global receivers are registered for.
getGlobalReceivers() - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientLoginNetworking
Gets all query request channel names which global receivers are registered for.
getGlobalReceivers() - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Gets all channel names which global receivers are registered for.
getGlobalReceivers() - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Gets all channel names which global receivers are registered for.
getGlobalReceivers() - Static method in class net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking
Gets all channel names which global receivers are registered for.
getGlobalReceivers() - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Gets all channel names which global receivers are registered for.
getHandler(Fluid) - Static method in class net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering
Return the render handler for the passed fluid, if available, and null otherwise.
getHandler(Fluid) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributes
Return the attribute handler for the passed fluid, if available, and null otherwise.
getHandlerName(Object) - Static method in class net.fabricmc.fabric.api.event.EventFactory
Deprecated.
This is not to be used in events anymore.
getHandlerOrDefault(Fluid) - Static method in class net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering
Return the render handler for the passed fluid, if available, or the default instance otherwise.
getHandlerOrDefault(Fluid) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributes
Return the attribute handler for the passed fluid, if available, or the default instance otherwise.
getHandSlot(InteractionHand) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
Return a wrapper around the current slot of the passed hand.
getHeight(Identifier) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.hud.HudStatusBarHeightRegistry
Gets the total calculated height offset for a given HUD element ID.
getId() - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
Return the identifier of this lookup.
getId() - Method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
Return the identifier of this lookup.
getId() - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
Return the identifier of this lookup.
getId(ParticleRenderType) - Static method in class net.fabricmc.fabric.api.client.particle.v1.ParticleGroupRegistry
Gets the identifier for the given ParticleRenderType.
getId(EntityDataSerializer) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityDataRegistry
Retrieves the ID for the given handler, or null if the handler was not registered with FabricEntityDataRegistry.register(Identifier, EntityDataSerializer).
getIdentifier() - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredientSerializer
Returns the identifier of this serializer.
getIdFromNew(int) - Method in interface net.fabricmc.fabric.api.event.registry.RegistryIdRemapCallback.RemapState
 
getIdFromOld(int) - Method in interface net.fabricmc.fabric.api.event.registry.RegistryIdRemapCallback.RemapState
 
getIgniteOdds() - Method in class net.fabricmc.fabric.api.registry.FlammableBlockRegistry.Entry
 
getInput() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Gets the input handler used to simulate inputs to the client.
getInstance() - Static method in interface net.fabricmc.fabric.api.client.particle.v1.ParticleProviderRegistry
 
getInstance(Block) - Static method in interface net.fabricmc.fabric.api.registry.FlammableBlockRegistry
 
getItem() - Method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
Return the item of this variant.
getItemStorage(Direction) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.base.SidedStorageBlockEntity
Return an item storage if available on the queried side, or null otherwise.
getItemVariant() - Method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Return the current item variant of this context, that is the variant in the slot of the context.
getLangFilePath(String) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider
Override this method to change where the generated language file is placed.
getLevel() - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
Gets the level where the player used the command.
getLevel() - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiCache
Return the level this cache is bound to.
getLifecycle() - Static method in interface net.fabricmc.fabric.api.transfer.v1.transaction.Transaction
 
getLightEmission(FluidVariant) - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributeHandler
Return an integer in [0, 15]: the light level emitted by this fluid, or 0 if it doesn't naturally emit light.
getLookup() - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiCache
Return the lookup this cache is bound to.
getLookup(Identifier, Class, Class) - Method in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiLookupMap
Retrieve the API lookup associated with an identifier.
getLookup(ResourceKey) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
Gets a lookup for entries from the given registry.
getLookups() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
Gets access to all registry lookups.
getLuminance(FluidVariant) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributes
Return an integer in [0, 15]: the light level emitted by this fluid variant, or 0 if it doesn't naturally emit light.
getMainSlot() - Method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Return the main slot of this context.
getMeta(String) - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
Gets the meta property under key that was assigned to this source.
getMinecraft(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.Screens
 
getMobs(MobCategory) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.MobSpawnSettingsContext
Provides a view of all spawns of the given category.
getMobSpawnSettings() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext
Returns the modification context for the biomes mob spawn settings.
getModContainer() - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
Returns the ModContainer for the mod that this data generator has been created for.
getModContainer() - Method in class net.fabricmc.fabric.api.datagen.v1.FabricPackOutput
Returns the ModContainer for the mod that this data generator has been created for.
getModId() - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
Returns the mod ID for the mod that this data generator has been created for.
getModId() - Method in class net.fabricmc.fabric.api.datagen.v1.FabricPackOutput
Returns the mod ID for the mod that this data generator has been created for.
getName() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricAdvancementProvider
 
getName() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootSubProvider
 
getName() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricEntityLootSubProvider
 
getName() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider
 
getName() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.SimpleFabricLootTableSubProvider
 
getName() - Method in interface net.fabricmc.fabric.api.tag.FabricTagKey
Use this to get a TagKey's translatable component for display purposes.
getName(FluidVariant) - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributeHandler
Return the name that should be used for the passed fluid variant.
getName(FluidVariant) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributes
Return the name that should be used for the passed fluid variant.
getObject() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
Return the immutable object instance of this variant.
getOpenTransaction(int) - Method in interface net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext
Return the transaction with the specific nesting depth.
getOptional(ResourceKey) - Method in interface net.fabricmc.fabric.api.event.registry.DynamicRegistryView
Returns the registry identified by the resource key.
getOptionalByteArray(String) - Method in interface net.fabricmc.fabric.api.serialization.v1.value.FabricValueInput
Returns an byte array present in this ValueInput under provided key.
getOptionalLongArray(String) - Method in interface net.fabricmc.fabric.api.serialization.v1.value.FabricValueInput
Returns an long array present in this ValueInput under provided key.
getOrCreate(DataComponentType, Supplier) - Method in interface net.fabricmc.fabric.api.item.v1.FabricComponentMapBuilder
Gets the current value for the component type in the builder, or creates and adds a new value if it is not present.
getOrCreateLocalTag(TagKey) - Static method in class net.fabricmc.fabric.api.tag.client.v1.ClientTags
Loads a tag into the cache, recursively loading any contained tags along with it.
getOrDefault(DataComponentType, T) - Method in interface net.fabricmc.fabric.api.item.v1.FabricComponentMapBuilder
Gets the current value for the component type in the builder, or creates and adds a new value if it is not present.
getOrEmpty(DataComponentType) - Method in interface net.fabricmc.fabric.api.item.v1.FabricComponentMapBuilder
For list component types specifically, returns a mutable list of values currently held in the builder for the given component type.
getOrThrow(DataResourceStore.Key) - Method in interface net.fabricmc.fabric.api.resource.v1.DataResourceStore
Gets data stored at the given key, or throws if not found.
getOverride(Fluid) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandlerRegistry
Get a FluidRenderHandler for a given Fluid, if it is not the default implementation.
getPacketContext() - Method in interface net.fabricmc.fabric.api.networking.v1.context.PacketContextProvider
 
getPage(CreativeModeTab) - Method in interface net.fabricmc.fabric.api.client.creativetab.v1.FabricCreativeModeInventoryScreen
Returns the page index of the given creative mode tab.
getPageCount() - Method in interface net.fabricmc.fabric.api.client.creativetab.v1.FabricCreativeModeInventoryScreen
Returns the total number of pages.
getParticleRenderType(Identifier) - Static method in class net.fabricmc.fabric.api.client.particle.v1.ParticleGroupRegistry
Gets the ParticleRenderType registered with the given identifier.
getPathType(BlockState, boolean) - Method in interface net.fabricmc.fabric.api.registry.LandPathTypeRegistry.StaticPathTypeProvider
Gets the PathType for the specified block state.
getPathType(BlockState, BlockGetter, BlockPos, boolean) - Method in interface net.fabricmc.fabric.api.registry.LandPathTypeRegistry.DynamicPathTypeProvider
Gets the PathType for the specified block state at the specified position.
getPathType(BlockState, BlockGetter, BlockPos, boolean) - Static method in class net.fabricmc.fabric.api.registry.LandPathTypeRegistry
Gets the PathType from the provider registered for the specified block state at the specified position.
getPathTypeProvider(Block) - Static method in class net.fabricmc.fabric.api.registry.LandPathTypeRegistry
Gets the raw LandPathTypeRegistry.PathTypeProvider registered for the specified block.
getPlacedFeatureKey(PlacedFeature) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Tries to retrieve the resource key for the given placed feature, which should be from this biomes current feature list.
getPlayer() - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
Gets the player that used the command.
getPos() - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiCache
Return the position this cache is bound to.
getPosition() - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
Gets the position from where the command has been executed.
getProvider(EntityType) - Method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
Returns the provider for the passed entity type (registered with one of the register functions), or null if none was registered (yet).
getProvider(Item) - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
Return the provider for the passed item (registered with one of the register functions), or null if none was registered (yet).
getProvider(Block) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
Return the provider for the passed block (registered with one of the register functions), or null if none was registered (yet).
getQueuedEntries(ResourceKey) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
 
getRawIdChangeMap() - Method in interface net.fabricmc.fabric.api.event.registry.RegistryIdRemapCallback.RemapState
 
getReceived() - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
Gets all the channel names that the client can receive packets on.
getReceived() - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Gets all the channel names that the client can receive packets on.
getReceived(ServerPlayer) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Gets all the channel names that the server can receive packets on.
getReceived(ServerConfigurationPacketListenerImpl) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Gets all the channel names that the server can receive packets on.
getReceived(ServerGamePacketListenerImpl) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Gets all the channel names that the server can receive packets on.
getRecipeIdentifier(Identifier) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider
Override this method to change the recipe identifier.
getRecipeIdentifier(Identifier) - Method in interface net.fabricmc.fabric.api.datagen.v1.recipe.FabricRecipeOutput
Override this method to change the recipe identifier.
getRedstoneSignal(Storage) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Compute the redstone signal for a storage, similar to AbstractContainerMenu.getRedstoneSignalFromContainer(Container).
getRegistries() - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
Get a future returning the default registries produced by VanillaRegistries and DataGeneratorEntrypoint.buildRegistry(RegistrySetBuilder).
getRenderData() - Method in interface net.fabricmc.fabric.api.blockgetter.v2.RenderDataBlockEntity
Gets the render data provided by this block entity.
getResource() - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.FullItemFluidStorage
 
getResource() - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
 
getResource() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.BlankVariantView
 
getResource() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
 
getResource() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
getResource() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.StorageView
 
getResource(ItemVariant) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
Return the current resource by reading the components of the passed variant.
getRotation() - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
Gets the rotation of the entity that used the command.
getSaveDirectory() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.world.TestWorldSave
Gets the directory of the world save.
getScreenOpeningData(ServerPlayer) - Method in interface net.fabricmc.fabric.api.menu.v1.ExtendedMenuProvider
Writes additional server -> client screen opening data to the buffer.
getSearchTabStacks() - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
 
getSelectedTab() - Method in interface net.fabricmc.fabric.api.client.creativetab.v1.FabricCreativeModeInventoryScreen
Returns the CreativeModeTab that is associated with the currently selected tab.
getSendable() - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
Gets all channel names that the connected server declared the ability to receive a packets on.
getSendable() - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Gets all channel names that the connected server declared the ability to receive a packets on.
getSendable(ServerPlayer) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Gets all channel names that the connected client declared the ability to receive a packets on.
getSendable(ServerConfigurationPacketListenerImpl) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Gets all channel names that a connected client declared the ability to receive a packets on.
getSendable(ServerGamePacketListenerImpl) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Gets all channel names that a connected client declared the ability to receive a packets on.
getSender() - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
Gets the packet sender which sends packets to the connected server.
getSender() - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Gets the payload sender which sends packets to the connected server.
getSender(ServerPlayer) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Gets the packet sender which sends packets to the connected client.
getSender(ServerConfigurationPacketListenerImpl) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Gets the packet sender which sends packets to the connected client.
getSender(ServerGamePacketListenerImpl) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Gets the packet sender which sends packets to the connected client.
getSender(ServerLoginPacketListenerImpl) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking
Gets the packet sender which sends packets to the connected client.
getSerializedName() - Method in enum class net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationType
 
getSerializedName() - Method in enum class net.fabricmc.fabric.api.util.EventResult
Value of this enum as string.
getSerializedName() - Method in enum class net.fabricmc.fabric.api.util.TriState
Value of this enum as string.
getSerializer() - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient
Returns the serializer for this ingredient.
getServer() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestSingleplayerContext
Gets the handle for the integrated server.
getServer(ServerConfigurationPacketListenerImpl) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Returns the Minecraft Server of a server configuration packet listener.
getServer(ServerLoginPacketListenerImpl) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking
Returns the Minecraft Server of a server login packet listener.
getSlot(int) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.ContainerStorage
 
getSlot(int) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedSlottedStorage
 
getSlot(int) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.base.SingleSlotStorage
 
getSlot(int) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.SlottedStorage
Retrieve a specific slot of this storage.
getSlotCount() - Method in interface net.fabricmc.fabric.api.transfer.v1.item.ContainerStorage
 
getSlotCount() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedSlottedStorage
 
getSlotCount() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.base.SingleSlotStorage
 
getSlotCount() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.SlottedStorage
Retrieve the number of slots in this storage.
getSlots() - Method in interface net.fabricmc.fabric.api.transfer.v1.item.ContainerStorage
Retrieve an unmodifiable list of the wrappers for the slots in this container.
getSlots() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.SlottedStorage
Retrieve a list containing all the slots of this storage.
getSprite(FluidVariant) - Static method in class net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering
Return the still sprite that should be used to render the passed fluid variant, or null if it's not available.
getSprites() - Method in interface net.fabricmc.fabric.api.client.particle.v1.FabricSpriteSet
Gets the list of all sprites available for this particle to use.
getSprites(FluidVariant) - Method in interface net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRenderHandler
Return an array of size at least 2 containing the sprites that should be used to render the passed fluid variant, for use in baked models, (block) entity renderers, or user interfaces.
getSprites(FluidVariant) - Static method in class net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering
Return the still and the flowing sprite that should be used to render the passed fluid variant, or null if they are not available.
getStack() - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
Return the stack of this storage.
getStatusBarHeight(Player) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.hud.StatusBarHeightProvider
 
getStreamCodec() - Method in class net.fabricmc.fabric.api.menu.v1.ExtendedMenuType
 
getStreamCodec() - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredientSerializer
Returns the stream codec for serializing this ingredient.
getStrippedBlockState(Block, BlockState) - Method in interface net.fabricmc.fabric.api.registry.StrippableBlockRegistry.StrippingTransformer
 
getStrippedBlockState(BlockState) - Static method in class net.fabricmc.fabric.api.registry.StrippableBlockRegistry
Provides result of stripping interaction.
getStructureKey(Structure) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Tries to retrieve the resource key for the given configured feature, which should be from this biomes current structure list.
getSynchronizedRecipes() - Method in interface net.fabricmc.fabric.api.recipe.v1.FabricRecipeAccess
 
getTabsOnPage(int) - Method in interface net.fabricmc.fabric.api.client.creativetab.v1.FabricCreativeModeInventoryScreen
Returns an ordered list containing the creative mode tabs on the requested page.
getTags() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.AliasGroupBuilder
Returns a read-only list of the tags in this alias group.
getTeam() - Method in class net.fabricmc.fabric.api.entity.FakePlayer
 
getTemperature(FluidVariant) - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributeHandler
Return a non-negative integer, representing the temperature of this fluid in Kelvin.
getTemperature(FluidVariant) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributes
Return a non-negative integer, representing the temperature of this fluid in Kelvin.
getTooltip(FluidVariant) - Static method in class net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering
Return a mutable list: the tooltip for the passed fluid variant, including the name and additional lines if available and the id of the fluid if advanced tooltips are enabled.
getTooltip(FluidVariant, TooltipFlag) - Static method in class net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering
Return a mutable list: the tooltip for the passed fluid variant, including the name and additional lines if available and the id of the fluid if advanced tooltips are enabled.
getTooltip(ItemStack, Item.TooltipContext, TooltipFlag, List) - Method in interface net.fabricmc.fabric.api.client.item.v1.ItemTooltipCallback
Called when an item stack's tooltip is rendered.
getTranslationKey() - Method in interface net.fabricmc.fabric.api.tag.FabricTagKey
Use this to get a TagKey's translation key safely on any side.
getType() - Method in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceCondition
 
getUnderlyingView() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.StorageView
If this is view is a delegate around another storage view, return the underlying view.
getUpdatedVariant(ItemVariant, T, long) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
Return an updated variant with new resource and amount.
getVanillaPack(boolean) - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
Deprecated.
getVersion() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
 
getVersion() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Return an integer representing the current version of this storage instance to allow for fast change detection: if the version hasn't changed since the last time, and the storage instance is the same, the storage has the same contents.
getViscosity(FluidVariant, Level) - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributeHandler
Return a positive integer, representing the viscosity of this fluid.
getViscosity(FluidVariant, Level) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributes
Return a positive integer, representing the viscosity of this fluid variant.
getWeather() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext
Returns the modification context for the biomes weather properties.
getWidgets(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.Screens
Gets all of a screen's widgets.
getWorldSave() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestSingleplayerContext
Gets the handle for the world save.
GLASS_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
GLASS_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GLASS_BLOCKS_CHEAP - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Glass which is made from cheap resources like sand and only minor additional ingredients like dyes.
GLASS_BLOCKS_CHEAP - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Glass which is made from cheap resources like sand and only minor additional ingredients like dyes.
GLASS_BLOCKS_COLORLESS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
GLASS_BLOCKS_COLORLESS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GLASS_BLOCKS_TINTED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
GLASS_BLOCKS_TINTED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GLASS_PANES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
GLASS_PANES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GLASS_PANES_COLORLESS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
GLASS_PANES_COLORLESS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GLAZED_TERRACOTTAS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
GLAZED_TERRACOTTAS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GLOWSTONE_DUSTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GOLD_INGOTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GOLD_NUGGETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GOLD_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Aliased with BlockTags.GOLD_ORES.
GOLD_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Aliased with ItemTags.GOLD_ORES.
GOLD_RAW_MATERIALS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GOLDEN_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Any gold-based foods would go in this tag.
graphics() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext
The graphics instance used for rendering.
GRASS_COLOR - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
GRAVELS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
GRAVELS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GRAY_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
GRAY_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GRAY_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GREEN_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
GREEN_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GREEN_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
GUNPOWDERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 

H

hangingSignSoundType(SoundType) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.WoodTypeBuilder
Sets this wood type's hanging sign sound type.
hasAdditionalPages() - Method in interface net.fabricmc.fabric.api.client.creativetab.v1.FabricCreativeModeInventoryScreen
Returns whether there are additional pages to show on top of the default vanilla pages.
hasAttached(AttachmentType) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
Tests whether the given AttachmentType has any associated data.
hasAttribute(RegistryAttribute) - Method in interface net.fabricmc.fabric.api.event.registry.RegistryAttributeHolder
 
hasBiomes() - Method in interface net.fabricmc.fabric.api.blockgetter.v2.FabricBlockGetter
Checks whether biome retrieval is supported.
hasComponents() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
Return true if this variant has a component patch.
hasFeature(ResourceKey) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Returns true if this biome contains a placed feature referencing a configured feature with the given key.
hashCode() - Method in class net.fabricmc.fabric.api.registry.FlammableBlockRegistry.Entry
 
hashCode() - Method in record class net.fabricmc.fabric.api.transfer.v1.storage.base.ResourceAmount
Returns a hash code value for this object.
hasPlacedFeature(ResourceKey) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Returns true if this biome contains a placed feature with the given key.
hasTag(TagKey) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Returns true if this biome is in the given TagKey.
HEALTH_BAR - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the player health bar.
height() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonAlgorithm.RawImage
The height of the image.
HELD_ITEM_TOOLTIP - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for held item tooltip.
HIDDEN_FROM_DISPLAYERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalStructureTags
Structures that should not show up on minimaps or world map views from mods/sites.
HIDDEN_FROM_LOCATOR_SELECTION - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that should not be locatable/selectable by modded biome-locating items or abilities.
HIDDEN_FROM_LOCATOR_SELECTION - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalStructureTags
Structures that should not be locatable/selectable by modded structure-locating items or abilities.
HIDDEN_FROM_RECIPE_VIEWERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Tag that holds all blocks that recipe viewers should not show to users.
HIDDEN_FROM_RECIPE_VIEWERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
Tag that holds all fluids that recipe viewers should not show to users.
HIDDEN_FROM_RECIPE_VIEWERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Tag that holds all items that recipe viewers should not show to users.
holdAlt() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Starts holding down left alt.
holdControl() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Starts holding down left control, or left super on macOS.
holder() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext
The holder for the advancement.
holdKey(int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Starts holding down a key.
holdKey(InputConstants.Key) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Starts holding down a key or mouse button.
holdKey(Function) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Starts holding down a key mapping.
holdKey(KeyMapping) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Starts holding down a key mapping.
holdKeyFor(int, int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Holds a key for the specified number of ticks and then releases it.
holdKeyFor(InputConstants.Key, int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Holds a key or mouse button for the specified number of ticks and then releases it.
holdKeyFor(Function, int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Holds a key mapping for the specified number of ticks and then releases it.
holdKeyFor(KeyMapping, int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Holds a key mapping for the specified number of ticks and then releases it.
holdMouse(int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Starts holding down a mouse button.
holdMouseFor(int, int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Holds a mouse button for the specified number of ticks and then releases it.
holdShift() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Starts holding down left shift.
HONEY - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
Holds all fluids related to honey.
HONEY_DRINKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
HORSE_ARMORS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
A tag containing armor that can fit on a Horse.
HOTBAR - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla hotbar.
How to use from subclasses - Section in class net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
 
HudElement - Interface in net.fabricmc.fabric.api.client.rendering.v1.hud
Represents a mod added Gui element that can be rendered on the screen.
HudElementRegistry - Interface in net.fabricmc.fabric.api.client.rendering.v1.hud
A registry of identified hud layers with methods to add layers in specific positions.
HudRenderCallback - Interface in net.fabricmc.fabric.api.client.rendering.v1
Deprecated.
Use HudElementRegistry instead.
HudStatusBarHeightRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1.hud
A registry for StatusBarHeightProvider instances, known as height providers.
HUMANOID_ARMORS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Armor that can fit on a humanoid mob like the Player.
hurtAndBreak(ItemStack, int, LivingEntity, EquipmentSlot, Runnable) - Method in interface net.fabricmc.fabric.api.item.v1.CustomDamageHandler
Called to apply damage to the given stack.

I

id() - Method in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditionType
 
IdentifiableResourceReloadListener - Interface in net.fabricmc.fabric.api.resource
identifier() - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentType
 
IGNITER_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
A tag containing all existing fire starting tools such as Flint and Steel.
Implementation guidelines - Section in net.fabricmc.fabric.api.block.v1.FabricBlock.getAppearance(BlockState, BlockAndLightGetter, BlockPos, Direction, BlockState, BlockPos)
 
Implementation Tips - Section in interface net.fabricmc.fabric.api.blockgetter.v2.RenderDataBlockEntity
 
Improving performance - Section in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
 
includeByKey(Collection) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Returns a selector that will accept only biomes whose keys are in the given collection of keys.
includeByKey(ResourceKey...) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
 
INCREASE_BLOCK_DROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEnchantmentTags
A tag containing enchantments that increase the amount or quality of drops from blocks, such as Enchantments.FORTUNE.
INCREASE_ENTITY_DROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEnchantmentTags
A tag containing enchantments that increase the amount or quality of drops from entities, such as Enchantments.LOOTING.
INFESTED_COBBLESTONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
INFESTED_COBBLESTONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
INFO_BAR - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the info bar, either empty, experience bar, locator, or jump bar.
INGOT - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
INGOTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
INIT - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents
Event indicating a connection entering the CONFIGURATION state, ready for registering channel handlers.
INIT - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ClientLoginConnectionEvents
Event indicating a connection entered the LOGIN state, ready for registering query request handlers.
INIT - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents
Event indicating a connection entered the PLAY state, ready for registering channel handlers.
INIT - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerLoginConnectionEvents
Event indicating a connection entered the LOGIN state, ready for registering query response handlers.
INIT - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents
Event indicating a connection entered the PLAY state, ready for registering channel handlers.
initializer() - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentType
If an object has no value associated to an attachment, this initializer is used to create a non-null starting value.
initializer(Supplier) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry.Builder
Sets the default initializer for this attachment type.
insert(FluidVariant, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.EmptyItemFluidStorage
 
insert(ItemVariant, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Try to insert some items into this context, prioritizing the main slot over the rest of the inventory.
insert(ItemVariant, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
 
insert(ItemVariant, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
Insert items into this player inventory.
insert(T, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage
 
insert(T, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.base.ExtractionOnlyStorage
 
insert(T, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
 
insert(T, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
 
insert(T, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
insert(T, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Try to insert up to some amount of a resource into this storage.
insertAfter(Predicate, Collection, CreativeModeTab.TabVisibility) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
Adds stacks after the last creative mode tab output matching a predicate, or at the end, if no outputs match.
insertAfter(ItemStack, Collection) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
insertAfter(ItemStack, Collection, CreativeModeTab.TabVisibility) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
Adds stacks after an existing stack in the tab, or at the end, if the stack isn't in the tab.
insertAfter(ItemStack, ItemStack...) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
insertAfter(ItemStack, ItemLike...) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
insertAfter(ItemLike, Collection) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
insertAfter(ItemLike, Collection, CreativeModeTab.TabVisibility) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
Adds stacks after an existing item in the tab, or at the end, if the item isn't in the tab.
insertAfter(ItemLike, ItemStack...) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
insertAfter(ItemLike, ItemLike...) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
insertBefore(Predicate, Collection, CreativeModeTab.TabVisibility) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
Adds stacks before the first tab output matching a predicate, or at the end, if no output match.
insertBefore(ItemStack, Collection) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
insertBefore(ItemStack, Collection, CreativeModeTab.TabVisibility) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
Adds stacks before an existing stack to the creative mode tab, or at the end, if the stack isn't in the creative mode tab.
insertBefore(ItemStack, ItemStack...) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
insertBefore(ItemStack, ItemLike...) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
insertBefore(ItemLike, Collection) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
insertBefore(ItemLike, Collection, CreativeModeTab.TabVisibility) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
Adds stacks before an existing item in the tab, or at the end, if the item isn't in the tab.
insertBefore(ItemLike, ItemStack...) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
insertBefore(ItemLike, ItemLike...) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
InsertionOnlyStorage<T> - Interface in net.fabricmc.fabric.api.transfer.v1.storage.base
A Storage that supports insertion, and not extraction.
insertOnlyOf(Storage) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
Return a wrapper over the passed storage that prevents extraction.
insertOverflow(ItemVariant, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Try to insert items into this context, without prioritizing a specific slot, similar to Inventory.placeItemBackInInventory(ItemStack).
insertStacking(List, T, long, TransactionContext) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Try to insert up to some amount of a resource into a list of storage slots, trying to "stack" first, i.e.
INSTANCE - Static variable in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandlerRegistry
 
INSTANCE - Static variable in interface net.fabricmc.fabric.api.registry.CompostableRegistry
 
INT - Static variable in class net.fabricmc.fabric.api.util.NbtType
Deprecated.
 
INT_ARRAY - Static variable in class net.fabricmc.fabric.api.util.NbtType
Deprecated.
 
IntegerRuleBuilder(int) - Constructor for class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.IntegerRuleBuilder
 
interact(Player, Level, InteractionHand) - Method in interface net.fabricmc.fabric.api.event.player.UseItemCallback
 
interact(Player, Level, InteractionHand, BlockPos, Direction) - Method in interface net.fabricmc.fabric.api.event.player.AttackBlockCallback
 
interact(Player, Level, InteractionHand, Entity, EntityHitResult) - Method in interface net.fabricmc.fabric.api.event.player.AttackEntityCallback
 
interact(Player, Level, InteractionHand, Entity, EntityHitResult) - Method in interface net.fabricmc.fabric.api.event.player.UseEntityCallback
 
interact(Player, Level, InteractionHand, BlockHitResult) - Method in interface net.fabricmc.fabric.api.event.player.UseBlockCallback
 
interactWithFluidStorage(Storage, Player, InteractionHand) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidStorageUtil
Try to make the item in a player hand "interact" with a fluid storage.
invalidate() - Static method in class net.fabricmc.fabric.api.event.EventFactory
Deprecated, for removal: This API element is subject to removal in a future version.
Do not use, will be removed in a future release.
InvalidateRenderStateCallback - Interface in net.fabricmc.fabric.api.client.rendering.v1
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.
invoker - Variable in class net.fabricmc.fabric.api.event.Event
The invoker field.
invoker() - Method in class net.fabricmc.fabric.api.event.Event
Returns the invoker instance.
invokeTestMethod(GameTestHelper, Method) - Method in interface net.fabricmc.fabric.api.gametest.v1.CustomTestMethodInvoker
Implement this method to provide custom logic used to invoke the test method.
IRON_INGOTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
IRON_NUGGETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
IRON_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Aliased with BlockTags.IRON_ORES.
IRON_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Aliased with ItemTags.IRON_ORES.
IRON_RAW_MATERIALS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
IS_AQUATIC - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes consisting primarily of water.
IS_AQUATIC_ICY - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For water biomes where ice naturally spawns.
IS_BADLANDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn as a badlands.
IS_BEACH - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Non-stony biomes that are dedicated to spawning on the shoreline of a body of water.
IS_BIRCH_FOREST - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For biomes that are a variant of Birch Forest.
IS_CAVE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes dedicated to decorating caves such as Lush Caves or Dripstone Caves.
IS_COLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that are below 0.5 temperature.
IS_COLD_END - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_COLD_NETHER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_COLD_OVERWORLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_CONIFEROUS_TREE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes whose trees are a kind of Conifer-like tree.
IS_DARK_FOREST - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For biomes that are a variant of Dark Forest.
IS_DEAD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes whose flora primarily consists of dead or decaying vegetation.
IS_DECIDUOUS_TREE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes whose trees are a kind of Deciduous-like tree.
IS_DEEP_OCEAN - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn as part of the world's oceans that have low depth.
IS_DESERT - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For biomes that are considered a regular desert.
IS_DRY - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_DRY_END - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_DRY_NETHER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_DRY_OVERWORLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_END - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn in the End.
IS_FLORAL - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes with a large amount of flowers.
IS_FLOWER_FOREST - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For biomes that are a variant of Flower Forest.
IS_FOREST - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes densely populated with deciduous trees.
IS_HILL - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn as a hills biome.
IS_HOT - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that are above 0.8 temperature.
IS_HOT_END - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_HOT_NETHER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_HOT_OVERWORLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_ICY - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For land biomes where ice naturally spawns.
IS_JUNGLE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn as a jungle.
IS_JUNGLE_TREE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes whose trees are a kind of Jungle-like tree.
IS_LUSH - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes whose flora primarily consists of vibrant thick vegetation and pools of water.
IS_MAGICAL - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes whose theme revolves around magic.
IS_MOUNTAIN - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_MOUNTAIN_PEAK - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_MOUNTAIN_SLOPE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_MUSHROOM - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For biomes that spawn primarily mushrooms.
IS_NETHER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn in the Nether.
IS_NETHER_FOREST - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_OCEAN - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn as part of the world's oceans.
IS_OLD_GROWTH - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For biomes that are an "old growth" variant of a regular biome.
IS_OUTER_END_ISLAND - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn as part of the large islands outside the center island in The End dimension.
IS_OVERWORLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn in the Overworld.
IS_PLAINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For temperate or warmer plains-like biomes.
IS_PLATEAU - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn as a flat-topped hill often.
IS_RARE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Intended for biomes that spawns infrequently and can be difficult to find.
IS_RIVER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn as a river.
IS_SANDY - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that are able to spawn sand-based blocks on the surface.
IS_SAVANNA - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn as a savanna.
IS_SAVANNA_TREE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes whose trees are a kind of Savanna-like tree.
IS_SHALLOW_OCEAN - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn as part of the world's oceans that have shallow depth.
IS_SNOWY - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For biomes that contains lots of naturally spawned snow.
IS_SNOWY_PLAINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For snowy plains-like biomes.
IS_SPOOKY - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For biomes that are intended to be creepy or scary.
IS_STONY_SHORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Stony biomes that are dedicated to spawning on the shoreline of a body of water.
IS_SWAMP - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For biomes that are considered a swamp such as Swamp or Mangrove Swamp.
IS_TAIGA - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn as a taiga.
IS_TEMPERATE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that are between 0.5 and 0.8 temperature range.
IS_TEMPERATE_END - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_TEMPERATE_NETHER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_TEMPERATE_OVERWORLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_UNDERGROUND - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that spawn primarily underground.
IS_VEGETATION_DENSE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
If a biome has more vegetation than a regular Forest biome, then it is considered having dense vegetation.
IS_VEGETATION_DENSE_END - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_VEGETATION_DENSE_NETHER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_VEGETATION_DENSE_OVERWORLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_VEGETATION_SPARSE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
If a biome has trees but spawn infrequently like a Savanna or Sparse Jungle, then the biome is considered having sparse vegetation.
IS_VEGETATION_SPARSE_END - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_VEGETATION_SPARSE_NETHER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_VEGETATION_SPARSE_OVERWORLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_VOID - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_WASTELAND - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that lack any natural life or vegetation.
IS_WET - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_WET_END - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_WET_NETHER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_WET_OVERWORLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
IS_WINDSWEPT - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For biomes that are a "windswept" variant of a regular biome.
isBlank() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
Return true if this variant is blank, and false otherwise.
isBlockTransparent(Block) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandlerRegistry
Looks up whether a block is transparent and gets a fluid overlay texture instead of a falling fluid texture.
isBuiltin() - Method in enum class net.fabricmc.fabric.api.item.v1.EnchantmentSource
Returns whether this enchantment source is builtin and bundled in the vanilla or mod resources.
isBuiltin() - Method in enum class net.fabricmc.fabric.api.loot.v3.LootTableSource
Returns whether this loot table source is builtin and bundled in the vanilla or mod resources.
isEnabledByDefault() - Method in enum class net.fabricmc.fabric.api.resource.ResourcePackActivationType
Deprecated.
Returns whether this resource pack will be enabled by default or not.
isEnabledByDefault() - Method in enum class net.fabricmc.fabric.api.resource.v1.pack.PackActivationType
Returns whether this resource pack will be enabled by default or not.
isFromCommand() - Method in interface net.fabricmc.fabric.api.entity.event.v1.effect.EffectEventContext
 
isHovered() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext.Frame
 
isHovered() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext.Icon
 
isIn(RegistryAccess, TagKey, T) - Static method in class net.fabricmc.fabric.api.tag.convention.v2.TagUtil
 
isIn(TagKey, T) - Static method in class net.fabricmc.fabric.api.tag.convention.v2.TagUtil
See TagUtil.isIn(RegistryAccess, TagKey, Object) to check tags that refer to entries in dynamic registries, such as Biomes.
isInLocal(TagKey, ResourceKey) - Static method in class net.fabricmc.fabric.api.tag.client.v1.ClientTags
Checks if an entry is in a tag provided by the available mods.
isInvulnerableTo(ServerLevel, DamageSource) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
 
isInWithLocalFallback(TagKey, Holder) - Static method in class net.fabricmc.fabric.api.tag.client.v1.ClientTags
Checks if an entry is in a tag, for use with entries from a dynamic registry, such as Biomes.
isInWithLocalFallback(TagKey, T) - Static method in class net.fabricmc.fabric.api.tag.client.v1.ClientTags
Checks if an entry is in a tag.
isLighterThanAir(FluidVariant) - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributeHandler
Return true if this fluid is lighter than air.
isLighterThanAir(FluidVariant) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributes
Return true if this fluid is lighter than air.
isObtained() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext
 
isOf(O) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
Return true if the object of this variant matches the passed fluid.
isOpen() - Static method in interface net.fabricmc.fabric.api.transfer.v1.transaction.Transaction
 
isPersistent() - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentType
 
isProfilingEnabled() - Static method in class net.fabricmc.fabric.api.event.EventFactory
Deprecated.
Always returns false, do not use. This is not to be used in events anymore, standard Java profilers will do fine.
isReconfiguring(ServerConfigurationPacketListenerImpl) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Returns true if the client has previously completed configuration, and has re-entered the configuration phase.
isRegistered(ColorResolver) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ColorResolverRegistry
Checks whether the given ColorResolver is registered.
isResourceBlank() - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.FullItemFluidStorage
 
isResourceBlank() - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
 
isResourceBlank() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.BlankVariantView
 
isResourceBlank() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
 
isResourceBlank() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
isResourceBlank() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.StorageView
Return true if the StorageView.getResource() contained in this storage view is blank, or false otherwise.
isSelected() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext.Icon
 
isStrictValidationEnabled() - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
When enabled data providers can do strict validation to ensure that all entries have data generated for them.
isStrictValidationEnabled() - Method in class net.fabricmc.fabric.api.datagen.v1.FabricPackOutput
When enabled data providers can do strict validation to ensure that all entries have data generated for them.
isSynced() - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentType
Whether this attachment type can be synchronized with clients.
ITEM - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidStorage
Item access to fluid variant storages.
ITEM - Static variable in class net.fabricmc.fabric.api.transfer.v1.item.ItemStorage
Item access to item variant storages.
ITEM_FRAMES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEntityTypeTags
Tag containing entity types, generally extending ItemFrame, that can be placed on the surfaces of blocks to display an item.
Item2ObjectMap<V> - Interface in net.fabricmc.fabric.api.util
 
ItemApiLookup<A,C> - Interface in net.fabricmc.fabric.api.lookup.v1.item
An object that allows retrieving APIs from item stacks.
ItemApiLookup.ItemApiProvider<A,C> - Interface in net.fabricmc.fabric.api.lookup.v1.item
 
ItemComponentTooltipProviderRegistry - Interface in net.fabricmc.fabric.api.item.v1
A registry of TooltipProvider item components.
ItemEvents - Interface in net.fabricmc.fabric.api.event.player
Contains events triggered by players interact with item.
ItemEvents.UseCallback - Interface in net.fabricmc.fabric.api.event.player
 
ItemEvents.UseOnCallback - Interface in net.fabricmc.fabric.api.event.player
 
itemId() - Method in interface net.fabricmc.fabric.api.item.v1.FabricItem.Properties
Return the id of item that was defined by Item.Properties.setId(ResourceKey).
items() - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient
Returns the list of stacks that match this ingredient..
ItemStorage - Class in net.fabricmc.fabric.api.transfer.v1.item
Access to Storage<ItemVariant> instances.
ItemTagsProvider(FabricPackOutput, CompletableFuture) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.ItemTagsProvider
Construct an FabricTagsProvider.ItemTagsProvider tags provider without an associated FabricTagsProvider.BlockTagsProvider tags provider.
ItemTagsProvider(FabricPackOutput, CompletableFuture, FabricTagsProvider.BlockTagsProvider) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.ItemTagsProvider
Construct an FabricTagsProvider.ItemTagsProvider tags provider with an associated FabricTagsProvider.BlockTagsProvider tags provider.
ItemTooltipCallback - Interface in net.fabricmc.fabric.api.client.item.v1
 
ItemVariant - Interface in net.fabricmc.fabric.api.transfer.v1.item
An immutable count-less ItemStack, i.e.
iterator() - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.EmptyItemFluidStorage
 
iterator() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage
 
iterator() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
 
iterator() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.base.InsertionOnlyStorage
 
iterator() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.base.SingleSlotStorage
 
iterator() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Iterate through the contents of this storage.

J

JACK_O_LANTERNS_PUMPKINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
For pumpkins that are already carved and a light source.
JACK_O_LANTERNS_PUMPKINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For pumpkins that are already carved and a light source.
JOIN - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents
An event for notification when the client play packet listener is ready to send packets to the server.
JOIN - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents
An event that is called when a player has joined the game.
JOIN - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents
An event for notification when the server game packet listener is ready to send packets to the client.
JSON format - Section in package net.fabricmc.fabric.api.resource.conditions.v1
 
JsonKeySortOrderCallback - Interface in net.fabricmc.fabric.api.datagen.v1
Provides a callback for setting the sort priority of object keys in generated JSON files.
JUICE_DRINKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Non-alcoholic, plant based fruit and vegetable juices belong in this tag, for example apple juice and carrot juice.

K

key(Identifier) - Static method in interface net.fabricmc.fabric.api.networking.v1.context.PacketContext
Creates a new key to be used with the packet context.
Key() - Constructor for class net.fabricmc.fabric.api.resource.v1.DataResourceStore.Key
 
KeyMappingHelper - Class in net.fabricmc.fabric.api.client.keymapping.v1
Helper for registering KeyMappings.
keySet() - Method in interface net.fabricmc.fabric.api.serialization.v1.value.FabricValueInput
Returns a collection of keys available in this ValueInput.

L

LandPathTypeRegistry - Class in net.fabricmc.fabric.api.registry
A registry to associate block states with specific path types.
LandPathTypeRegistry.DynamicPathTypeProvider - Interface in net.fabricmc.fabric.api.registry
A functional interface that provides the PathType, given the block state level and position.
LandPathTypeRegistry.PathTypeProvider - Interface in net.fabricmc.fabric.api.registry
Generic provider, this is a marker interface.
LandPathTypeRegistry.StaticPathTypeProvider - Interface in net.fabricmc.fabric.api.registry
A functional interface that provides the PathType, given the block state.
LANGUAGES - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
Deprecated.
 
LANGUAGES - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
LAPIS_GEMS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
LAPIS_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Aliased with BlockTags.LAPIS_ORES.
LAPIS_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Aliased with ItemTags.LAPIS_ORES.
LAVA - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
Holds all fluids related to lava without the behaviors attached to the vanilla lava fluid tag.
LAVA_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
LAVA_TEMPERATURE - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
Lava temperature, in Kelvin.
LAVA_VISCOSITY - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
LAVA_VISCOSITY_NETHER - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
LEATHERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
LEAVE - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents
An event that is called when a player is leaving the game.
level() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelExtractionContext
Convenient access to LevelRenderer.level.
level(ServerLevel) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
Gets all the players in a server level.
LevelExtractionContext - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
levelProperty - Variable in class net.fabricmc.fabric.api.transfer.v1.fluid.CauldronFluidContent
Property storing the level of the cauldron.
LevelRenderContext - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
levelRenderer() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.AbstractLevelRenderContext
The level renderer instance doing the rendering and invoking the event.
LevelRenderEvents - Class in net.fabricmc.fabric.api.client.rendering.v1.level
Mods should use these events to introduce custom rendering during LevelRenderer.renderLevel(GraphicsResourceAllocator, DeltaTracker, boolean, CameraRenderState, Matrix4f, GpuBufferSlice, Vector4f, boolean, ChunkSectionsToRender) without adding complicated and conflict-prone injections there.
LevelRenderEvents.AfterBlockOutlineExtraction - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
LevelRenderEvents.AfterOpaqueTerrain - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
LevelRenderEvents.AfterSolidFeatures - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
LevelRenderEvents.AfterTranslucentFeatures - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
LevelRenderEvents.AfterTranslucentTerrain - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
LevelRenderEvents.BeforeBlockOutline - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
LevelRenderEvents.BeforeGizmos - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
LevelRenderEvents.BeforeTranslucentTerrain - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
LevelRenderEvents.CollectSubmits - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
LevelRenderEvents.EndExtraction - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
LevelRenderEvents.EndMain - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
LevelRenderEvents.StartMain - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
levelState() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.AbstractLevelRenderContext
The render state for the level being rendered.
LevelTerrainRenderContext - Interface in net.fabricmc.fabric.api.client.rendering.v1.level
 
Lifecycle - Section in package net.fabricmc.fabric.api.client.gametest.v1
 
LIGHT_BLUE_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
LIGHT_BLUE_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
LIGHT_BLUE_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
LIGHT_GRAY_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
LIGHT_GRAY_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
LIGHT_GRAY_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
LIME_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
LIME_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
LIME_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
LIST - Static variable in class net.fabricmc.fabric.api.util.NbtType
Deprecated.
 
LIST_CODEC - Static variable in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceCondition
A codec for a list of conditions.
literal(String) - Static method in class net.fabricmc.fabric.api.client.command.v2.ClientCommands
Creates a literal argument builder.
Living(MobCategory, EntityType.EntityFactory) - Constructor for class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
 
LivingEntityFeatureRenderEvents - Class in net.fabricmc.fabric.api.client.rendering.v1
Events related to living entity RenderLayers.
LivingEntityFeatureRenderEvents.AllowCapeRender - Interface in net.fabricmc.fabric.api.client.rendering.v1
 
LivingEntityRenderLayerRegistrationCallback - Interface in net.fabricmc.fabric.api.client.rendering.v1
Called when render layers for a living entity renderer are registered.
LivingEntityRenderLayerRegistrationCallback.RegistrationHelper - Interface in net.fabricmc.fabric.api.client.rendering.v1
A delegate object used to help register render layers for an entity renderer.
load(ResourceManager, Executor) - Method in interface net.fabricmc.fabric.api.resource.SimpleResourceReloadListener
Deprecated.
Asynchronously process and load resource-based data.
LOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerLevelEvents
Called just after a level is loaded by a Minecraft server.
LoginPacketSender - Interface in net.fabricmc.fabric.api.networking.v1
Represents something that supports sending packets to login channels.
LONG - Static variable in class net.fabricmc.fabric.api.util.NbtType
Deprecated.
 
LONG_ARRAY - Static variable in interface net.fabricmc.fabric.api.serialization.v1.MoreCodecs
 
LONG_ARRAY - Static variable in class net.fabricmc.fabric.api.util.NbtType
Deprecated.
 
LootTableEvents - Class in net.fabricmc.fabric.api.loot.v3
Events for manipulating loot tables.
LootTableEvents.Loaded - Interface in net.fabricmc.fabric.api.loot.v3
 
LootTableEvents.Modify - Interface in net.fabricmc.fabric.api.loot.v3
 
LootTableEvents.ModifyDrops - Interface in net.fabricmc.fabric.api.loot.v3
 
LootTableEvents.Replace - Interface in net.fabricmc.fabric.api.loot.v3
 
LootTableSource - Enum Class in net.fabricmc.fabric.api.loot.v3
Describes where a loot table has been loaded from.

M

MACE_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
MAGENTA_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
MAGENTA_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
MAGENTA_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
MAGIC_DRINKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For consumable drinks that are magic in nature and usually grant at least one MobEffect when consumed.
manualOnly() - Element in annotation interface net.fabricmc.fabric.api.gametest.v1.GameTest
When set the test must be run manually.
map(BooleanFunction) - Method in enum class net.fabricmc.fabric.api.util.TriState
Maps the boolean value of this tri-state if it is TriState.TRUE or TriState.FALSE.
matches(ItemStack) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
Return true if the item and tag of this variant match those of the passed stack, and false otherwise.
maxAttempts() - Element in annotation interface net.fabricmc.fabric.api.gametest.v1.GameTest
The number of times the test should be re attempted if it fails.
maxLevel - Variable in class net.fabricmc.fabric.api.transfer.v1.fluid.CauldronFluidContent
maxTicks() - Element in annotation interface net.fabricmc.fabric.api.gametest.v1.GameTest
The maximum number of ticks the test is allowed to run for.
meanSquaredDifference(float) - Static method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonAlgorithm
The Mean Squared Difference algorithm computes the mean of differences between the needle pixels and corresponding haystack pixels squared, and checks if the mean is less than a particular threshold.
MELEE_WEAPON_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
A tag containing melee-based weapons for recipes and loot tables.
MELON_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
MELON_SEEDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
MILK - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
Holds all fluids related to milk.
MILK_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
MILK_DRINKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
MinecartComparatorLogic<T> - Interface in net.fabricmc.fabric.api.object.builder.v1.entity
Provides custom comparator output for minecarts resting on detector rails.
MinecartComparatorLogicRegistry - Class in net.fabricmc.fabric.api.object.builder.v1.entity
MINECARTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEntityTypeTags
 
minecraft() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.PictureInPictureRendererRegistry.Context
 
MINING_TOOL_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
A tag containing mining-based tools for recipes and loot tables.
minValue(Double) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.DoubleRuleBuilder
 
minValue(Integer) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.IntegerRuleBuilder
 
minValue(T) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.NumberRuleBuilder
 
MISC_OVERLAYS - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla miscellaneous overlays (such as vignette, spyglass, and powder snow) element.
Mob(MobCategory, EntityType.EntityFactory) - Constructor for class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
MOB_CONVERSION - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents
An event that is called when a mob has been converted to another type.
MOB_EFFECTS - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla mob effects element.
mobCategory(MobCategory) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
 
mobCategory(MobCategory) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
mobCategory(MobCategory) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
MOD - Enum constant in enum class net.fabricmc.fabric.api.item.v1.EnchantmentSource
An enchantment loaded from mods' bundled resources.
MOD - Enum constant in enum class net.fabricmc.fabric.api.loot.v3.LootTableSource
A loot table loaded from mods' bundled resources.
MODDED - Enum constant in enum class net.fabricmc.fabric.api.event.registry.RegistryAttribute
Registry has been modded.
Modded Resource Pack Handling - Section in package net.fabricmc.fabric.api.resource
 
Modded Resource Pack Handling - Section in package net.fabricmc.fabric.api.resource.v1
 
modelId(Identifier) - Method in interface net.fabricmc.fabric.api.item.v1.FabricItem.Properties
Sets the model of the item to static Identifier.
ModelLayerRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1
A helpers for registering model layers and providers for the layer's definition.
ModelLayerRegistry.TexturedArmorModelSetProvider - Interface in net.fabricmc.fabric.api.client.rendering.v1
 
ModelLayerRegistry.TexturedLayerDefinitionProvider - Interface in net.fabricmc.fabric.api.client.rendering.v1
 
MODELS - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
Deprecated.
 
MODELS - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
ModificationPhase - Enum Class in net.fabricmc.fabric.api.biome.v1
To achieve a predictable order for biome modifiers, and to aid with mod compatibility, modifiers need to declare the phase in which they will be applied.
modify(Collection, BiConsumer) - Method in interface net.fabricmc.fabric.api.item.v1.DefaultItemComponentEvents.ModifyContext
Modify the default data components of the specified items.
modify(Predicate, BiConsumer) - Method in interface net.fabricmc.fabric.api.item.v1.DefaultItemComponentEvents.ModifyContext
Modify the default data components of the specified item.
modify(DefaultItemComponentEvents.ModifyContext) - Method in interface net.fabricmc.fabric.api.item.v1.DefaultItemComponentEvents.ModifyCallback
Modify the default data components of items using the provided DefaultItemComponentEvents.ModifyContext instance.
modify(ResourceKey, Enchantment.Builder, EnchantmentSource) - Method in interface net.fabricmc.fabric.api.item.v1.EnchantmentEvents.Modify
Modifies the effects of an Enchantment.
modify(Item, Consumer) - Method in interface net.fabricmc.fabric.api.item.v1.DefaultItemComponentEvents.ModifyContext
Modify the default data components of the specified item.
MODIFY - Static variable in class net.fabricmc.fabric.api.item.v1.DefaultItemComponentEvents
Event used to add or remove data components to known items.
MODIFY - Static variable in class net.fabricmc.fabric.api.item.v1.EnchantmentEvents
An event that allows an Enchantment to be modified without needing to fully override an enchantment.
MODIFY - Static variable in class net.fabricmc.fabric.api.loot.v3.LootTableEvents
This event can be used to modify loot tables.
MODIFY_ATTRIBUTES - Static variable in class net.fabricmc.fabric.api.dimension.v1.DimensionEvents
This event can be used to modify the environment attributes of a dimension.
MODIFY_CHAT - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents
An event triggered when the client sends a chat message, typically from a client GUI.
MODIFY_COMMAND - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents
An event triggered when the client sends a command, which is whenever the player executes a command including client commands registered with fabric-command-api.
MODIFY_DROPS - Static variable in class net.fabricmc.fabric.api.loot.v3.LootTableEvents
This event can be used for cases where the LootTableEvents.MODIFY and LootTableEvents.REPLACE events are inconvenient, such as when you are modifying the result of many loot tables that are unknown, and don't wish to add a custom loot function to every table.
MODIFY_GAME - Static variable in class net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents
An event triggered when the client receives a game message, which is any message sent by the server.
MODIFY_OUTPUT_ALL - Static variable in class net.fabricmc.fabric.api.creativetab.v1.CreativeModeTabEvents
This event allows the output of any creative mode tab to be modified.
MODIFY_SLEEPING_DIRECTION - Static variable in class net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents
An event that can be used to provide the entity's sleep direction if missing.
MODIFY_WAKE_UP_POSITION - Static variable in class net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents
An event that can be used to provide the entity's wake-up position if missing.
modifyAttached(AttachmentType, UnaryOperator) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
Modifies the data associated with the given AttachmentType.
modifyDimensionAttributes(Holder, EnvironmentAttributeMap.Builder, HolderLookup.Provider) - Method in interface net.fabricmc.fabric.api.dimension.v1.DimensionEvents.ModifyAttributes
 
modifyLootTable(ResourceKey, LootTable.Builder, LootTableSource, HolderLookup.Provider) - Method in interface net.fabricmc.fabric.api.loot.v3.LootTableEvents.Modify
Called when a loot table is loading to modify loot tables.
modifyLootTableDrops(Holder, LootContext, List) - Method in interface net.fabricmc.fabric.api.loot.v3.LootTableEvents.ModifyDrops
Called after a loot table is finished generating drops to modify drops.
modifyOutput(FabricCreativeModeTabOutput) - Method in interface net.fabricmc.fabric.api.creativetab.v1.CreativeModeTabEvents.ModifyOutput
Modifies the creative mode tab output.
modifyOutput(CreativeModeTab, FabricCreativeModeTabOutput) - Method in interface net.fabricmc.fabric.api.creativetab.v1.CreativeModeTabEvents.ModifyOutputAll
Modifies the creative mode tab output.
modifyOutputEvent(ResourceKey) - Static method in class net.fabricmc.fabric.api.creativetab.v1.CreativeModeTabEvents
Returns the modify output event for a specific creative mode tab.
modifyPools(Consumer) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootTableBuilder
Modifies all loot pools already present in this builder.
modifyReceivedGameMessage(Component, boolean) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents.ModifyGame
Called when the client receives a game message, which is any message sent by the server.
modifySendChatMessage(String) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents.ModifyChat
Called when the client sends a chat message, typically from a client GUI.
modifySendCommandMessage(String) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents.ModifyCommand
Called when the client sends a command, which is whenever the player executes a command including client commands registered with fabric-command-api.
modifySleepDirection(LivingEntity, BlockPos, Direction) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents.ModifySleepingDirection
Modifies or provides a sleeping direction for a block.
modifyWakeUpPosition(LivingEntity, BlockPos, BlockState, Vec3) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents.ModifyWakeUpPosition
Modifies or provides a wake-up position for an entity waking up.
ModPackResources - Interface in net.fabricmc.fabric.api.resource.v1.pack
Interface implemented by mod-provided resource packs.
ModResourcePack - Interface in net.fabricmc.fabric.api.resource
Deprecated.
MoreCodecs - Interface in net.fabricmc.fabric.api.serialization.v1
Additional codecs that can be used by modders.
More technical explanation - Section in class net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
 
MOSSY_COBBLESTONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
MOSSY_COBBLESTONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
Most key mappings will only react to this when a tick is waited. - Section in net.fabricmc.fabric.api.client.gametest.v1.TestInput.releaseKey(Function)
 
Most key mappings will only react to this when a tick is waited. - Section in net.fabricmc.fabric.api.client.gametest.v1.TestInput.releaseKey(InputConstants.Key)
 
Most key mappings will only react to this when a tick is waited. - Section in net.fabricmc.fabric.api.client.gametest.v1.TestInput.releaseKey(KeyMapping)
 
Most key mappings will only react to this when a tick is waited. - Section in net.fabricmc.fabric.api.client.gametest.v1.TestInput.releaseKey(int)
 
Most key mappings will only react to this when a tick is waited. - Section in net.fabricmc.fabric.api.client.gametest.v1.TestInput.releaseMouse(int)
 
Most key mappings will only start reacting to this when a tick is waited. - Section in net.fabricmc.fabric.api.client.gametest.v1.TestInput.holdKey(Function)
 
Most key mappings will only start reacting to this when a tick is waited. - Section in net.fabricmc.fabric.api.client.gametest.v1.TestInput.holdKey(InputConstants.Key)
 
Most key mappings will only start reacting to this when a tick is waited. - Section in net.fabricmc.fabric.api.client.gametest.v1.TestInput.holdKey(KeyMapping)
 
Most key mappings will only start reacting to this when a tick is waited. - Section in net.fabricmc.fabric.api.client.gametest.v1.TestInput.holdKey(int)
 
Most key mappings will only start reacting to this when a tick is waited. - Section in net.fabricmc.fabric.api.client.gametest.v1.TestInput.holdMouse(int)
 
MOUNT_HEALTH - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla mount health.
move(Storage, Storage, Predicate, long, TransactionContext) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Move resources between two storages, matching the passed filter, and return the amount that was successfully transferred.
moveCursor(double, double) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Moves the cursor position.
MUSHROOM_STEW - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
Holds all fluids related to Mushroom Stew.
MUSHROOMS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Small mushroom items.
MUSIC_DISCS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For music disc-like materials to be used in recipes.

N

NATURAL_LOGS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
For logs, including Stems, found naturally that have not been stripped.
NATURAL_LOGS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For logs, including Stems, found naturally that have not been stripped.
NATURAL_WOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
For six-sided wood blocks, including Hyphae, found naturally that have not been stripped.
NATURAL_WOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For six-sided wood blocks, including Hyphae, found naturally that have not been stripped.
NAUTILUS_ARMORS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
A tag containing armor that can fit on a Nautilus.
NBT_ATTACHMENT_KEY - Static variable in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
 
NbtType - Class in net.fabricmc.fabric.api.util
Deprecated.
Use the constants in Tag instead.
nestingDepth() - Method in interface net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext
 
net.fabricmc.fabric.api.attachment.v1 - package net.fabricmc.fabric.api.attachment.v1
API code for fabric-data-attachment-api-v1.
net.fabricmc.fabric.api.biome.v1 - package net.fabricmc.fabric.api.biome.v1
API code for fabric-biome-api-v1.
net.fabricmc.fabric.api.block - package net.fabricmc.fabric.api.block
API code for fabric-events-interaction-v0.
net.fabricmc.fabric.api.block.v1 - package net.fabricmc.fabric.api.block.v1
API code for fabric-block-api-v1.
net.fabricmc.fabric.api.blockgetter.v2 - package net.fabricmc.fabric.api.blockgetter.v2
API code for fabric-block-getter-api-v2.
net.fabricmc.fabric.api.client.command.v2 - package net.fabricmc.fabric.api.client.command.v2
API for creating client-sided commands.
net.fabricmc.fabric.api.client.creativetab.v1 - package net.fabricmc.fabric.api.client.creativetab.v1
API code for fabric-creative-tab-api-v1.
net.fabricmc.fabric.api.client.datagen.v1.builder - package net.fabricmc.fabric.api.client.datagen.v1.builder
API code for fabric-data-generation-api-v1.
net.fabricmc.fabric.api.client.datagen.v1.provider - package net.fabricmc.fabric.api.client.datagen.v1.provider
API code for fabric-data-generation-api-v1.
net.fabricmc.fabric.api.client.debug.v1 - package net.fabricmc.fabric.api.client.debug.v1
API code for fabric-debug-api-v1.
net.fabricmc.fabric.api.client.debug.v1.renderer - package net.fabricmc.fabric.api.client.debug.v1.renderer
API code for fabric-debug-api-v1.
net.fabricmc.fabric.api.client.event.lifecycle.v1 - package net.fabricmc.fabric.api.client.event.lifecycle.v1
API code for fabric-lifecycle-events-v1.
net.fabricmc.fabric.api.client.gametest.v1 - package net.fabricmc.fabric.api.client.gametest.v1
Provides support for client gametests.
net.fabricmc.fabric.api.client.gametest.v1.context - package net.fabricmc.fabric.api.client.gametest.v1.context
 
net.fabricmc.fabric.api.client.gametest.v1.screenshot - package net.fabricmc.fabric.api.client.gametest.v1.screenshot
 
net.fabricmc.fabric.api.client.gametest.v1.world - package net.fabricmc.fabric.api.client.gametest.v1.world
 
net.fabricmc.fabric.api.client.item.v1 - package net.fabricmc.fabric.api.client.item.v1
API code for fabric-item-api-v1.
net.fabricmc.fabric.api.client.keymapping.v1 - package net.fabricmc.fabric.api.client.keymapping.v1
API code for fabric-key-mapping-api-v1.
net.fabricmc.fabric.api.client.message.v1 - package net.fabricmc.fabric.api.client.message.v1
API code for fabric-message-api-v1.
net.fabricmc.fabric.api.client.networking.v1 - package net.fabricmc.fabric.api.client.networking.v1
The Networking API (client side), version 1.
net.fabricmc.fabric.api.client.particle.v1 - package net.fabricmc.fabric.api.client.particle.v1
API code for fabric-particles-v1.
net.fabricmc.fabric.api.client.recipe.v1.sync - package net.fabricmc.fabric.api.client.recipe.v1.sync
API code for fabric-recipe-api-v1.
net.fabricmc.fabric.api.client.render.fluid.v1 - package net.fabricmc.fabric.api.client.render.fluid.v1
API code for fabric-rendering-fluids-v1.
net.fabricmc.fabric.api.client.rendering.v1 - package net.fabricmc.fabric.api.client.rendering.v1
API code for fabric-rendering-v1.
net.fabricmc.fabric.api.client.rendering.v1.advancement - package net.fabricmc.fabric.api.client.rendering.v1.advancement
API code for fabric-rendering-v1.
net.fabricmc.fabric.api.client.rendering.v1.hud - package net.fabricmc.fabric.api.client.rendering.v1.hud
API code for fabric-rendering-v1.
net.fabricmc.fabric.api.client.rendering.v1.level - package net.fabricmc.fabric.api.client.rendering.v1.level
API code for fabric-rendering-v1.
net.fabricmc.fabric.api.client.screen.v1 - package net.fabricmc.fabric.api.client.screen.v1
Fabric Screen API v1.
net.fabricmc.fabric.api.client.sound.v1 - package net.fabricmc.fabric.api.client.sound.v1
API code for fabric-sound-api-v1.
net.fabricmc.fabric.api.command.v2 - package net.fabricmc.fabric.api.command.v2
API code for fabric-command-api-v2.
net.fabricmc.fabric.api.creativetab.v1 - package net.fabricmc.fabric.api.creativetab.v1
API code for fabric-creative-tab-api-v1.
net.fabricmc.fabric.api.datagen.v1 - package net.fabricmc.fabric.api.datagen.v1
The Data Generation API, version 1.
net.fabricmc.fabric.api.datagen.v1.loot - package net.fabricmc.fabric.api.datagen.v1.loot
API code for fabric-data-generation-api-v1.
net.fabricmc.fabric.api.datagen.v1.provider - package net.fabricmc.fabric.api.datagen.v1.provider
API code for fabric-data-generation-api-v1.
net.fabricmc.fabric.api.datagen.v1.recipe - package net.fabricmc.fabric.api.datagen.v1.recipe
API code for fabric-data-generation-api-v1.
net.fabricmc.fabric.api.debug.v1 - package net.fabricmc.fabric.api.debug.v1
API code for fabric-debug-api-v1.
net.fabricmc.fabric.api.dimension.v1 - package net.fabricmc.fabric.api.dimension.v1
API code for fabric-dimensions-v1.
net.fabricmc.fabric.api.entity - package net.fabricmc.fabric.api.entity
API code for fabric-events-interaction-v0.
net.fabricmc.fabric.api.entity.event.v1 - package net.fabricmc.fabric.api.entity.event.v1
API code for fabric-entity-events-v1.
net.fabricmc.fabric.api.entity.event.v1.effect - package net.fabricmc.fabric.api.entity.event.v1.effect
API code for fabric-entity-events-v1.
net.fabricmc.fabric.api.event - package net.fabricmc.fabric.api.event
API code for fabric-api-base.
net.fabricmc.fabric.api.event.client.player - package net.fabricmc.fabric.api.event.client.player
API code for fabric-events-interaction-v0.
net.fabricmc.fabric.api.event.lifecycle.v1 - package net.fabricmc.fabric.api.event.lifecycle.v1
API code for fabric-lifecycle-events-v1.
net.fabricmc.fabric.api.event.player - package net.fabricmc.fabric.api.event.player
API code for fabric-events-interaction-v0.
net.fabricmc.fabric.api.event.registry - package net.fabricmc.fabric.api.event.registry
API code for fabric-registry-sync-v0.
net.fabricmc.fabric.api.gamerule.v1 - package net.fabricmc.fabric.api.gamerule.v1
API code for fabric-game-rule-api-v1.
net.fabricmc.fabric.api.gametest.v1 - package net.fabricmc.fabric.api.gametest.v1
Provides support for GameTest framework.
net.fabricmc.fabric.api.item.v1 - package net.fabricmc.fabric.api.item.v1
API code for fabric-item-api-v1.
net.fabricmc.fabric.api.lookup.v1.block - package net.fabricmc.fabric.api.lookup.v1.block
API code for fabric-api-lookup-api-v1.
net.fabricmc.fabric.api.lookup.v1.custom - package net.fabricmc.fabric.api.lookup.v1.custom
API code for fabric-api-lookup-api-v1.
net.fabricmc.fabric.api.lookup.v1.entity - package net.fabricmc.fabric.api.lookup.v1.entity
API code for fabric-api-lookup-api-v1.
net.fabricmc.fabric.api.lookup.v1.item - package net.fabricmc.fabric.api.lookup.v1.item
API code for fabric-api-lookup-api-v1.
net.fabricmc.fabric.api.loot.v3 - package net.fabricmc.fabric.api.loot.v3
The Fabric Loot API for manipulating and creating loot tables.
net.fabricmc.fabric.api.menu.v1 - package net.fabricmc.fabric.api.menu.v1
The Fabric menu API for creating menu and menu types.
net.fabricmc.fabric.api.message.v1 - package net.fabricmc.fabric.api.message.v1
API code for fabric-message-api-v1.
net.fabricmc.fabric.api.networking.v1 - package net.fabricmc.fabric.api.networking.v1
The Networking API, version 1.
net.fabricmc.fabric.api.networking.v1.context - package net.fabricmc.fabric.api.networking.v1.context
API code for fabric-networking-api-v1.
net.fabricmc.fabric.api.object.builder.v1.block.entity - package net.fabricmc.fabric.api.object.builder.v1.block.entity
API code for fabric-object-builder-api-v1.
net.fabricmc.fabric.api.object.builder.v1.block.type - package net.fabricmc.fabric.api.object.builder.v1.block.type
API code for fabric-object-builder-api-v1.
net.fabricmc.fabric.api.object.builder.v1.entity - package net.fabricmc.fabric.api.object.builder.v1.entity
API code for fabric-object-builder-api-v1.
net.fabricmc.fabric.api.object.builder.v1.world.poi - package net.fabricmc.fabric.api.object.builder.v1.world.poi
API code for fabric-object-builder-api-v1.
net.fabricmc.fabric.api.particle.v1 - package net.fabricmc.fabric.api.particle.v1
API code for fabric-particles-v1.
net.fabricmc.fabric.api.recipe.v1 - package net.fabricmc.fabric.api.recipe.v1
API code for fabric-recipe-api-v1.
net.fabricmc.fabric.api.recipe.v1.ingredient - package net.fabricmc.fabric.api.recipe.v1.ingredient
API code for fabric-recipe-api-v1.
net.fabricmc.fabric.api.recipe.v1.sync - package net.fabricmc.fabric.api.recipe.v1.sync
API code for fabric-recipe-api-v1.
net.fabricmc.fabric.api.registry - package net.fabricmc.fabric.api.registry
Includes methods for registering in-game logics.
net.fabricmc.fabric.api.resource - package net.fabricmc.fabric.api.resource
The Resource Loader, version 0.
net.fabricmc.fabric.api.resource.conditions.v1 - package net.fabricmc.fabric.api.resource.conditions.v1
Provides a way of conditionally loading JSON-based resources.
net.fabricmc.fabric.api.resource.v1 - package net.fabricmc.fabric.api.resource.v1
The Resource Loader, version 1.
net.fabricmc.fabric.api.resource.v1.pack - package net.fabricmc.fabric.api.resource.v1.pack
API code for fabric-resource-loader-v1.
net.fabricmc.fabric.api.resource.v1.reloader - package net.fabricmc.fabric.api.resource.v1.reloader
API code for fabric-resource-loader-v1.
net.fabricmc.fabric.api.serialization.v1 - package net.fabricmc.fabric.api.serialization.v1
API code for fabric-serialization-api-v1.
net.fabricmc.fabric.api.serialization.v1.value - package net.fabricmc.fabric.api.serialization.v1.value
API code for fabric-serialization-api-v1.
net.fabricmc.fabric.api.tag - package net.fabricmc.fabric.api.tag
API code for fabric-convention-tags-v2.
net.fabricmc.fabric.api.tag.client.v1 - package net.fabricmc.fabric.api.tag.client.v1
API code for fabric-tag-api-v1.
net.fabricmc.fabric.api.tag.convention.v2 - package net.fabricmc.fabric.api.tag.convention.v2
API code for fabric-convention-tags-v2.
net.fabricmc.fabric.api.transfer.v1.client.fluid - package net.fabricmc.fabric.api.transfer.v1.client.fluid
API code for fabric-transfer-api-v1.
net.fabricmc.fabric.api.transfer.v1.context - package net.fabricmc.fabric.api.transfer.v1.context
API code for fabric-transfer-api-v1.
net.fabricmc.fabric.api.transfer.v1.fluid - package net.fabricmc.fabric.api.transfer.v1.fluid
API code for fabric-transfer-api-v1.
net.fabricmc.fabric.api.transfer.v1.fluid.base - package net.fabricmc.fabric.api.transfer.v1.fluid.base
API code for fabric-transfer-api-v1.
net.fabricmc.fabric.api.transfer.v1.item - package net.fabricmc.fabric.api.transfer.v1.item
API code for fabric-transfer-api-v1.
net.fabricmc.fabric.api.transfer.v1.item.base - package net.fabricmc.fabric.api.transfer.v1.item.base
API code for fabric-transfer-api-v1.
net.fabricmc.fabric.api.transfer.v1.storage - package net.fabricmc.fabric.api.transfer.v1.storage
API code for fabric-transfer-api-v1.
net.fabricmc.fabric.api.transfer.v1.storage.base - package net.fabricmc.fabric.api.transfer.v1.storage.base
API code for fabric-transfer-api-v1.
net.fabricmc.fabric.api.transfer.v1.transaction - package net.fabricmc.fabric.api.transfer.v1.transaction
API code for fabric-transfer-api-v1.
net.fabricmc.fabric.api.transfer.v1.transaction.base - package net.fabricmc.fabric.api.transfer.v1.transaction.base
API code for fabric-transfer-api-v1.
net.fabricmc.fabric.api.util - package net.fabricmc.fabric.api.util
API code for fabric-api-base.
NETHER_BRICK_FENCES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
NETHER_BRICK_FENCES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
NETHER_BRICKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
NETHER_NATURAL_LOGS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
For logs, including Stems, found naturally in the Nether, does not include Stripped Logs.
NETHER_NATURAL_LOGS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For logs, including Stems, found naturally in the Nether, does not include Stripped Logs.
NETHER_STARS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
NETHER_WART_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
NetherBiomes - Class in net.fabricmc.fabric.api.biome.v1
API that exposes the internals of Minecraft's nether biome code.
NETHERITE_INGOTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
NETHERITE_SCRAP_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
NETHERITE_SCRAP_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
NETHERRACKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
NETHERRACKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
Network synchronization - Section in package net.fabricmc.fabric.api.client.gametest.v1
 
NO_DEFAULT_MONSTERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
For biomes that should not spawn monsters over time the normal way.
NO_TIMEOUT - Static variable in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Used to specify that a wait task should have no timeout.
NONE - Enum constant in enum class net.fabricmc.fabric.api.transfer.v1.transaction.Transaction.Lifecycle
No transaction is currently open or closing.
nonEmptyIterator() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Same as Storage.iterator(), but the iterator is guaranteed to skip over empty views, i.e.
nonEmptyViews() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Convenient helper to get an Iterable over the non-empty views of this storage, for use in for-each loops.
NORMAL - Enum constant in enum class net.fabricmc.fabric.api.resource.ResourcePackActivationType
Deprecated.
Normal activation.
NORMAL - Enum constant in enum class net.fabricmc.fabric.api.resource.v1.pack.PackActivationType
Normal activation.
NORMAL_BRICKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
NORMAL_COBBLESTONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
NORMAL_COBBLESTONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
NORMAL_OBSIDIANS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
For common obsidian that has no special quirks or behaviors.
NORMAL_OBSIDIANS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For common obsidian that has no special quirks or behaviors.
NORMAL_PUMPKINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
For pumpkins that are not carved.
NORMAL_PUMPKINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For pumpkins that are not carved.
not(ResourceCondition) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
A condition that passes if condition does not pass.
notBlank(TransferVariant) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StoragePreconditions
Ensure that the passed transfer variant is not blank.
notBlankNotNegative(TransferVariant, long) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StoragePreconditions
Check both for a not blank transfer variant and a not negative amount.
notNegative(long) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StoragePreconditions
Ensure that the passed amount is not negative.
NUGGET - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
NUGGETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
NumberRuleBuilder(T) - Constructor for class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.NumberRuleBuilder
 

O

OBSIDIANS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
OBSIDIANS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
of() - Static method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder
Creates a new empty builder.
of(boolean) - Static method in enum class net.fabricmc.fabric.api.util.TriState
Gets the corresponding tri-state from a boolean value.
of(NativeImage) - Static method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonOptions
Use the given image as the template image.
of(Boolean) - Static method in enum class net.fabricmc.fabric.api.util.TriState
Gets a tri-state from a nullable boxed boolean.
of(String) - Static method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonOptions
Load the template image from a path.
of(String) - Static method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotOptions
Creates a TestScreenshotOptions with the given screenshot name.
of(Storage, boolean, boolean) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
Return a wrapper over the passed storage that may prevent insertion or extraction, depending on the boolean parameters.
of(SoundEvent) - Static method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder
Creates a new builder pre-filled with a subtitle translation key string based on the passed event.
of(Container, Direction) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.ContainerStorage
Return a wrapper around an Container.
of(Inventory) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
Return an instance for the passed player inventory.
of(Player) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
Return an instance for the passed player's inventory.
of(ItemStack) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
Retrieve an ItemVariant with the item and tag of a stack.
of(ItemLike) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
Retrieve an ItemVariant with an item and without a tag.
of(ItemLike, DataComponentPatch) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
Retrieve an ItemVariant with an item and an optional tag.
of(Fluid) - Static method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
Retrieve a FluidVariant with a fluid, and a null tag.
of(Fluid, DataComponentPatch) - Static method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
Retrieve a FluidVariant with a fluid, and an optional tag.
ofEvent(Holder) - Static method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
Creates a builder for constructing a new sound event registration.
ofEvent(SoundEvent) - Static method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
Creates a builder for constructing a new sound event registration.
offer(ItemVariant, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
Try to add items to the inventory if possible, stacking like Inventory.placeItemBackInInventory(ItemStack).
offerOrDrop(ItemVariant, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
Add items to the inventory if possible, and drop any leftover items in the world, similar to Inventory.placeItemBackInInventory(ItemStack).
ofFile(Identifier) - Static method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
Creates a builder for constructing a new sound event registration.
ofPlayerCursor(Player, AbstractContainerMenu) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Return a context for the passed player's cursor slot.
ofPlayerHand(Player, InteractionHand) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Return a context for the passed player's hand.
ofPlayerSlot(Player, SingleSlotStorage) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Return a context for a slot, with the passed player as fallback.
ofSingleSlot(SingleSlotStorage) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Return a context for a single slot, with no fallback.
OMINOUS_DRINKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For drinks that always grant the Bad Omen effect.
onAfterSave(MinecraftServer, boolean, boolean) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.AfterSave
Called before a Minecraft server begins saving data.
onAttachedSet(A, A) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget.OnAttachedSet
Called after the attachment is set on this target.
onAttachedSet(AttachmentType) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
Provides an Event that lets the listener know when the target has its AttachmentType attachment changed.
onAttackInteraction(BlockState, Level, BlockPos, Player, InteractionHand, Direction) - Method in interface net.fabricmc.fabric.api.block.BlockAttackInteractionAware
Deprecated.
 
onBeforeSave(MinecraftServer, boolean, boolean) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.BeforeSave
Called before a Minecraft server begins saving data.
onBlockBreakCanceled(Level, Player, BlockPos, BlockState, BlockEntity) - Method in interface net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents.Canceled
Called when a block break has been canceled.
onChange(LivingEntity, EquipmentSlot, ItemStack, ItemStack) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents.EquipmentChange
 
onChannelRegister(ClientConfigurationPacketListenerImpl, PacketSender, Minecraft, List) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ServerboundConfigurationChannelEvents.Register
 
onChannelRegister(ClientPacketListener, PacketSender, Minecraft, List) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ServerboundPlayChannelEvents.Register
 
onChannelRegister(ServerConfigurationPacketListenerImpl, PacketSender, MinecraftServer, List) - Method in interface net.fabricmc.fabric.api.networking.v1.ClientboundConfigurationChannelEvents.Register
 
onChannelRegister(ServerGamePacketListenerImpl, PacketSender, MinecraftServer, List) - Method in interface net.fabricmc.fabric.api.networking.v1.ClientboundPlayChannelEvents.Register
 
onChannelUnregister(ClientConfigurationPacketListenerImpl, PacketSender, Minecraft, List) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ServerboundConfigurationChannelEvents.Unregister
 
onChannelUnregister(ClientPacketListener, PacketSender, Minecraft, List) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ServerboundPlayChannelEvents.Unregister
 
onChannelUnregister(ServerConfigurationPacketListenerImpl, PacketSender, MinecraftServer, List) - Method in interface net.fabricmc.fabric.api.networking.v1.ClientboundConfigurationChannelEvents.Unregister
 
onChannelUnregister(ServerGamePacketListenerImpl, PacketSender, MinecraftServer, List) - Method in interface net.fabricmc.fabric.api.networking.v1.ClientboundPlayChannelEvents.Unregister
 
onChatMessage(PlayerChatMessage, ServerPlayer, ChatType.Bound) - Method in interface net.fabricmc.fabric.api.message.v1.ServerMessageEvents.ChatMessage
Called when the server broadcasts a chat message sent by a player, typically from a client GUI or a player-executed command.
onChunkGenerate(ServerLevel, LevelChunk) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents.Generate
 
onChunkLoad(ClientLevel, LevelChunk) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientChunkEvents.Load
 
onChunkLoad(ServerLevel, LevelChunk, boolean) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents.Load
 
onChunkUnload(ClientLevel, LevelChunk) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientChunkEvents.Unload
 
onChunkUnload(ServerLevel, LevelChunk) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents.Unload
 
onClientPlayerPreAttack(Minecraft, LocalPlayer, int) - Method in interface net.fabricmc.fabric.api.event.client.player.ClientPreAttackCallback
 
onClientStarted(Minecraft) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents.ClientStarted
 
onClientStopping(Minecraft) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents.ClientStopping
 
onClose(TransactionContext, TransactionContext.Result) - Method in class net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
 
onClose(TransactionContext, TransactionContext.Result) - Method in interface net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.CloseCallback
Perform an action when a transaction is closed.
onCommandMessage(PlayerChatMessage, CommandSourceStack, ChatType.Bound) - Method in interface net.fabricmc.fabric.api.message.v1.ServerMessageEvents.CommandMessage
Called when the server broadcasts a command message to all players, such as one from /me and /say (but not ones that specify the recipients like /msg).
onConfigurationComplete(ClientConfigurationPacketListenerImpl, Minecraft) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents.Complete
 
onConfigurationDisconnect(ClientConfigurationPacketListenerImpl, Minecraft) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents.Disconnect
 
onConfigurationInit(ClientConfigurationPacketListenerImpl, Minecraft) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents.Init
 
onConfigurationReady(ClientConfigurationPacketListenerImpl, Minecraft) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents.Ready
Deprecated.
 
onConfigurationStart(ClientConfigurationPacketListenerImpl, Minecraft) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents.Start
 
onConfigureDisconnect(ServerConfigurationPacketListenerImpl, MinecraftServer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerConfigurationConnectionEvents.Disconnect
 
onConversion(Mob, Mob, ConversionParams) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents.MobConversion
Called when a mob is converted to another type.
onEffectAdded(MobEffectInstance, LivingEntity) - Method in interface net.fabricmc.fabric.api.entity.event.v1.effect.FabricMobEffect
Called before an instance of this effect has been added to a living entity.
onEffectRemoved(MobEffectInstance, LivingEntity) - Method in interface net.fabricmc.fabric.api.entity.event.v1.effect.FabricMobEffect
Called before an instance of this effect has been removed from a living entity.
onEffectStarted(MobEffectInstance, LivingEntity) - Method in interface net.fabricmc.fabric.api.entity.event.v1.effect.FabricMobEffect
Called after an instance of this effect has been added to a living entity.
onEndTick(Minecraft) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.EndTick
 
onEndTick(ClientLevel) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.EndLevelTick
 
onEndTick(ServerLevel) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.EndLevelTick
 
onEndTick(MinecraftServer) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.EndTick
 
onEntryAdded(int, Identifier, T) - Method in interface net.fabricmc.fabric.api.event.registry.RegistryEntryAddedCallback
Called when a new entry is added to the registry.
onFinalCommit() - Method in class net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
Called after an outer transaction succeeded, to perform irreversible actions such as setChanged() or neighbor updates.
onFullChunkStatusChange(ServerLevel, LevelChunk, FullChunkStatus, FullChunkStatus) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents.FullChunkStatusChange
 
onGameMessage(MinecraftServer, Component, boolean) - Method in interface net.fabricmc.fabric.api.message.v1.ServerMessageEvents.GameMessage
Called when the server broadcasts a game message to all players.
onGameRuleUpdated(T, MinecraftServer) - Method in interface net.fabricmc.fabric.api.gamerule.v1.GameRuleEvents.ValueUpdate
Called when a GameRule's value is updated in the server.
onHudRender(GuiGraphics, DeltaTracker) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback
Deprecated.
Called after rendering the whole hud, which is displayed in game, in a level.
onInitializeDataGenerator(FabricDataGenerator) - Method in interface net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint
Register DataProvider with the FabricDataGenerator during this entrypoint.
onInvalidate() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.InvalidateRenderStateCallback
 
onJoin(ServerPlayer) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents.Join
Called when a player has joined the game.
onLeave(ServerPlayer) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents.Leave
Called when a player is leaving the game.
onLevelLoad(MinecraftServer, ServerLevel) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLevelEvents.Load
 
onLevelUnload(MinecraftServer, ServerLevel) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLevelEvents.Unload
 
onLoad(Entity, ClientLevel) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientEntityEvents.Load
 
onLoad(Entity, ServerLevel) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents.Load
 
onLoad(BlockEntity, ClientLevel) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientBlockEntityEvents.Load
 
onLoad(BlockEntity, ServerLevel) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerBlockEntityEvents.Load
 
onLoginDisconnect(ClientHandshakePacketListenerImpl, Minecraft) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientLoginConnectionEvents.Disconnect
 
onLoginDisconnect(ServerLoginPacketListenerImpl, MinecraftServer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerLoginConnectionEvents.Disconnect
 
onLoginInit(ServerLoginPacketListenerImpl, MinecraftServer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerLoginConnectionEvents.Init
 
onLoginQueryStart(ClientHandshakePacketListenerImpl, Minecraft) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientLoginConnectionEvents.QueryStart
 
onLoginStart(ClientHandshakePacketListenerImpl, Minecraft) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientLoginConnectionEvents.Init
 
onLoginStart(ServerLoginPacketListenerImpl, MinecraftServer, LoginPacketSender, ServerLoginNetworking.LoginSynchronizer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerLoginConnectionEvents.QueryStart
 
onLootTablesLoaded(ResourceManager, Registry) - Method in interface net.fabricmc.fabric.api.loot.v3.LootTableEvents.Loaded
Called when all loot tables have been loaded and LootTableEvents.REPLACE and LootTableEvents.MODIFY have been invoked.
onPickItemFromBlock(ServerPlayer, BlockPos, BlockState, boolean) - Method in interface net.fabricmc.fabric.api.event.player.PlayerPickItemEvents.PickItemFromBlock
Determines the pick item stack to give to a player that is attempting to pick an item from a block.
onPickItemFromEntity(ServerPlayer, Entity, boolean) - Method in interface net.fabricmc.fabric.api.event.player.PlayerPickItemEvents.PickItemFromEntity
Determines the pick item stack to give to a player that is attempting to pick an item from a entity.
onPlayDisconnect(ClientPacketListener, Minecraft) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents.Disconnect
 
onPlayDisconnect(ServerGamePacketListenerImpl, MinecraftServer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents.Disconnect
 
onPlayInit(ClientPacketListener, Minecraft) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents.Init
 
onPlayInit(ServerGamePacketListenerImpl, MinecraftServer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents.Init
 
onPlayReady(ClientPacketListener, PacketSender, Minecraft) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents.Join
 
onPlayReady(ServerGamePacketListenerImpl, PacketSender, MinecraftServer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents.Join
 
onReceiveChatMessage(Component, PlayerChatMessage, GameProfile, ChatType.Bound, Instant) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents.Chat
Called when the client receives a chat message, which is any message sent by a player.
onReceiveChatMessageCanceled(Component, PlayerChatMessage, GameProfile, ChatType.Bound, Instant) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents.ChatCanceled
Called when receiving a chat message is canceled with ClientReceiveMessageEvents.ALLOW_CHAT.
onReceiveGameMessage(Component, boolean) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents.Game
Called when the client receives a game message, which is any message sent by the server.
onReceiveGameMessageCanceled(Component, boolean) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents.GameCanceled
Called when receiving a game message is canceled with ClientReceiveMessageEvents.ALLOW_GAME.
onRecipesSynchronized(Minecraft, SynchronizedRecipes) - Method in interface net.fabricmc.fabric.api.client.recipe.v1.sync.ClientRecipeSynchronizedEvent
 
onRegistrySetup(DynamicRegistryView) - Method in interface net.fabricmc.fabric.api.event.registry.DynamicRegistrySetupCallback
 
onRemap(RegistryIdRemapCallback.RemapState) - Method in interface net.fabricmc.fabric.api.event.registry.RegistryIdRemapCallback
 
onRemove(Screen) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.Remove
 
onRenderItemDecorations(GuiGraphics, Font, ItemStack, int, int) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.RenderItemDecorationsCallback
 
onSendChatMessage(String) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents.Chat
Called when the client sends a chat message, typically from a client GUI.
onSendChatMessageCanceled(String) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents.ChatCanceled
Called when sending a chat message is canceled with ClientSendMessageEvents.ALLOW_CHAT.
onSendCommandMessage(String) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents.Command
Called when the client sends a command, which is whenever the player executes a command including client commands registered with fabric-command-api.
onSendCommandMessageCanceled(String) - Method in interface net.fabricmc.fabric.api.client.message.v1.ClientSendMessageEvents.CommandCanceled
Called when sending a command is canceled with ClientSendMessageEvents.ALLOW_COMMAND.
onSendConfiguration(ServerConfigurationPacketListenerImpl, MinecraftServer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerConfigurationConnectionEvents.Configure
 
onServerStarted(MinecraftServer) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.ServerStarted
 
onServerStarting(MinecraftServer) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.ServerStarting
 
onServerStopped(MinecraftServer) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.ServerStopped
 
onServerStopping(MinecraftServer) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.ServerStopping
 
onStartSleeping(LivingEntity, BlockPos) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents.StartSleeping
Called when an entity starts to sleep.
onStartTick(Minecraft) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.StartTick
 
onStartTick(ClientLevel) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.StartLevelTick
 
onStartTick(ServerLevel) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.StartLevelTick
 
onStartTick(MinecraftServer) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.StartTick
 
onStartTracking(Entity, ServerPlayer) - Method in interface net.fabricmc.fabric.api.networking.v1.EntityTrackingEvents.StartTracking
Called after a player has started tracking an entity.
onStopSleeping(LivingEntity, BlockPos) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents.StopSleeping
Called when an entity stops sleeping and wakes up.
onStopTracking(Entity, ServerPlayer) - Method in interface net.fabricmc.fabric.api.networking.v1.EntityTrackingEvents.StopTracking
Called before an entity stops getting tracked by a player.
onSyncDataPackContents(ServerPlayer, boolean) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.SyncDataPackContents
Called right before tags and recipes are sent to a player, either because the player joined, or because the server reloaded resources.
onTagsLoaded(RegistryAccess, boolean) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.CommonLifecycleEvents.TagsLoaded
 
onUnload(Entity, ClientLevel) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientEntityEvents.Unload
 
onUnload(Entity, ServerLevel) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents.Unload
 
onUnload(BlockEntity, ClientLevel) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientBlockEntityEvents.Unload
 
onUnload(BlockEntity, ServerLevel) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerBlockEntityEvents.Unload
 
open() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.world.TestWorldSave
Opens and joins the singleplayer world.
OPEN - Enum constant in enum class net.fabricmc.fabric.api.transfer.v1.transaction.Transaction.Lifecycle
A transaction is currently open.
openableByHand(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Sets whether this block set type's door and trapdoor can be opened by hand.
openableByWindCharge(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Sets whether this block set type's door and trapdoor can be opened by wind charge.
openHorseInventory(AbstractHorse, Container) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
 
Opening menus - Section in package net.fabricmc.fabric.api.menu.v1
 
openMenu(MenuProvider) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
 
openNested() - Method in interface net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext
Open a new nested transaction.
openNested(TransactionContext) - Static method in interface net.fabricmc.fabric.api.transfer.v1.transaction.Transaction
Open a nested transaction if maybeParent is non-null, or an outer transaction if maybeParent is null.
openOuter() - Static method in interface net.fabricmc.fabric.api.transfer.v1.transaction.Transaction
Open a new outer transaction.
openTextEdit(SignBlockEntity, boolean) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
 
OPTIONAL - Enum constant in enum class net.fabricmc.fabric.api.event.registry.RegistryAttribute
Registry is optional, any connecting client will not be disconnected if the registry is not present.
or(ResourceCondition...) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
A condition that passes if any of the conditions passes.
ORANGE_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
ORANGE_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
ORANGE_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
ORE_BEARING_GROUND_DEEPSLATE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Blocks which are often replaced by deepslate ores, i.e.
ORE_BEARING_GROUND_DEEPSLATE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Blocks which are often replaced by deepslate ores, i.e.
ORE_BEARING_GROUND_NETHERRACK - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Blocks which are often replaced by netherrack ores, i.e.
ORE_BEARING_GROUND_NETHERRACK - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Blocks which are often replaced by netherrack ores, i.e.
ORE_BEARING_GROUND_STONE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Blocks which are often replaced by stone ores, i.e.
ORE_BEARING_GROUND_STONE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Blocks which are often replaced by stone ores, i.e.
ORE_RATES_DENSE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Ores which on average result in more than one resource worth of materials ignoring fortune and other modifiers.
ORE_RATES_DENSE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Ores which on average result in more than one resource worth of materials ignoring fortune and other modifiers.
ORE_RATES_SINGULAR - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Ores which on average result in one resource worth of materials ignoring fortune and other modifiers.
ORE_RATES_SINGULAR - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Ores which on average result in one resource worth of materials ignoring fortune and other modifiers.
ORE_RATES_SPARSE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Ores which on average result in less than one resource worth of materials ignoring fortune and other modifiers.
ORE_RATES_SPARSE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Ores which on average result in less than one resource worth of materials ignoring fortune and other modifiers.
orElse(boolean) - Method in enum class net.fabricmc.fabric.api.util.TriState
Gets the value of this tri-state.
orElse(PacketContext.ReadKey, T) - Method in interface net.fabricmc.fabric.api.networking.v1.context.PacketContext
Returns currently stored value.
orElseGet(BooleanSupplier) - Method in enum class net.fabricmc.fabric.api.util.TriState
Gets the value of this tri-state.
orElseThrow() - Static method in interface net.fabricmc.fabric.api.networking.v1.context.PacketContext
Returns currently set packet context.
orElseThrow(Supplier) - Method in enum class net.fabricmc.fabric.api.util.TriState
Gets the value of this tri-state, or throws an exception if this tri-state's value is TriState.DEFAULT.
orElseThrow(PacketContext.ReadKey) - Method in interface net.fabricmc.fabric.api.networking.v1.context.PacketContext
Returns currently stored value.
ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
ORES_IN_GROUND_DEEPSLATE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Ores in deepslate (or in equivalent blocks in the tag ConventionalBlockTags.ORE_BEARING_GROUND_DEEPSLATE) which could logically use deepslate as recipe input or output.
ORES_IN_GROUND_DEEPSLATE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Ores in deepslate (or in equivalent blocks in the tag ConventionalItemTags.ORE_BEARING_GROUND_DEEPSLATE) which could logically use deepslate as recipe input or output.
ORES_IN_GROUND_NETHERRACK - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Ores in netherrack (or in equivalent blocks in the tag ConventionalBlockTags.ORE_BEARING_GROUND_NETHERRACK) which could logically use netherrack as recipe input or output.
ORES_IN_GROUND_NETHERRACK - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Ores in netherrack (or in equivalent blocks in the tag ConventionalItemTags.ORE_BEARING_GROUND_NETHERRACK) which could logically use netherrack as recipe input or output.
ORES_IN_GROUND_STONE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Ores in stone (or in equivalent blocks in the tag ConventionalBlockTags.ORE_BEARING_GROUND_STONE) which could logically use stone as recipe input or output.
ORES_IN_GROUND_STONE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Ores in stone (or in equivalent blocks in the tag ConventionalItemTags.ORE_BEARING_GROUND_STONE) which could logically use stone as recipe input or output.
OUTER_CLOSING - Enum constant in enum class net.fabricmc.fabric.api.transfer.v1.transaction.Transaction.Lifecycle
The current transaction is invoking its outer close callbacks.
output - Variable in class net.fabricmc.fabric.api.datagen.v1.provider.FabricAdvancementProvider
 
output - Variable in class net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider
 
output - Variable in class net.fabricmc.fabric.api.datagen.v1.provider.SimpleFabricLootTableSubProvider
 
OVERLAY_MESSAGE - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla overlay message element.
OVERLAYS_KEY - Static variable in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
The JSON key for conditional overlays in pack.mcmeta files.
overlayTexture - Variable in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
 
OVERWORLD_NATURAL_LOGS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
For logs found naturally in the Overworld, does not include Stripped Logs.
OVERWORLD_NATURAL_LOGS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For logs found naturally in the Overworld, does not include Stripped Logs.
Overwriting menus - Section in package net.fabricmc.fabric.api.menu.v1
 
OxidizableBlocksRegistry - Class in net.fabricmc.fabric.api.registry
Provides methods for registering oxidizable and waxable blocks.

P

PackActivationType - Enum Class in net.fabricmc.fabric.api.resource.v1.pack
Represents the resource pack activation type.
PACKET_CODEC - Static variable in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
 
PACKET_CODEC - Static variable in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
 
PacketContext - Interface in net.fabricmc.fabric.api.networking.v1.context
This class allow to easily pass context between multiple packet listeners and packet serialization.
PacketContext.Key<T> - Interface in net.fabricmc.fabric.api.networking.v1.context
 
PacketContext.ReadKey<T> - Interface in net.fabricmc.fabric.api.networking.v1.context
 
PacketContextProvider - Interface in net.fabricmc.fabric.api.networking.v1.context
This interface is used as a way to retrieve PacketContext from Connection and PacketListeners.
packetListener() - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking.Context
 
packetListener() - Method in interface net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking.Context
 
Packet object-based API - Section in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
 
PacketSender - Interface in net.fabricmc.fabric.api.networking.v1
Represents something that supports sending packets to channels.
packOutput - Variable in class net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider
 
padding() - Element in annotation interface net.fabricmc.fabric.api.gametest.v1.GameTest
The number of empty block layers to place around the structure as padding.
ParticleGroupRegistry - Class in net.fabricmc.fabric.api.client.particle.v1
A registry for custom ParticleGroups.
ParticleProviderRegistry - Interface in net.fabricmc.fabric.api.client.particle.v1
Registry for adding particle providers on the client for particle types created using FabricParticleTypes (or otherwise).
ParticleProviderRegistry.PendingParticleProvider<T> - Interface in net.fabricmc.fabric.api.client.particle.v1
A pending particle provider.
ParticleRenderEvents - Class in net.fabricmc.fabric.api.client.particle.v1
Events related to particle rendering.
ParticleRenderEvents.AllowTerrainParticleTint - Interface in net.fabricmc.fabric.api.client.particle.v1
 
PARTICLES - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
parts - Variable in class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage
 
PASS - Enum constant in enum class net.fabricmc.fabric.api.util.EventResult
Continues execution of further events.
PayloadTypeRegistry<B> - Interface in net.fabricmc.fabric.api.networking.v1
A registry for payload types.
persistenceCodec() - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentType
An optional Codec used for reading and writing attachments to NBT for persistence.
persistent(Codec) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry.Builder
Declares that attachments should persist between server restarts, using the provided Codec for (de)serialization.
PictureInPictureRendererRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1
Allows registering picture-in-picture renderers, used to render custom gui elements beyond the methods available in GuiGraphics.
PictureInPictureRendererRegistry() - Constructor for class net.fabricmc.fabric.api.client.rendering.v1.PictureInPictureRendererRegistry
 
PictureInPictureRendererRegistry.Context - Interface in net.fabricmc.fabric.api.client.rendering.v1
 
PictureInPictureRendererRegistry.Factory - Interface in net.fabricmc.fabric.api.client.rendering.v1
A factory to create a new PictureInPictureRenderer instance.
PIE_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Pies and other pie-like foods belong in this tag.
PINK_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
PINK_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
PINK_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
pitch(float) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
Sets the pitch of the sound.
PITCHER_PLANT_SEEDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
placedFeatures() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
Returns a lookup for placed features.
player() - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking.Context
 
player() - Method in interface net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.Context
 
PLAYER_LIST - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla player list element.
PLAYER_WORKSTATIONS_CRAFTING_TABLES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
PLAYER_WORKSTATIONS_CRAFTING_TABLES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
PLAYER_WORKSTATIONS_FURNACES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
PLAYER_WORKSTATIONS_FURNACES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
PlayerBlockBreakEvents - Class in net.fabricmc.fabric.api.event.player
Contains server side events triggered by block breaking.
PlayerBlockBreakEvents.After - Interface in net.fabricmc.fabric.api.event.player
 
PlayerBlockBreakEvents.Before - Interface in net.fabricmc.fabric.api.event.player
 
PlayerBlockBreakEvents.Canceled - Interface in net.fabricmc.fabric.api.event.player
 
PlayerInventoryStorage - Interface in net.fabricmc.fabric.api.transfer.v1.item
A Storage<ItemVariant> implementation for a Inventory.
PlayerLookup - Class in net.fabricmc.fabric.api.networking.v1
Helper methods to lookup players in a server.
PlayerPickItemEvents - Class in net.fabricmc.fabric.api.event.player
Contains events triggered by server players requesting to pick items from the level.
PlayerPickItemEvents.PickItemFromBlock - Interface in net.fabricmc.fabric.api.event.player
 
PlayerPickItemEvents.PickItemFromEntity - Interface in net.fabricmc.fabric.api.event.player
 
PoiHelper - Class in net.fabricmc.fabric.api.object.builder.v1.world.poi
This class provides utilities to create a PoiType.
pool(LootPool) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootTableBuilder
Adds a loot pool to this builder.
pools(Collection) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootTableBuilder
Adds loot pools to this builder.
poseStack() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderContext
 
POST_PROCESSING - Enum constant in enum class net.fabricmc.fabric.api.biome.v1.ModificationPhase
The appropriate phase for modifiers that perform wide-reaching biome postprocessing.
POTATO_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
POTION - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
Holds all fluids related to potions.
POTIONS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Items that can hold various potion effects by making use of DataComponents.POTION_CONTENTS.
POWDER_SNOW_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
preload(boolean) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
Configures whether the sound must be preloaded by the game.
prepare(PreparableReloadListener.SharedState) - Method in class net.fabricmc.fabric.api.resource.v1.reloader.SimpleReloadListener
Asynchronously processes and prepares resource-based data.
prepend(ItemStack) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
prepend(ItemStack, CreativeModeTab.TabVisibility) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
Adds a stack to the beginning of the creative mode tab.
prepend(ItemLike) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
prepend(ItemLike, CreativeModeTab.TabVisibility) - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
pressKey(int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Presses and releases a key, then waits a tick.
pressKey(InputConstants.Key) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Presses and releases a key or mouse button, then waits a tick.
pressKey(Function) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Presses and releases a key mapping, then waits a tick.
pressKey(KeyMapping) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Presses and releases a key mapping, then waits a tick.
pressMouse(int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Presses and releases a mouse button, then waits a tick.
pressurePlateActivationRule(BlockSetType.PressurePlateSensitivity) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Sets this block set type's pressure plate BlockSetType.PressurePlateSensitivity.
pressurePlateClickOffSound(SoundEvent) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Sets this block set type's pressure plate click off sound.
pressurePlateClickOnSound(SoundEvent) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Sets this block set type's pressure plate click on sound.
PRIMARY - Enum constant in enum class net.fabricmc.fabric.api.item.v1.EnchantingContext
When checking for an enchantment's primary items.
PRIMARY_WOOD_TYPE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
Biomes that are primarily composed of a specific wood type.
PRIMARY_WOOD_TYPE_ACACIA - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
PRIMARY_WOOD_TYPE_BAMBOO - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
PRIMARY_WOOD_TYPE_BIRCH - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
PRIMARY_WOOD_TYPE_CHERRY - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
PRIMARY_WOOD_TYPE_CRIMSON - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
PRIMARY_WOOD_TYPE_DARK_OAK - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
PRIMARY_WOOD_TYPE_JUNGLE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
PRIMARY_WOOD_TYPE_MANGROVE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
PRIMARY_WOOD_TYPE_OAK - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
PRIMARY_WOOD_TYPE_PALE_OAK - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
PRIMARY_WOOD_TYPE_SPRUCE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
PRIMARY_WOOD_TYPE_WARPED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
 
PRISMARINE_GEMS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
Programmer Art and High Contrast Support - Section in package net.fabricmc.fabric.api.resource
 
Programmer Art and High Contrast Support - Section in package net.fabricmc.fabric.api.resource.v1
 
progress() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext
 
PUMPKIN_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
PUMPKIN_SEEDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
PUMPKINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
PUMPKINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
PURPLE_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
PURPLE_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
PURPLE_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
put(DataResourceStore.Key, T) - Method in interface net.fabricmc.fabric.api.resource.v1.DataResourceStore.Mutable
Puts data at the given key.
putByteArray(String, byte[]) - Method in interface net.fabricmc.fabric.api.serialization.v1.value.FabricValueOutput
 
putIfAbsent(K, V) - Method in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiProviderMap
If the specified key is not already associated with a provider, associate it with the given value and return null, else return the current value.
putLongArray(String, long[]) - Method in interface net.fabricmc.fabric.api.serialization.v1.value.FabricValueOutput
 

Q

QUARTZ_GEMS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
QUARTZ_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
QUARTZ_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
QUERY_START - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ClientLoginConnectionEvents
An event for when the client has started receiving login queries.
QUERY_START - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerLoginConnectionEvents
An event for the start of login queries of the server login packet listener.
Quick note about vocabulary in Minecraft: - Section in package net.fabricmc.fabric.api.resource
 
Quick note about vocabulary in Minecraft: - Section in package net.fabricmc.fabric.api.resource.v1
 

R

RABBIT_STEW - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
Holds all fluids related to Rabbit Stew.
range(Double, Double) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.DoubleRuleBuilder
 
range(Integer, Integer) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.IntegerRuleBuilder
 
range(T, T) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.NumberRuleBuilder
 
RANGED_WEAPON_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
A tag containing ranged-based weapons for recipes and loot tables.
RAW_FISH_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
RAW_MATERIALS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
RAW_MEAT_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
readBytes(ByteBuf, int) - Static method in class net.fabricmc.fabric.api.networking.v1.FriendlyByteBufs
Wraps the newly created buf from buf.readBytes in a friendly byte buf.
readOnlyOf(Storage) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
Return a wrapper over the passed storage that prevents insertion and extraction.
readRetainedSlice(ByteBuf, int) - Static method in class net.fabricmc.fabric.api.networking.v1.FriendlyByteBufs
Wraps the newly created buf from buf.readRetainedSlice in a friendly byte buf.
readSlice(ByteBuf, int) - Static method in class net.fabricmc.fabric.api.networking.v1.FriendlyByteBufs
Wraps the newly created buf from buf.readSlice in a friendly byte buf.
readSnapshot(ResourceAmount) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
readSnapshot(ItemStack) - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
 
readSnapshot(T) - Method in class net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
Roll back to a state previously created by SnapshotParticipant.createSnapshot().
readValue(SingleVariantStorage, Codec, Supplier, ValueInput) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
Read a SingleVariantStorage from a ValueInput.
readValue(ValueInput) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Simple implementation of reading from ValueInput, to match what is written by SingleFluidStorage.writeValue(ValueOutput).
readValue(ValueInput) - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleItemStorage
Simple implementation of reading from ValueInput, to match what is written by SingleItemStorage.writeValue(ValueOutput).
READY - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents
receive(Minecraft, ClientHandshakePacketListenerImpl, FriendlyByteBuf, Consumer) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientLoginNetworking.LoginQueryRequestHandler
Handles an incoming query request from a server.
receive(MinecraftServer, ServerLoginPacketListenerImpl, boolean, FriendlyByteBuf, ServerLoginNetworking.LoginSynchronizer, PacketSender) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking.LoginQueryResponseHandler
Handles an incoming query response from a client.
receive(T, ClientConfigurationNetworking.Context) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking.ConfigurationPayloadHandler
Handles the incoming packet.
receive(T, ClientPlayNetworking.Context) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking.PlayPayloadHandler
Handles the incoming payload.
receive(T, ServerConfigurationNetworking.Context) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking.ConfigurationPacketHandler
Handles an incoming packet.
receive(T, ServerPlayNetworking.Context) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.PlayPayloadHandler
Handles the incoming packet.
RECIPE_MANAGER_KEY - Static variable in interface net.fabricmc.fabric.api.resource.v1.DataResourceLoader
The reload listener state key for the recipe manager.
RECIPE_SYNC_EVENT_PHASE - Static variable in class net.fabricmc.fabric.api.recipe.v1.sync.RecipeSynchronization
Event phase used for sending recipes to the client.
recipes() - Method in interface net.fabricmc.fabric.api.recipe.v1.sync.SynchronizedRecipes
 
RECIPES - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
Deprecated.
 
RECIPES - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Server
 
RecipeSynchronization - Class in net.fabricmc.fabric.api.recipe.v1.sync
Since Minecraft 1.21.2, vanilla no longer syncs all recipes to the client automatically, opting into sending only required recipe book data.
reconfigure(ServerPlayer) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Put the player back into configuration phase and re-run all of the configuration tasks.
reconfigure(ServerGamePacketListenerImpl) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Put the player back into configuration phase and re-run all of the configuration tasks.
RED_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
RED_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
RED_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
RED_SANDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
RED_SANDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
RED_SANDSTONE_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
RED_SANDSTONE_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
RED_SANDSTONE_SLABS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
RED_SANDSTONE_SLABS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
RED_SANDSTONE_STAIRS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
RED_SANDSTONE_STAIRS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
REDSTONE_DUSTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
REDSTONE_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Aliased with BlockTags.REDSTONE_ORES.
REDSTONE_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Aliased with ItemTags.REDSTONE_ORES.
ref(ResourceKey) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
Gets a reference to a holder for use in other registrations.
refreshCommandCompletions() - Static method in class net.fabricmc.fabric.api.client.command.v2.ClientCommands
Refresh the command completions.
register(CommandDispatcher, CommandBuildContext) - Method in interface net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback
Called when registering client commands.
register(CommandDispatcher, CommandBuildContext, Commands.CommandSelection) - Method in interface net.fabricmc.fabric.api.command.v2.CommandRegistrationCallback
Called when the server is registering commands.
register(List, Block...) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.BlockColorRegistry
Register a block color for one or more blocks.
register(ArmorRenderer.Factory, ItemLike...) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderer
Registers the armor renderer for the specified items.
register(ArmorRenderer, ItemLike...) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderer
Registers the armor renderer for the specified items.
register(PictureInPictureRendererRegistry.Factory) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.PictureInPictureRendererRegistry
Registers a new PictureInPictureRendererRegistry.Factory used to create a new PictureInPictureRenderer instance.
register(CustomIngredientSerializer) - Static method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredientSerializer
Registers a custom ingredient serializer, using the serializer's identifier.
register(ResourceConditionType) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
Registers condition.
register(ParticleRenderType, Function) - Static method in class net.fabricmc.fabric.api.client.particle.v1.ParticleGroupRegistry
Registers a ParticleGroup factory for the given ParticleRenderType.
register(RenderLayer) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.LivingEntityRenderLayerRegistrationCallback.RegistrationHelper
Adds a render layer to the entity renderer.
register(ParticleType, ParticleProviderRegistry.PendingParticleProvider) - Method in interface net.fabricmc.fabric.api.client.particle.v1.ParticleProviderRegistry
Registers a delayed provider for constructing particles of the given type.
register(ParticleType, ParticleProvider) - Method in interface net.fabricmc.fabric.api.client.particle.v1.ParticleProviderRegistry
Registers a provider for constructing particles of the given type.
register(CustomPacketPayload.Type, StreamCodec) - Method in interface net.fabricmc.fabric.api.networking.v1.PayloadTypeRegistry
Registers a custom payload type.
register(Identifier) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Builds and registers a BlockSetType from this builder's values.
register(Identifier, int, int, Iterable) - Static method in class net.fabricmc.fabric.api.object.builder.v1.world.poi.PoiHelper
Creates and registers a PoiType.
register(Identifier, int, int, Block...) - Static method in class net.fabricmc.fabric.api.object.builder.v1.world.poi.PoiHelper
Creates and registers a PoiType.
register(Identifier, MapCodec) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.SpriteSourceRegistry
Registers a new SpriteSource by providing a codec for it.
register(Identifier, Component, EntitySelectorOptions.Modifier, Predicate) - Static method in class net.fabricmc.fabric.api.command.v2.EntitySelectorOptionRegistry
Registers an entity selector option.
register(Identifier, EntityDataSerializer) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityDataRegistry
Registers a EntityDataSerializer using the given ID.
register(Identifier, BlockSetType) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.WoodTypeBuilder
Builds and registers a WoodType from this builder's values.
register(Identifier, T) - Method in class net.fabricmc.fabric.api.event.Event
Register a listener to the event for the specified phase.
register(ResourceKey, Codec) - Static method in class net.fabricmc.fabric.api.event.registry.DynamicRegistries
Registers a non-synced dynamic registry.
register(ResourceKey, int) - Static method in class net.fabricmc.fabric.api.registry.VibrationFrequencyRegistry
Registers a sculk vibration for the given game event.
register(DebugSubscription) - Static method in class net.fabricmc.fabric.api.client.debug.v1.ClientDebugSubscriptionRegistry
Registers a DebugSubscription on the client.
register(DebugSubscription, boolean) - Static method in class net.fabricmc.fabric.api.client.debug.v1.ClientDebugSubscriptionRegistry
Registers a DebugSubscription on the client if the isEnabledFlag parameter is true.
register(DebugSubscription, Predicate, DebugValueFactory) - Static method in class net.fabricmc.fabric.api.debug.v1.EntityDebugSubscriptionRegistry
Registers a DebugSubscription based on a given Entity and Predicate.
register(DebugSubscription, Predicate, DebugValueFactory, boolean) - Static method in class net.fabricmc.fabric.api.debug.v1.EntityDebugSubscriptionRegistry
Registers a DebugSubscription based on a given Entity and Predicate if isEnabledFlag is true.
register(DebugSubscription, DebugRendererFactory) - Static method in class net.fabricmc.fabric.api.client.debug.v1.renderer.DebugRendererRegistry
Registers a debug renderer for the given DebugSubscription.
register(DebugSubscription, DebugRendererFactory, boolean) - Static method in class net.fabricmc.fabric.api.client.debug.v1.renderer.DebugRendererRegistry
Registers a debug renderer for the given DebugSubscription if isEnabledFlag is true.
register(EntityType, EntityRendererProvider) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.EntityRendererRegistry
Deprecated.
Register an EntityRenderer for an EntityType.
register(EntityType, AttributeSupplier) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricDefaultAttributeRegistry
Registers a default attribute for a type of living entity.
register(EntityType, AttributeSupplier.Builder) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricDefaultAttributeRegistry
Registers a default attribute for a type of living entity.
register(EntityType, MinecartComparatorLogic) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.MinecartComparatorLogicRegistry
Registers a comparator logic for a minecart entity type.
register(Block, Predicate, Consumer) - Static method in class net.fabricmc.fabric.api.registry.TillableBlockRegistry
Registers a tilling interaction.
register(Block, Predicate, BlockState) - Static method in class net.fabricmc.fabric.api.registry.TillableBlockRegistry
Registers a simple tilling interaction.
register(Block, Predicate, BlockState, ItemLike) - Static method in class net.fabricmc.fabric.api.registry.TillableBlockRegistry
Registers a simple tilling interaction that also drops an item.
register(Block, LandPathTypeRegistry.StaticPathTypeProvider) - Static method in class net.fabricmc.fabric.api.registry.LandPathTypeRegistry
Registers a LandPathTypeRegistry.StaticPathTypeProvider for the specified block overriding the default block behavior.
register(Block, Block) - Static method in class net.fabricmc.fabric.api.registry.StrippableBlockRegistry
Registers a stripping interaction.
register(Block, Block, StrippableBlockRegistry.StrippingTransformer) - Static method in class net.fabricmc.fabric.api.registry.StrippableBlockRegistry
Registers a stripping interaction.
register(Block, BlockState) - Static method in class net.fabricmc.fabric.api.registry.FlattenableBlockRegistry
Registers a flattening interaction.
register(Block, PathType, PathType) - Static method in class net.fabricmc.fabric.api.registry.LandPathTypeRegistry
Registers a PathType for the specified block, overriding the default block behavior.
register(BlockEntityType, BlockEntityRendererProvider) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.BlockEntityRendererRegistry
Deprecated.
Register a BlockEntityRenderer for a BlockEntityType.
register(ColorResolver) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ColorResolverRegistry
Registers a custom ColorResolver for use in BlockAndTintGetter.getBlockTint(BlockPos, ColorResolver).
register(Fluid, FluidRenderHandler) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandlerRegistry
Register a FluidRenderHandler for a given Fluid.
register(Fluid, FluidVariantRenderHandler) - Static method in class net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering
Register a render handler for the passed fluid.
register(Fluid, FluidVariantAttributeHandler) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributes
Register an attribute handler for the passed fluid.
register(Fluid, Fluid, FluidRenderHandler) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandlerRegistry
Register a FluidRenderHandler for two given Fluids, usually a pair of a still and a flowing fluid type that use the same fluid renderer.
register(T) - Method in class net.fabricmc.fabric.api.event.Event
Register a listener to the event, in the default phase.
REGISTER - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ServerboundConfigurationChannelEvents
An event for the client configuration packet listener receiving an update indicating the connected server's ability to receive packets in certain channels.
REGISTER - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ServerboundPlayChannelEvents
An event for the client play packet listener receiving an update indicating the connected server's ability to receive packets in certain channels.
REGISTER - Static variable in class net.fabricmc.fabric.api.networking.v1.ClientboundConfigurationChannelEvents
An event for the server configuration packet listener receiving an update indicating the connected client's ability to receive packets in certain channels.
REGISTER - Static variable in class net.fabricmc.fabric.api.networking.v1.ClientboundPlayChannelEvents
An event for the server game packet listener receiving an update indicating the connected client's ability to receive packets in certain channels.
registerArgumentType(Identifier, Class, ArgumentTypeInfo) - Static method in class net.fabricmc.fabric.api.command.v2.ArgumentTypeRegistry
Register a new argument type.
registerArmorModelLayers(ArmorModelSet, ModelLayerRegistry.TexturedArmorModelSetProvider) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ModelLayerRegistry
Registers armor model layers and registers a provider for a ArmorModelSet of type LayerDefinition.
registerBackground(AdvancementRenderer.BackgroundRenderer, Identifier...) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderer
Registers a AdvancementRenderer.BackgroundRenderer for the backgrounds of advancement tabs.
registerBuiltinPack(Identifier, ModContainer, PackActivationType) - Static method in interface net.fabricmc.fabric.api.resource.v1.ResourceLoader
Registers a built-in resource pack.
registerBuiltinPack(Identifier, ModContainer, Component, PackActivationType) - Static method in interface net.fabricmc.fabric.api.resource.v1.ResourceLoader
Registers a built-in resource pack.
registerBuiltinResourcePack(Identifier, String, ModContainer, boolean) - Static method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
Deprecated.
Please use ResourceManagerHelper.registerBuiltinResourcePack(Identifier, ModContainer, ResourcePackActivationType) instead, the sub path should be removed in a future release in favor of the identifier path.
registerBuiltinResourcePack(Identifier, ModContainer, String, ResourcePackActivationType) - Static method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
registerBuiltinResourcePack(Identifier, ModContainer, ResourcePackActivationType) - Static method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
registerBuiltinResourcePack(Identifier, ModContainer, Component, ResourcePackActivationType) - Static method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
registerCauldron(Block, Fluid, long, IntegerProperty) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.CauldronFluidContent
Attempt to register a new cauldron if not already registered, allowing it to be filled and emptied through the Fluid Transfer API.
registerCompostable(ItemLike) - Static method in class net.fabricmc.fabric.api.registry.VillagerInteractionRegistries
Registers an item to be used in a composter by farmer villagers.
registerCopyState(Block, Block) - Static method in class net.fabricmc.fabric.api.registry.StrippableBlockRegistry
Registers a stripping interaction.
registerDynamic(Block, LandPathTypeRegistry.DynamicPathTypeProvider) - Static method in class net.fabricmc.fabric.api.registry.LandPathTypeRegistry
Registers a LandPathTypeRegistry.DynamicPathTypeProvider for the specified block, overriding the default block behavior.
registerEntryAdded(ResourceKey, RegistryEntryAddedCallback) - Method in interface net.fabricmc.fabric.api.event.registry.DynamicRegistryView
A shortcut to register RegistryEntryAddedCallback.
registerFallback(BlockApiLookup.BlockApiProvider) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
Expose the API for all queries: the provider will be invoked if no object was found using the block or block entity providers.
registerFallback(EntityApiLookup.EntityApiProvider) - Method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
Expose the API for all queries: the provider will be invoked if no object was found using the entity providers.
registerFallback(ItemApiLookup.ItemApiProvider) - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
Expose the API for all queries: the fallbacks providers will be invoked if no object was found using the regular providers.
registerFood(ItemLike, int) - Static method in class net.fabricmc.fabric.api.registry.VillagerInteractionRegistries
Registers an item to be edible by villagers.
registerForBlockEntities(BlockApiLookup.BlockEntityApiProvider, BlockEntityType...) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
Expose the API for instances of the passed block entity types.
registerForBlockEntity(BiFunction, BlockEntityType) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
Expose the API for instances of the passed block entity type.
registerForBlocks(BlockApiLookup.BlockApiProvider, Block...) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
Expose the API for the passed blocks.
registerForItems(ItemApiLookup.ItemApiProvider, ItemLike...) - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
Expose the API for the passed items.
registerForType(BiFunction, EntityType) - Method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
Expose the API for instances of the entity type.
registerForTypes(EntityApiLookup.EntityApiProvider, EntityType...) - Method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
Expose the API for instances of the entity types.
registerFrame(AdvancementRenderer.FrameRenderer, Identifier...) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderer
Registers a AdvancementRenderer.FrameRenderer for advancement frames that show on advancement widgets.
registerGatherableItem(ItemLike) - Static method in class net.fabricmc.fabric.api.registry.VillagerInteractionRegistries
Deprecated.
Add items to the minecraft:villager_picks_up item tag instead.
registerGiftLootTable(ResourceKey, ResourceKey) - Static method in class net.fabricmc.fabric.api.registry.VillagerInteractionRegistries
Registers a hero of the village gifts loot table to a profession.
registerGlobalReceiver(CustomPacketPayload.Type, ClientConfigurationNetworking.ConfigurationPayloadHandler) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
Registers a handler for a packet type.
registerGlobalReceiver(CustomPacketPayload.Type, ClientPlayNetworking.PlayPayloadHandler) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Registers a handler for a payload type.
registerGlobalReceiver(CustomPacketPayload.Type, ServerConfigurationNetworking.ConfigurationPacketHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Registers a handler for a payload type.
registerGlobalReceiver(CustomPacketPayload.Type, ServerPlayNetworking.PlayPayloadHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Registers a handler for a payload type.
registerGlobalReceiver(Identifier, ClientLoginNetworking.LoginQueryRequestHandler) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientLoginNetworking
Registers a handler to a query request channel.
registerGlobalReceiver(Identifier, ServerLoginNetworking.LoginQueryResponseHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking
Registers a handler to a query response channel.
registerIcon(AdvancementRenderer.IconRenderer, Identifier...) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderer
Registers an AdvancementRenderer.IconRenderer for advancement icons that show on advancement widgets, tabs, and toasts.
registerItemRecipe(Item, Ingredient, Item) - Method in interface net.fabricmc.fabric.api.registry.FabricPotionBrewingBuilder
 
registerKeyMapping(KeyMapping) - Static method in class net.fabricmc.fabric.api.client.keymapping.v1.KeyMappingHelper
Registers the keymapping and add the keymapping category if required.
registerLarge(CustomPacketPayload.Type, StreamCodec, int) - Method in interface net.fabricmc.fabric.api.networking.v1.PayloadTypeRegistry
Registers a large custom payload type.
registerLarge(CustomPacketPayload.Type, StreamCodec, IntSupplier) - Method in interface net.fabricmc.fabric.api.networking.v1.PayloadTypeRegistry
Registers a large custom payload type.
registerLayers(EntityType, LivingEntityRenderer, LivingEntityRenderLayerRegistrationCallback.RegistrationHelper, EntityRendererProvider.Context) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.LivingEntityRenderLayerRegistrationCallback
Called when render layers may be registered.
registerModelLayer(ModelLayerLocation, ModelLayerRegistry.TexturedLayerDefinitionProvider) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ModelLayerRegistry
Registers a model layer and registers a provider for a LayerDefinition.
registerNextStage(Block, Block) - Static method in class net.fabricmc.fabric.api.registry.OxidizableBlocksRegistry
Registers the next oxidization stage from one block to the other.
registerNonRepeatable(Identifier, Component, EntitySelectorOptions.Modifier) - Static method in class net.fabricmc.fabric.api.command.v2.EntitySelectorOptionRegistry
Registers an entity selector option.
registerOrdering(ParticleRenderType, ParticleRenderType) - Static method in class net.fabricmc.fabric.api.client.particle.v1.ParticleGroupRegistry
Registers a rendering order between two ParticleRenderTypes.
registerOrdering(ParticleRenderType, Identifier) - Static method in class net.fabricmc.fabric.api.client.particle.v1.ParticleGroupRegistry
Registers a rendering order between two ParticleRenderTypes.
registerOrdering(Identifier, ParticleRenderType) - Static method in class net.fabricmc.fabric.api.client.particle.v1.ParticleGroupRegistry
Registers a rendering order between two ParticleRenderTypes.
registerOrdering(Identifier, Identifier) - Static method in class net.fabricmc.fabric.api.client.particle.v1.ParticleGroupRegistry
Registers a rendering order between two ParticleRenderTypes.
registerPotionRecipe(Holder, Ingredient, Holder) - Method in interface net.fabricmc.fabric.api.registry.FabricPotionBrewingBuilder
 
registerReceiver(CustomPacketPayload.Type, ClientConfigurationNetworking.ConfigurationPayloadHandler) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
Registers a handler for a packet type.
registerReceiver(CustomPacketPayload.Type, ClientPlayNetworking.PlayPayloadHandler) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Registers a handler for a payload type.
registerReceiver(Identifier, ClientLoginNetworking.LoginQueryRequestHandler) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientLoginNetworking
Registers a handler to a query request channel.
registerReceiver(ServerConfigurationPacketListenerImpl, CustomPacketPayload.Type, ServerConfigurationNetworking.ConfigurationPacketHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Registers a handler for a payload type.
registerReceiver(ServerGamePacketListenerImpl, CustomPacketPayload.Type, ServerPlayNetworking.PlayPayloadHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Registers a handler for a payload type.
registerReceiver(ServerLoginPacketListenerImpl, Identifier, ServerLoginNetworking.LoginQueryResponseHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking
Registers a handler to a query response channel.
registerRecipes(Ingredient, Holder) - Method in interface net.fabricmc.fabric.api.registry.FabricPotionBrewingBuilder
 
registerReloadListener(IdentifiableResourceReloadListener) - Method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
registerReloadListener(Identifier, Function) - Method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
Deprecated.
registerReloadListener(Identifier, Function) - Method in interface net.fabricmc.fabric.api.resource.v1.DataResourceLoader
Registers a data reload listener.
registerReloadListener(Identifier, PreparableReloadListener) - Method in interface net.fabricmc.fabric.api.resource.v1.ResourceLoader
Registers a reload listener for a given resource manager type.
registerSelf(EntityType...) - Method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
Expose the API for the passed entities that directly implements it.
registerSelf(BlockEntityType...) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
Expose the API for the passed block entities directly implementing it.
registerSelf(ItemLike...) - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
Expose the API for the passed items directly implementing it.
registerSynced(ResourceKey, Codec, Codec, DynamicRegistries.SyncOption...) - Static method in class net.fabricmc.fabric.api.event.registry.DynamicRegistries
Registers a synced dynamic registry.
registerSynced(ResourceKey, Codec, DynamicRegistries.SyncOption...) - Static method in class net.fabricmc.fabric.api.event.registry.DynamicRegistries
Registers a synced dynamic registry.
registerWaxable(Block, Block) - Static method in class net.fabricmc.fabric.api.registry.OxidizableBlocksRegistry
Registers a block pair as being able to add and remove wax.
registerWeatheringCopperBlocks(WeatheringCopperBlocks) - Static method in class net.fabricmc.fabric.api.registry.OxidizableBlocksRegistry
Registers a WeatheringCopperBlocks and its oxidizing and waxing variants.
registries() - Method in interface net.fabricmc.fabric.api.registry.FuelValueEvents.Context
Get the HolderLookup.Provider for all registries.
REGISTRY_LOOKUP_KEY - Static variable in interface net.fabricmc.fabric.api.resource.v1.ResourceLoader
The resource listener state key for the registry lookup HolderLookup.Provider.
RegistryAttribute - Enum Class in net.fabricmc.fabric.api.event.registry
 
RegistryAttributeHolder - Interface in net.fabricmc.fabric.api.event.registry
 
registryContains(ResourceKey, Identifier...) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
 
registryContains(ResourceKey...) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
A condition that passes if each of the entries exist.
RegistryEntryAddedCallback<T> - Interface in net.fabricmc.fabric.api.event.registry
An event for when an entry is added to a registry.
RegistryIdRemapCallback<T> - Interface in net.fabricmc.fabric.api.event.registry
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> - Interface in net.fabricmc.fabric.api.event.registry
 
releaseAlt() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Releases left alt.
releaseControl() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Releases left control, or left super on macOS.
releaseKey(int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Releases a key.
releaseKey(InputConstants.Key) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Releases a key or mouse button.
releaseKey(Function) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Releases a key mapping.
releaseKey(KeyMapping) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Releases a key mapping.
releaseMouse(int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Releases a mouse button.
releaseShift() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Releases left shift.
releaseSnapshot(T) - Method in class net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
Signals that the snapshot will not be used anymore, and is safe to cache for next calls to SnapshotParticipant.createSnapshot(), or discard entirely.
reload(PreparableReloadListener.SharedState, Executor, PreparableReloadListener.PreparationBarrier, Executor) - Method in interface net.fabricmc.fabric.api.resource.SimpleResourceReloadListener
Deprecated.
 
reload(PreparableReloadListener.SharedState, Executor, PreparableReloadListener.PreparationBarrier, Executor) - Method in class net.fabricmc.fabric.api.resource.v1.reloader.SimpleReloadListener
 
Reload Listeners - Section in package net.fabricmc.fabric.api.resource.v1
 
reloadTextures(SpriteGetter) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler
Look up your Fluid's sprites from the texture atlas.
reloadTextures(SpriteGetter) - Method in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
Look up your Fluid's sprites from the texture atlas.
RELOCATION_NOT_SUPPORTED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Blocks should be included in this tag if their movement/relocation can cause serious issues such as world corruption upon being moved or for balance reason where the block should not be able to be relocated.
REMOVALS - Enum constant in enum class net.fabricmc.fabric.api.biome.v1.ModificationPhase
The appropriate phase for modifiers that remove features or other aspects of biomes (i.e.
remove(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.ScreenEvents
An event that is called after Screen.removed() is called.
remove(TagKey) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
 
remove(TagKey) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
 
remove(Block) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
 
remove(ItemLike) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
 
removeAttached(AttachmentType) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
Removes any data associated with the given AttachmentType.
removeCarver(ResourceKey) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Removes all carvers with the given key from this biome.
removeElement(Identifier) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.hud.HudElementRegistry
Removes an element with the specified identifier.
removeFeature(ResourceKey) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Removes a feature from all of this biomes generation steps, and returns if any features were removed.
removeFeature(GenerationStep.Decoration, ResourceKey) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Removes a feature from one of this biomes generation steps, and returns if any features were removed.
removeSpawns(BiPredicate) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.MobSpawnSettingsContext
Removes any spawns matching the given predicate from this biome, and returns true if any matched.
removeSpawnsOfEntityType(EntityType) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.MobSpawnSettingsContext
Removes all spawns of the given entity type.
render(PoseStack, SubmitNodeCollector, ItemStack, HumanoidRenderState, EquipmentSlot, int, HumanoidModel) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderer
Renders an armor part.
render(FluidRenderHandler, BlockAndTintGetter, BlockPos, VertexConsumer, BlockState, FluidState) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRendering.DefaultRenderer
render(FluidRenderHandler, BlockAndTintGetter, BlockPos, VertexConsumer, BlockState, FluidState, FluidRendering.DefaultRenderer) - Static method in class net.fabricmc.fabric.api.client.render.fluid.v1.FluidRendering
Renders a fluid using the given handler, default renderer, and context.
render(GuiGraphics, DeltaTracker) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.hud.HudElement
Renders the HUD element.
renderAdvancementBackground(AdvancementRenderContext.Background) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderer.BackgroundRenderer
 
renderAdvancementFrame(AdvancementRenderContext.Frame) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderer.FrameRenderer
 
renderAdvancementIcon(AdvancementRenderContext.Icon) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderer.IconRenderer
 
RenderDataBlockEntity - Interface in net.fabricmc.fabric.api.blockgetter.v2
Extensions that allow BlockEntity subclasses to provide render data.
renderFluid(BlockPos, BlockAndTintGetter, VertexConsumer, BlockState, FluidState) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler
Tessellate your fluid.
RenderItemDecorationsCallback - Interface in net.fabricmc.fabric.api.client.rendering.v1
 
RenderStateDataKey<T> - Class in net.fabricmc.fabric.api.client.rendering.v1
A unique key representing extra data to attach to a render state.
replace(boolean) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder
Sets an optional replace boolean, which on true allows this sound type to override others.
REPLACE - Static variable in class net.fabricmc.fabric.api.loot.v3.LootTableEvents
This event can be used to replace loot tables.
REPLACED - Enum constant in enum class net.fabricmc.fabric.api.loot.v3.LootTableSource
A loot table created in LootTableEvents.REPLACE.
replaceElement(Identifier, Function) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.hud.HudElementRegistry
Replaces an element with the specified identifier, the element retains its original identifier.
replaceLootTable(ResourceKey, LootTable, LootTableSource, HolderLookup.Provider) - Method in interface net.fabricmc.fabric.api.loot.v3.LootTableEvents.Replace
Replaces loot tables.
replacement - Variable in enum class net.fabricmc.fabric.api.resource.ResourcePackActivationType
Deprecated.
 
REPLACEMENTS - Enum constant in enum class net.fabricmc.fabric.api.biome.v1.ModificationPhase
The appropriate phase for modifiers that replace existing features with modified features.
required() - Element in annotation interface net.fabricmc.fabric.api.gametest.v1.GameTest
Whether the test is required to pass for the test suite to pass.
requiredFeatures - Variable in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
requiredFeatures(FeatureFlagSet) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.BooleanRuleBuilder
 
requiredFeatures(FeatureFlagSet) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.DoubleRuleBuilder
 
requiredFeatures(FeatureFlagSet) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.EnumRuleBuilder
 
requiredFeatures(FeatureFlagSet) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.IntegerRuleBuilder
 
requiredFeatures(FeatureFlagSet) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
requiredSuccesses() - Element in annotation interface net.fabricmc.fabric.api.gametest.v1.GameTest
The number of times the test should be successfully ran before it is considered a success.
requires(FeatureFlag...) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
use EntityType.Builder.requiredFeatures(FeatureFlag...)
requiresTesting() - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient
Returns whether this ingredient always requires direct stack testing.
requiresTesting() - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.FabricIngredient
Returns whether this ingredient always requires direct stack testing.
resetStat(Stat) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
 
RESIN_BRICKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
RESIN_CLUMPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
resizeWindow(int, int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Resizes the window to match the given size.
resource() - Method in record class net.fabricmc.fabric.api.transfer.v1.storage.base.ResourceAmount
Returns the value of the resource record component.
ResourceAmount<T> - Record Class in net.fabricmc.fabric.api.transfer.v1.storage.base
An immutable object storing both a resource and an amount, provided for convenience.
ResourceAmount(T, long) - Constructor for record class net.fabricmc.fabric.api.transfer.v1.storage.base.ResourceAmount
Creates an instance of a ResourceAmount record class.
ResourceCondition - Interface in net.fabricmc.fabric.api.resource.conditions.v1
A resource condition.
ResourceConditions - Class in net.fabricmc.fabric.api.resource.conditions.v1
Contains default resource conditions and the condition registry.
ResourceConditionType<T> - Interface in net.fabricmc.fabric.api.resource.conditions.v1
A type of resource conditions.
ResourceLoader - Interface in net.fabricmc.fabric.api.resource.v1
Provides various hooks into the resource loader.
ResourceManagerHelper - Interface in net.fabricmc.fabric.api.resource
Deprecated.
ResourcePackActivationType - Enum Class in net.fabricmc.fabric.api.resource
Deprecated.
ResourceReloaderKeys - Class in net.fabricmc.fabric.api.resource.v1.reloader
This class contains default keys for various Minecraft reload listener.
ResourceReloaderKeys.Client - Class in net.fabricmc.fabric.api.resource.v1.reloader
Keys for various client reload listeners.
ResourceReloaderKeys.Server - Class in net.fabricmc.fabric.api.resource.v1.reloader
Keys for various server reload listeners.
Resource Reload Listener - Section in package net.fabricmc.fabric.api.resource
 
ResourceReloadListenerKeys - Class in net.fabricmc.fabric.api.resource
Deprecated.
responseSender() - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking.Context
 
responseSender() - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking.Context
 
responseSender() - Method in interface net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking.Context
 
responseSender() - Method in interface net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.Context
 
restoreDefaultGameOptions() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Restores all game options in Minecraft.options to their default values for client gametests.
retainedDuplicate(ByteBuf) - Static method in class net.fabricmc.fabric.api.networking.v1.FriendlyByteBufs
Wraps the newly created buf from buf.retainedDuplicate in a friendly byte buf.
retainedSlice(ByteBuf) - Static method in class net.fabricmc.fabric.api.networking.v1.FriendlyByteBufs
Wraps the newly created buf from buf.retainedSlice in a friendly byte buf.
retainedSlice(ByteBuf, int, int) - Static method in class net.fabricmc.fabric.api.networking.v1.FriendlyByteBufs
Wraps the newly created buf from buf.retainedSlice in a friendly byte buf.
RODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For rod-like materials to be used in recipes.
ROPES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
ROPES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
rotation() - Element in annotation interface net.fabricmc.fabric.api.gametest.v1.GameTest
The rotation of the structure when placed.
run() - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
 
run(CachedOutput) - Method in class net.fabricmc.fabric.api.client.datagen.v1.provider.FabricSoundsProvider
 
run(CachedOutput) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricAdvancementProvider
 
run(CachedOutput) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootSubProvider
 
run(CachedOutput) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricCodecDataProvider
 
run(CachedOutput) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider
 
run(CachedOutput) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricEntityLootSubProvider
 
run(CachedOutput) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider
 
run(CachedOutput) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider
 
run(CachedOutput) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.SimpleFabricLootTableSubProvider
 
runCommand(String) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestServerContext
Runs a command on the server.
Running GameTest - Section in package net.fabricmc.fabric.api.gametest.v1
 
runOnClient(FailableConsumer) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Runs the given action on the render thread (client thread), and waits for it to complete.
runOnServer(FailableConsumer) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestServerContext
Runs the given action on the server thread, and waits for it to complete.
runTest(ClientGameTestContext) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.FabricClientGameTest
Runs the gametest.
runWithContext(PacketContextProvider, Runnable) - Static method in interface net.fabricmc.fabric.api.networking.v1.context.PacketContext
Runs specified runnable under a packet context.

S

SANDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
SANDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
SANDSTONE_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
SANDSTONE_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
SANDSTONE_SLABS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
SANDSTONE_SLABS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
SANDSTONE_STAIRS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
SANDSTONE_STAIRS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
save() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonOptions
Additionally save the screenshot which was compared against with the template image name.
saveWithFileName(String) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonOptions
Additionally save the screenshot which was compared against.
SCOREBOARD - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla scoreboard element.
ScreenEvents - Class in net.fabricmc.fabric.api.client.screen.v1
Holds events related to Screens.
ScreenEvents.AfterBackground - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenEvents.AfterInit - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenEvents.AfterRender - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenEvents.AfterTick - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenEvents.BeforeInit - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenEvents.BeforeRender - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenEvents.BeforeTick - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenEvents.Remove - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenKeyboardEvents - Class in net.fabricmc.fabric.api.client.screen.v1
Events related to use of the keyboard in a Screen.
ScreenKeyboardEvents.AfterKeyPress - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenKeyboardEvents.AfterKeyRelease - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenKeyboardEvents.AllowKeyPress - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenKeyboardEvents.AllowKeyRelease - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenKeyboardEvents.BeforeKeyPress - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenKeyboardEvents.BeforeKeyRelease - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenMouseEvents - Class in net.fabricmc.fabric.api.client.screen.v1
Events related to use of the mouse in a Screen.
ScreenMouseEvents.AfterMouseClick - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenMouseEvents.AfterMouseDrag - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenMouseEvents.AfterMouseRelease - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenMouseEvents.AfterMouseScroll - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenMouseEvents.AllowMouseClick - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenMouseEvents.AllowMouseDrag - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenMouseEvents.AllowMouseRelease - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenMouseEvents.AllowMouseScroll - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenMouseEvents.BeforeMouseClick - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenMouseEvents.BeforeMouseDrag - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenMouseEvents.BeforeMouseRelease - Interface in net.fabricmc.fabric.api.client.screen.v1
 
ScreenMouseEvents.BeforeMouseScroll - Interface in net.fabricmc.fabric.api.client.screen.v1
 
Screens - Class in net.fabricmc.fabric.api.client.screen.v1
Utility methods related to screens.
scroll(double) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Scrolls the mouse vertically.
scroll(double, double) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Scrolls the mouse horizontally and vertically.
scrollX() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext.Background
 
scrollY() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext.Background
 
sectionsToRender() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelTerrainRenderContext
The render state for all chunk section to be rendered.
SEEDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For items that are explicitly seeds for use cases such as refilling a bird feeder block or certain seed-based recipes.
send(CustomPacketPayload) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
Sends a packet to the connected server.
send(CustomPacketPayload) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Sends a payload to the connected server.
send(ServerPlayer, CustomPacketPayload) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Sends a packet to a player.
send(ServerConfigurationPacketListenerImpl, CustomPacketPayload) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Sends a packet to a configuring player.
sendError(Component) - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
Sends an error message to the player.
sendFeedback(Component) - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
Sends a feedback message to the player.
sendPacket(CustomPacketPayload) - Method in interface net.fabricmc.fabric.api.networking.v1.PacketSender
Sends a packet.
sendPacket(CustomPacketPayload, ChannelFutureListener) - Method in interface net.fabricmc.fabric.api.networking.v1.PacketSender
Sends a packet.
sendPacket(Packet) - Method in interface net.fabricmc.fabric.api.networking.v1.PacketSender
Sends a packet.
sendPacket(Packet, ChannelFutureListener) - Method in interface net.fabricmc.fabric.api.networking.v1.PacketSender
Sends a packet.
sendPacket(Identifier, FriendlyByteBuf) - Method in interface net.fabricmc.fabric.api.networking.v1.LoginPacketSender
Sends a packet to a channel.
sendPacket(Identifier, FriendlyByteBuf, ChannelFutureListener) - Method in interface net.fabricmc.fabric.api.networking.v1.LoginPacketSender
Sends a packet to a channel.
server() - Method in interface net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking.Context
 
server() - Method in interface net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.Context
 
SERVER_INSTANCE - Static variable in interface net.fabricmc.fabric.api.networking.v1.context.PacketContext
The server instance that handles this connection.
SERVER_STARTED - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents
Called when a Minecraft server has started and is about to tick for the first time.
SERVER_STARTING - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents
Called when a Minecraft server is starting.
SERVER_STOPPED - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents
Called when a Minecraft server has stopped.
SERVER_STOPPING - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents
Called when a Minecraft server has started shutting down.
ServerBlockEntityEvents - Class in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerBlockEntityEvents.Load - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerBlockEntityEvents.Unload - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
serverboundConfiguration() - Static method in interface net.fabricmc.fabric.api.networking.v1.PayloadTypeRegistry
 
ServerboundConfigurationChannelEvents - Class in net.fabricmc.fabric.api.client.networking.v1
Offers access to events related to the indication of a connected server's ability to receive packets in certain channels.
ServerboundConfigurationChannelEvents.Register - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ServerboundConfigurationChannelEvents.Unregister - Interface in net.fabricmc.fabric.api.client.networking.v1
 
serverboundPlay() - Static method in interface net.fabricmc.fabric.api.networking.v1.PayloadTypeRegistry
 
ServerboundPlayChannelEvents - Class in net.fabricmc.fabric.api.client.networking.v1
Offers access to events related to the indication of a connected server's ability to receive packets in certain channels.
ServerboundPlayChannelEvents.Register - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ServerboundPlayChannelEvents.Unregister - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ServerChunkEvents - Class in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerChunkEvents.FullChunkStatusChange - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerChunkEvents.Generate - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerChunkEvents.Load - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerChunkEvents.Unload - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerConfigurationConnectionEvents - Class in net.fabricmc.fabric.api.networking.v1
Offers access to events related to the connection to a client on a logical server while a client is configuring.
ServerConfigurationConnectionEvents.Configure - Interface in net.fabricmc.fabric.api.networking.v1
 
ServerConfigurationConnectionEvents.Disconnect - Interface in net.fabricmc.fabric.api.networking.v1
 
ServerConfigurationNetworking - Class in net.fabricmc.fabric.api.networking.v1
Offers access to configuration stage server-side networking functionalities.
ServerConfigurationNetworking.ConfigurationPacketHandler<T> - Interface in net.fabricmc.fabric.api.networking.v1
A packet handler utilizing CustomPacketPayload.
ServerConfigurationNetworking.Context - Interface in net.fabricmc.fabric.api.networking.v1
 
ServerEntityCombatEvents - Class in net.fabricmc.fabric.api.entity.event.v1
Events related to entities in combat.
ServerEntityCombatEvents.AfterKilledOtherEntity - Interface in net.fabricmc.fabric.api.entity.event.v1
 
ServerEntityEvents - Class in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerEntityEvents.EquipmentChange - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerEntityEvents.Load - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerEntityEvents.Unload - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerEntityLevelChangeEvents - Class in net.fabricmc.fabric.api.entity.event.v1
Events related to an entity being moved to another level.
ServerEntityLevelChangeEvents.AfterEntityChange - Interface in net.fabricmc.fabric.api.entity.event.v1
 
ServerEntityLevelChangeEvents.AfterPlayerChange - Interface in net.fabricmc.fabric.api.entity.event.v1
 
ServerLevelEvents - Class in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerLevelEvents.Load - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerLevelEvents.Unload - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerLifecycleEvents - Class in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerLifecycleEvents.AfterSave - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerLifecycleEvents.BeforeSave - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerLifecycleEvents.EndDataPackReload - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerLifecycleEvents.ServerStarted - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerLifecycleEvents.ServerStarting - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerLifecycleEvents.ServerStopped - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerLifecycleEvents.ServerStopping - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerLifecycleEvents.StartDataPackReload - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerLifecycleEvents.SyncDataPackContents - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerLivingEntityEvents - Class in net.fabricmc.fabric.api.entity.event.v1
Various server-side only events related to living entities.
ServerLivingEntityEvents.AfterDamage - Interface in net.fabricmc.fabric.api.entity.event.v1
 
ServerLivingEntityEvents.AfterDeath - Interface in net.fabricmc.fabric.api.entity.event.v1
 
ServerLivingEntityEvents.AllowDamage - Interface in net.fabricmc.fabric.api.entity.event.v1
 
ServerLivingEntityEvents.AllowDeath - Interface in net.fabricmc.fabric.api.entity.event.v1
 
ServerLivingEntityEvents.MobConversion - Interface in net.fabricmc.fabric.api.entity.event.v1
 
ServerLoginConnectionEvents - Class in net.fabricmc.fabric.api.networking.v1
Offers access to events related to the connection to a client on a logical server while a client is logging in.
ServerLoginConnectionEvents.Disconnect - Interface in net.fabricmc.fabric.api.networking.v1
 
ServerLoginConnectionEvents.Init - Interface in net.fabricmc.fabric.api.networking.v1
 
ServerLoginConnectionEvents.QueryStart - Interface in net.fabricmc.fabric.api.networking.v1
 
ServerLoginNetworking - Class in net.fabricmc.fabric.api.networking.v1
Offers access to login stage server-side networking functionalities.
ServerLoginNetworking.LoginQueryResponseHandler - Interface in net.fabricmc.fabric.api.networking.v1
 
ServerLoginNetworking.LoginSynchronizer - Interface in net.fabricmc.fabric.api.networking.v1
Allows blocking client log-in until all futures passed into ServerLoginNetworking.LoginSynchronizer.waitFor(Future) are completed.
ServerMessageDecoratorEvent - Class in net.fabricmc.fabric.api.message.v1
A class for registering a ChatDecorator.
ServerMessageEvents - Class in net.fabricmc.fabric.api.message.v1
Contains server-side events triggered when broadcasting messages.
ServerMessageEvents.AllowChatMessage - Interface in net.fabricmc.fabric.api.message.v1
 
ServerMessageEvents.AllowCommandMessage - Interface in net.fabricmc.fabric.api.message.v1
 
ServerMessageEvents.AllowGameMessage - Interface in net.fabricmc.fabric.api.message.v1
 
ServerMessageEvents.ChatMessage - Interface in net.fabricmc.fabric.api.message.v1
 
ServerMessageEvents.CommandMessage - Interface in net.fabricmc.fabric.api.message.v1
 
ServerMessageEvents.GameMessage - Interface in net.fabricmc.fabric.api.message.v1
 
ServerMobEffectEvents - Class in net.fabricmc.fabric.api.entity.event.v1.effect
Events related to status effects in mobs.
ServerMobEffectEvents.AfterAdd - Interface in net.fabricmc.fabric.api.entity.event.v1.effect
 
ServerMobEffectEvents.AfterRemove - Interface in net.fabricmc.fabric.api.entity.event.v1.effect
 
ServerMobEffectEvents.AllowAdd - Interface in net.fabricmc.fabric.api.entity.event.v1.effect
 
ServerMobEffectEvents.AllowEarlyRemove - Interface in net.fabricmc.fabric.api.entity.event.v1.effect
 
ServerMobEffectEvents.BeforeAdd - Interface in net.fabricmc.fabric.api.entity.event.v1.effect
 
ServerMobEffectEvents.BeforeRemove - Interface in net.fabricmc.fabric.api.entity.event.v1.effect
 
ServerPlayConnectionEvents - Class in net.fabricmc.fabric.api.networking.v1
Offers access to events related to the connection to a client on a logical server while a client is in game.
ServerPlayConnectionEvents.Disconnect - Interface in net.fabricmc.fabric.api.networking.v1
 
ServerPlayConnectionEvents.Init - Interface in net.fabricmc.fabric.api.networking.v1
 
ServerPlayConnectionEvents.Join - Interface in net.fabricmc.fabric.api.networking.v1
 
ServerPlayerEvents - Class in net.fabricmc.fabric.api.entity.event.v1
 
ServerPlayerEvents.AfterRespawn - Interface in net.fabricmc.fabric.api.entity.event.v1
 
ServerPlayerEvents.AllowDeath - Interface in net.fabricmc.fabric.api.entity.event.v1
Deprecated.
Use the more general ServerLivingEntityEvents.ALLOW_DEATH event instead and check for instanceof ServerPlayer.
ServerPlayerEvents.CopyFrom - Interface in net.fabricmc.fabric.api.entity.event.v1
 
ServerPlayerEvents.Join - Interface in net.fabricmc.fabric.api.entity.event.v1
 
ServerPlayerEvents.Leave - Interface in net.fabricmc.fabric.api.entity.event.v1
 
ServerPlayNetworking - Class in net.fabricmc.fabric.api.networking.v1
Offers access to play stage server-side networking functionalities.
ServerPlayNetworking.Context - Interface in net.fabricmc.fabric.api.networking.v1
 
ServerPlayNetworking.PlayPayloadHandler<T> - Interface in net.fabricmc.fabric.api.networking.v1
A thread-safe packet handler utilizing CustomPacketPayload.
ServerTickEvents - Class in net.fabricmc.fabric.api.event.lifecycle.v1
Contains events that are triggered on the server every tick.
ServerTickEvents.EndLevelTick - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerTickEvents.EndTick - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerTickEvents.StartLevelTick - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
ServerTickEvents.StartTick - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
 
set(PacketContext.Key, T) - Method in interface net.fabricmc.fabric.api.networking.v1.context.PacketContext
Stores the value.
set(EnvironmentAttribute, T) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.AttributesContext
 
SET_BED_OCCUPATION_STATE - Static variable in class net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents
An event that sets the occupation state of a bed.
setAttached(AttachmentType, A) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
Sets the data associated with the given AttachmentType.
setBedOccupationState(LivingEntity, BlockPos, BlockState, boolean) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents.SetBedOccupationState
Sets the occupation state of a bed block.
setBlockTransparency(Block, boolean) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandlerRegistry
Registers whether a block is transparent or not.
setCreatureGenerationProbability(float) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.MobSpawnSettingsContext
Associated JSON property: creature_spawn_probability.
setCursorPos(double, double) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Sets the cursor position.
setCustomFlag(Identifier, boolean) - Method in interface net.fabricmc.fabric.api.command.v2.FabricEntitySelectorParser
Sets a flag.
setData(RenderStateDataKey, T) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.FabricRenderState
Set extra render data to the render state.
setDownfall(float) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.WeatherContext
 
setDryFoliageColorOverride(int) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setDryFoliageColorOverride(Optional) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setDryFoliageColorOverride(OptionalInt) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setFogColor(int) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
Deprecated.
Set the fog color using environment attributes instead
setFoliageColorOverride(int) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setFoliageColorOverride(Optional) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setFoliageColorOverride(OptionalInt) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setGrassColorModifier(BiomeSpecialEffects.GrassColorModifier) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setGrassColorOverride(int) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setGrassColorOverride(Optional) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setGrassColorOverride(OptionalInt) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setModifier(EnvironmentAttribute, AttributeModifier, M) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.AttributesContext
 
setMusicVolume(float) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
Deprecated.
Set the music volume using environment attributes instead
setPrecipitation(boolean) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.WeatherContext
 
setReplace(boolean) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricTagAppender
Sets the value of the replace flag.
setScreen(Supplier) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Opens a Screen on the client.
setSelectedTab(CreativeModeTab) - Method in interface net.fabricmc.fabric.api.client.creativetab.v1.FabricCreativeModeInventoryScreen
Sets the currently selected tab to the given CreativeModeTab.
setSkyColor(int) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
Deprecated.
Set the sky color using environment attributes instead
setStack(ItemStack) - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
Set the stack of this storage.
setTemperature(float) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.WeatherContext
 
setTemperatureModifier(Biome.TemperatureModifier) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.WeatherContext
 
setupAnim(Pair) - Method in class net.fabricmc.fabric.api.client.rendering.v1.TransformCopyingModel
 
setupTicks() - Element in annotation interface net.fabricmc.fabric.api.gametest.v1.GameTest
The number of ticks to wait before starting the test after placing the structure.
setUseConsistentSettings(boolean) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.world.TestWorldBuilder
Sets whether to use consistent world settings.
setWaterColor(int) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setWaterFogColor(int) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
Deprecated.
Set the water fog color using environment attributes instead
SHADERS - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
SHEAR_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
SHIELD_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
SHORT - Static variable in class net.fabricmc.fabric.api.util.NbtType
Deprecated.
 
shouldCloseCurrentScreen() - Method in interface net.fabricmc.fabric.api.menu.v1.FabricMenuProvider
Returns whether the server should send ClientboundContainerClosePacket when opening the screen.
shouldRenderDefaultHeadItem(LivingEntity, ItemStack) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderer
Checks whether an item stack equipped on the head should also be rendered as an item.
shouldRenderOriginalBackground() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderer.BackgroundRenderer
 
shouldRenderOriginalFrame() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderer.FrameRenderer
 
shouldRenderOriginalIcon() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderer.IconRenderer
 
shouldRenderTooltip() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderer.FrameRenderer
 
shouldShowOpRestrictedItems() - Method in class net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTabOutput
 
SHULKER_BOXES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Block tag equivalent is BlockTags.SHULKER_BOXES.
SIDED - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidStorage
Sided block access to fluid variant storages.
SIDED - Static variable in class net.fabricmc.fabric.api.transfer.v1.item.ItemStorage
Sided block access to item variant storages.
SidedStorageBlockEntity - Interface in net.fabricmc.fabric.api.transfer.v1.storage.base
Optional helper class that can be implemented on block entities that wish to provide a sided fluid storage and/or a sided item storage without having to register a provider for each block entity type.
simple() - Static method in class net.fabricmc.fabric.api.particle.v1.FabricParticleTypes
Creates a new, default particle type for the given id.
simple(boolean) - Static method in class net.fabricmc.fabric.api.particle.v1.FabricParticleTypes
Creates a new, default particle type for the given id.
Simple and extended menus - Section in package net.fabricmc.fabric.api.menu.v1
 
SimpleFabricLootTableSubProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
Extend this class and implement LootTableSubProvider.generate(BiConsumer).
SimpleFabricLootTableSubProvider(FabricPackOutput, CompletableFuture, ContextKeySet) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.SimpleFabricLootTableSubProvider
 
SimpleFluidRenderHandler - Class in net.fabricmc.fabric.api.client.render.fluid.v1
A simple fluid render handler that uses and loads sprites given by their identifiers.
SimpleFluidRenderHandler(SpriteId, SpriteId) - Constructor for class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
Creates a fluid render handler without an overlay texture and no tint.
SimpleFluidRenderHandler(SpriteId, SpriteId, int) - Constructor for class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
Creates a fluid render handler without an overlay texture and a custom, fixed tint.
SimpleFluidRenderHandler(SpriteId, SpriteId, SpriteId, int) - Constructor for class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
Creates a fluid render handler with an overlay texture and a custom, fixed tint.
SimpleFluidRenderHandler(SpriteId, SpriteId, SpriteId) - Constructor for class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
Creates a fluid render handler with an overlay texture and no tint.
SimpleReloadListener<T> - Class in net.fabricmc.fabric.api.resource.v1.reloader
A variant of SimplePreparableReloadListener which passes the shared state instead of the resource manager in its methods.
SimpleReloadListener() - Constructor for class net.fabricmc.fabric.api.resource.v1.reloader.SimpleReloadListener
 
SimpleResourceReloadListener<T> - Interface in net.fabricmc.fabric.api.resource
Deprecated.
SimpleSynchronousResourceReloadListener - Interface in net.fabricmc.fabric.api.resource
Deprecated.
Use ResourceManagerReloadListener directly.
simulateExtract(Storage, T, long, TransactionContext) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Convenient helper to simulate an extraction, i.e.
simulateExtract(StorageView, T, long, TransactionContext) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Convenient helper to simulate an extraction, i.e.
simulateExtract(S, T, long, TransactionContext) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Convenient helper to simulate an extraction, i.e.
simulateInsert(Storage, T, long, TransactionContext) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Convenient helper to simulate an insertion, i.e.
SingleFluidStorage - Class in net.fabricmc.fabric.api.transfer.v1.fluid.base
A storage that can store a single fluid variant at any given time.
SingleFluidStorage() - Constructor for class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
 
SingleItemStorage - Class in net.fabricmc.fabric.api.transfer.v1.item.base
A storage that can store a single item variant at any given time.
SingleItemStorage() - Constructor for class net.fabricmc.fabric.api.transfer.v1.item.base.SingleItemStorage
 
SingleSlotStorage<T> - Interface in net.fabricmc.fabric.api.transfer.v1.storage.base
A storage that is also its only storage view.
SingleStackStorage - Class in net.fabricmc.fabric.api.transfer.v1.item.base
An item variant storage backed by an ItemStack.
SingleStackStorage() - Constructor for class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
 
SingleVariantItemStorage<T> - Class in net.fabricmc.fabric.api.transfer.v1.storage.base
Base implementation of a fixed-capacity "continuous" storage for item-provided storage APIs.
SingleVariantItemStorage(ContainerItemContext) - Constructor for class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
 
SingleVariantStorage<T> - Class in net.fabricmc.fabric.api.transfer.v1.storage.base
A storage that can store a single transfer variant at any given time.
SingleVariantStorage() - Constructor for class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
SKIP_WHEN_EMPTY - Enum constant in enum class net.fabricmc.fabric.api.event.registry.DynamicRegistries.SyncOption
Only synchronizes the dynamic registry if it's not empty.
SKULLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Tag that holds all head based blocks such as Skeleton Skull or Player Head.
skyAccess() - Element in annotation interface net.fabricmc.fabric.api.gametest.v1.GameTest
Whether the test should have sky access.
SLEEP - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla sleep overlay element.
slice(ByteBuf) - Static method in class net.fabricmc.fabric.api.networking.v1.FriendlyByteBufs
Wraps the newly created buf from buf.slice in a friendly byte buf.
slice(ByteBuf, int, int) - Static method in class net.fabricmc.fabric.api.networking.v1.FriendlyByteBufs
Wraps the newly created buf from buf.slice in a friendly byte buf.
SLIME_BALLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
SlottedStorage<T> - Interface in net.fabricmc.fabric.api.transfer.v1.storage
A Storage implementation made of indexed slots.
SMALL_FLOWERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Contains living ground-based flowers that are 1 block tall such as Dandelions or Poppy.
SMALL_FLOWERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Contains living ground-based flowers that are 1 block tall such as Dandelions or Poppy.
SnapshotParticipant<T> - Class in net.fabricmc.fabric.api.transfer.v1.transaction.base
A base participant implementation that modifies itself during transactions, saving snapshots of its state in objects of type T in case it needs to revert to a previous state.
SnapshotParticipant() - Constructor for class net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
 
sound(SoundTypeBuilder.RegistrationBuilder) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder
Adds one sound to the event.
sound(SoundTypeBuilder.RegistrationBuilder, int) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder
Adds one or more sounds to the event.
SOUND_EVENT - Enum constant in enum class net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationType
References to another sound event.
SOUNDS - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
Deprecated.
 
SOUNDS - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
soundType(SoundType) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Sets this block set type's sound type.
soundType(SoundType) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.WoodTypeBuilder
Sets this wood type's sound type.
SoundTypeBuilder - Interface in net.fabricmc.fabric.api.client.datagen.v1.builder
Provides functionality for building entries that go into a sounds.json file.
SoundTypeBuilder.RegistrationBuilder - Interface in net.fabricmc.fabric.api.client.datagen.v1.builder
Builder for creating a weighted sound event registration that can be played for a particular sound type.
SoundTypeBuilder.RegistrationType - Enum Class in net.fabricmc.fabric.api.client.datagen.v1.builder
Represents the type of weighted sound event registration.
SOUP_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Soups, stews, and other liquid food in bowls belongs in this tag.
source(SoundSource) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
Source is not a field interpreted by vanilla in the sounds file, calling this method will have no effect.
spawnableFarFromPlayer() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
 
spawnableFarFromPlayer() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
spawnableFarFromPlayer() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
use EntityType.Builder.canSpawnFarFromPlayer()
spawnPlacement(SpawnPlacementType, Heightmap.Types, SpawnPlacements.SpawnPredicate) - Method in interface net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityType.Builder.Mob
Registers a spawn placement for this entity.
spawnPlacement(SpawnPlacementType, Heightmap.Types, SpawnPlacements.SpawnPredicate) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
spawnsOneOf(Set) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Returns a biome selector that will match biomes in which one of the given entity types can spawn.
spawnsOneOf(EntityType...) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Returns a biome selector that will match biomes in which one of the given entity types can spawn.
specificSpawnBlocks(Block...) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
 
specificSpawnBlocks(Block...) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
specificSpawnBlocks(Block...) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Deprecated.
use EntityType.Builder.immuneTo(Block...)
SPECTATOR_MENU - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla spectator menu.
SPECTATOR_TOOLTIP - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla spectator tooltip.
SPLASH_TEXTS - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
sprites - Variable in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
 
SpriteSourceRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1
A registry for custom SpriteSources.
START - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents
An event called after the connection has been initialized and is ready to start sending and receiving configuration packets.
START_CLIENT_TICK - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents
Called at the start of the client tick.
START_DATA_PACK_RELOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents
Called before a Minecraft server reloads data packs.
START_LEVEL_TICK - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents
Called at the start of a ClientLevel's tick.
START_LEVEL_TICK - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents
Called at the start of a ServerLevel's tick.
START_MAIN - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents
Called at the start of the main pass, after the sky is drawn to the appropriate framebuffers and all chunks to be rendered are uploaded to GPU, and before any chunks are drawn to the appropriate framebuffers.
START_SERVER_TICK - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents
Called at the start of the server tick.
START_SLEEPING - Static variable in class net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents
An event that is called when an entity starts to sleep.
START_TRACKING - Static variable in class net.fabricmc.fabric.api.networking.v1.EntityTrackingEvents
An event that is called after a player has started tracking an entity.
startDataPackReload(MinecraftServer, CloseableResourceManager) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.StartDataPackReload
 
startMain(LevelTerrainRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderEvents.StartMain
 
startRiding(Entity, boolean, boolean) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
 
startSleeping(BlockPos) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
 
StatusBarHeightProvider - Interface in net.fabricmc.fabric.api.client.rendering.v1.hud
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.
stillTexture - Variable in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
 
STONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Natural stone-like blocks that can be used as a base ingredient in recipes that take stone.
STONES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Natural stone-like blocks that can be used as a base ingredient in recipes that take stone.
STOP_SLEEPING - Static variable in class net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents
An event that is called when an entity stops sleeping and wakes up.
STOP_TRACKING - Static variable in class net.fabricmc.fabric.api.networking.v1.EntityTrackingEvents
An event that is called before a player stops tracking an entity.
Storage<T> - Interface in net.fabricmc.fabric.api.transfer.v1.storage
An object that can store resources.
STORAGE_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
A storage block is generally a block that has a recipe to craft a bulk of 1 kind of resource to a block and has a mirror recipe to reverse the crafting with no loss in resources.
STORAGE_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
A storage block is generally a block that has a recipe to craft a bulk of 1 kind of resource to a block and has a mirror recipe to reverse the crafting with no loss in resources.
STORAGE_BLOCKS_BONE_MEAL - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_BONE_MEAL - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_COAL - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_COAL - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_COPPER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_COPPER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_DIAMOND - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_DIAMOND - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_DRIED_KELP - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_DRIED_KELP - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_EMERALD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_EMERALD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_GOLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_GOLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_IRON - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_IRON - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_LAPIS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_LAPIS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_NETHERITE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_NETHERITE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_RAW_COPPER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_RAW_COPPER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_RAW_GOLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_RAW_GOLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_RAW_IRON - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_RAW_IRON - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_REDSTONE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_REDSTONE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_RESIN - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_RESIN - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_SLIME - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_SLIME - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
STORAGE_BLOCKS_WHEAT - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
STORAGE_BLOCKS_WHEAT - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
StoragePreconditions - Class in net.fabricmc.fabric.api.transfer.v1.storage
Preconditions that can be used when working with storages.
StorageUtil - Class in net.fabricmc.fabric.api.transfer.v1.storage
Helper functions to work with Storages.
StorageView<T> - Interface in net.fabricmc.fabric.api.transfer.v1.storage
A view of a single stored resource in a Storage, for use with Storage.iterator().
stream() - Method in interface net.fabricmc.fabric.api.event.registry.DynamicRegistryView
 
stream(boolean) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
Configures the sound to be streamed.
STRING - Static variable in class net.fabricmc.fabric.api.util.NbtType
Deprecated.
 
STRINGS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
StrippableBlockRegistry - Class in net.fabricmc.fabric.api.registry
A registry for axe stripping interactions.
StrippableBlockRegistry.StrippingTransformer - Interface in net.fabricmc.fabric.api.registry
 
STRIPPED_LOGS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
For logs, including Stems, found naturally that have been stripped.
STRIPPED_LOGS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For logs, including Stems, found naturally that have been stripped.
STRIPPED_WOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
For six-sided wood blocks, including Hyphae, found naturally that have been stripped.
STRIPPED_WOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For six-sided wood blocks, including Hyphae, found naturally that have been stripped.
structure() - Element in annotation interface net.fabricmc.fabric.api.gametest.v1.GameTest
A namespaced ID pointing to a structure resource in the modid/gametest/structure/ directory.
STYLING_PHASE - Static variable in class net.fabricmc.fabric.api.message.v1.ServerMessageDecoratorEvent
The styling phase of the event, passed when registering a chat decorator.
submitNodeCollector() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.level.LevelRenderContext
 
submitNodeCollector() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.PictureInPictureRendererRegistry.Context
 
submitTransformCopyingModel(Model, S, Model, D, boolean, OrderedSubmitNodeCollector, PoseStack, RenderType, int, int, int, ModelFeatureRenderer.CrumblingOverlay) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderer
Helper method for rendering a TransformCopyingModel, which will copy transforms from its source model to its delegate model when it is rendered.
submitTransformCopyingModel(Model, S, Model, D, boolean, OrderedSubmitNodeCollector, PoseStack, RenderType, int, int, int, TextureAtlasSprite, int, ModelFeatureRenderer.CrumblingOverlay) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderer
Helper method for rendering a TransformCopyingModel, which will copy transforms from a source model to a delegate model when it is rendered.
subtitle(String) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder
Sets an optional translation key string to use for the sound's subtitle.
SUBTITLES - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla sound subtitles element.
SUGAR_CANE_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
supplyWithContext(PacketContextProvider, Supplier) - Static method in interface net.fabricmc.fabric.api.networking.v1.context.PacketContext
Runs specified runnable under a packet context, returning a value.
supportedValues(E...) - Method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder.EnumRuleBuilder
 
supportsExtraction() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage
 
supportsExtraction() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
 
supportsExtraction() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.base.InsertionOnlyStorage
 
supportsExtraction() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
 
supportsExtraction() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Return false if calling Storage.extract(T, long, TransactionContext) will absolutely always return 0, or true otherwise or in doubt.
supportsInsertion() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage
 
supportsInsertion() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.base.ExtractionOnlyStorage
 
supportsInsertion() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
 
supportsInsertion() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
 
supportsInsertion() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Return false if calling Storage.insert(T, long, TransactionContext) will absolutely always return 0, or true otherwise or in doubt.
SUSPICIOUS_STEW - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
Holds all fluids related to Suspicious Stew.
switchToNextPage() - Method in interface net.fabricmc.fabric.api.client.creativetab.v1.FabricCreativeModeInventoryScreen
Switches to the next page if it exists.
switchToPage(int) - Method in interface net.fabricmc.fabric.api.client.creativetab.v1.FabricCreativeModeInventoryScreen
Switches to the page with the given index if it exists.
switchToPreviousPage() - Method in interface net.fabricmc.fabric.api.client.creativetab.v1.FabricCreativeModeInventoryScreen
Switches to the previous page if it exists.
SYNC_DATA_PACK_CONTENTS - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents
Called when a Minecraft server is about to send tag and recipe data to a player.
SYNCED - Enum constant in enum class net.fabricmc.fabric.api.event.registry.RegistryAttribute
Registry will be synced to the client when modded.
Synchronization - Section in class net.fabricmc.fabric.api.event.registry.DynamicRegistries
 
SynchronizedRecipes - Interface in net.fabricmc.fabric.api.recipe.v1.sync
This class provides access to synchronized recipes on the client.
synchronizeRecipeSerializer(RecipeSerializer) - Static method in class net.fabricmc.fabric.api.recipe.v1.sync.RecipeSynchronization
Enables synchronization of recipes to the client, for recipes that can be handled by the provided RecipeSerializer.
syncWith(StreamCodec, AttachmentSyncPredicate) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry.Builder
Declares that this attachment type may be automatically synchronized with some clients, as determined by syncPredicate.
syncWith(StreamCodec, AttachmentSyncPredicate, int) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry.Builder
Declares that this attachment type may be automatically synchronized with some clients, as determined by syncPredicate.

T

tag(TagKey) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Returns a biome selector that will match all biomes in the given tag.
TAGS_LOADED - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.CommonLifecycleEvents
Called when tags are loaded or updated.
tagsPopulated(ResourceKey, TagKey...) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
 
tagsPopulated(TagKey...) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
A condition that passes if each of the tags exist.
TagUtil - Class in net.fabricmc.fabric.api.tag.convention.v2
A Helper class for checking whether a TagKey contains some entry.
takeScreenshot(String) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Takes a screenshot and saves it in the screenshots directory.
takeScreenshot(TestScreenshotOptions) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Takes a screenshot with the given options.
TALL_FLOWERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Contains living ground-based flowers that are 2 block tall such as Rose Bush or Peony.
TALL_FLOWERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Contains living ground-based flowers that are 2 block tall such as Rose Bush or Peony.
targetOnly() - Static method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentSyncPredicate
 
TELEPORTING_NOT_SUPPORTED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEntityTypeTags
Entities should be included in this tag if they are not allowed to be teleported in any way.
test(RegistryOps.RegistryInfoLookup) - Method in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceCondition
Tests the condition.
test(ItemStack) - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient
Checks if a stack matches this ingredient.
TestClientLevelContext - Interface in net.fabricmc.fabric.api.client.gametest.v1.context
Context for a client gametest containing various helpful functions while a client level is open.
TestDedicatedServerContext - Interface in net.fabricmc.fabric.api.client.gametest.v1.context
Context for a client gametest containing various helpful functions while an in-process dedicated server is running.
TestInput - Interface in net.fabricmc.fabric.api.client.gametest.v1
The client gametest input handler used to simulate inputs to the client.
TestScreenshotCommonOptions<SELF> - Interface in net.fabricmc.fabric.api.client.gametest.v1.screenshot
Base class for screenshot customization options common to taking screenshots and comparing them.
TestScreenshotComparisonAlgorithm - Interface in net.fabricmc.fabric.api.client.gametest.v1.screenshot
An algorithm for finding a template subimage (the "needle") in a screenshot (the "haystack").
TestScreenshotComparisonAlgorithm.RawImage<DATA> - Interface in net.fabricmc.fabric.api.client.gametest.v1.screenshot
A thin wrapper around a raw image data array, so that algorithms can directly access the array which may be more efficient than going through a NativeImage each time.
TestScreenshotComparisonOptions - Interface in net.fabricmc.fabric.api.client.gametest.v1.screenshot
Options for comparing screenshots.
TestScreenshotOptions - Interface in net.fabricmc.fabric.api.client.gametest.v1.screenshot
Options to customize a screenshot.
TestServerConnection - Interface in net.fabricmc.fabric.api.client.gametest.v1.context
Context for a connection to a dedicated server containing various helpful functions while the connection is alive.
TestServerContext - Interface in net.fabricmc.fabric.api.client.gametest.v1.context
Context for a client gametest containing various helpful functions while a server (integrated or dedicated) is running.
TestSingleplayerContext - Interface in net.fabricmc.fabric.api.client.gametest.v1.context
Context for a client gametest containing various helpful functions while a singleplayer game is open.
TestWorldBuilder - Interface in net.fabricmc.fabric.api.client.gametest.v1.world
A builder used for creating singleplayer worlds and dedicated servers.
TestWorldSave - Interface in net.fabricmc.fabric.api.client.gametest.v1.world
A handle for a singleplayer world save.
TEXTURES - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
Deprecated.
 
TEXTURES - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
TheEndBiomes - Class in net.fabricmc.fabric.api.biome.v1
API that exposes some internals of the minecraft default biome source for The End.
The Resource Loader, version 1. - Section in package net.fabricmc.fabric.api.resource.v1
 
Threading - Section in package net.fabricmc.fabric.api.client.gametest.v1
 
tick() - Method in class net.fabricmc.fabric.api.entity.FakePlayer
 
TillableBlockRegistry - Class in net.fabricmc.fabric.api.registry
A registry for hoe tilling interactions.
tint - Variable in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
 
TITLE_AND_SUBTITLE - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements
The identifier for the vanilla title and subtitle element.
TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
TORCHFLOWER_SEEDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
toStack() - Method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
Create a new item stack with count 1 from this variant.
toStack(int) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
Create a new item stack from this variant.
toString() - Method in class net.fabricmc.fabric.api.client.rendering.v1.RenderStateDataKey
 
toString() - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.EmptyItemFluidStorage
 
toString() - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.FullItemFluidStorage
 
toString() - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
 
toString() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedSlottedStorage
 
toString() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage
 
toString() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
 
toString() - Method in record class net.fabricmc.fabric.api.transfer.v1.storage.base.ResourceAmount
Returns a string representation of this record class.
toString() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
 
toString() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
toVanilla() - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient
Returns a new Ingredient behaving as defined by this custom ingredient.
trackable(int, int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
trackable(int, int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
trackable(int, int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
trackable(int, int, boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
trackable(int, int, boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
trackable(int, int, boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
trackedUpdateRate(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
 
trackedUpdateRate(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
trackedUpdateRate(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
tracking(ServerLevel, BlockPos) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
Gets all players tracking a block position in a server level.
tracking(ServerLevel, ChunkPos) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
Gets all players tracking a chunk in a server level.
tracking(Entity) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
Gets all players tracking an entity in a server level.
tracking(BlockEntity) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
Gets all players tracking a block entity in a server level.
trackRangeBlocks(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
 
trackRangeBlocks(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
trackRangeBlocks(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
trackRangeChunks(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Deprecated.
 
trackRangeChunks(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Deprecated.
 
trackRangeChunks(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Transaction - Interface in net.fabricmc.fabric.api.transfer.v1.transaction
A global operation where participants guarantee atomicity: either the whole operation succeeds, or it is completely aborted and rolled back.
Transaction.Lifecycle - Enum Class in net.fabricmc.fabric.api.transfer.v1.transaction
 
TransactionContext - Interface in net.fabricmc.fabric.api.transfer.v1.transaction
A subset of a Transaction that lets participants properly take part in transactions, manage their state, or open nested transactions, but does not allow them to close the transaction they are passed.
TransactionContext.CloseCallback - Interface in net.fabricmc.fabric.api.transfer.v1.transaction
A callback that is invoked when a transaction is closed.
TransactionContext.OuterCloseCallback - Interface in net.fabricmc.fabric.api.transfer.v1.transaction
A callback that is invoked after the outer transaction is closed.
TransactionContext.Result - Enum Class in net.fabricmc.fabric.api.transfer.v1.transaction
The result of a transaction operation.
TransferVariant<O> - Interface in net.fabricmc.fabric.api.transfer.v1.storage
An immutable association of an immutable object instance (for example Item or Fluid) and data components.
TransformCopyingModel<S,D> - Class in net.fabricmc.fabric.api.client.rendering.v1
A model that copies transforms from a source model to a delegate model.
trapdoorCloseSound(SoundEvent) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Sets this block set type's trapdoor close sound.
trapdoorOpenSound(SoundEvent) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
Sets this block set type's trapdoor open sound.
TRAPPED_CHESTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
TRAPPED_CHESTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
TRIDENT_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For throwable stick-like tools, like Minecraft's trident.
TriState - Enum Class in net.fabricmc.fabric.api.util
Represents a boolean value which can be true, false or refer to a default value.
TRUE - Enum constant in enum class net.fabricmc.fabric.api.util.TriState
Represents the boolean value of true.
tryClickScreenButton(String) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Presses the button in the current screen whose label is the given translation key, if the button exists.
tryInsertStacking(Storage, T, long, TransactionContext) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
Insert resources in a storage, attempting to stack them with existing resources first if possible.
type - Variable in class net.fabricmc.fabric.api.gamerule.v1.GameRuleBuilder
 
TYPE_CODEC - Static variable in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditionType
A codec used to serialize the condition type.
typeChar(int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Types a code point (character).
typeChars(String) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.TestInput
Types a sequence of code points (characters) one after the other.
typeHolder() - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
 
typeHolder() - Method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
 

U

UNCOLORED_SANDSTONE_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
UNCOLORED_SANDSTONE_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
UNCOLORED_SANDSTONE_SLABS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
UNCOLORED_SANDSTONE_SLABS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
UNCOLORED_SANDSTONE_STAIRS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
UNCOLORED_SANDSTONE_STAIRS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
UNLOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerLevelEvents
Called before a level is unloaded by a Minecraft server.
UNREGISTER - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ServerboundConfigurationChannelEvents
An event for the client configuration packet listener receiving an update indicating the connected server's lack of ability to receive packets in certain channels.
UNREGISTER - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ServerboundPlayChannelEvents
An event for the client play packet listener receiving an update indicating the connected server's lack of ability to receive packets in certain channels.
UNREGISTER - Static variable in class net.fabricmc.fabric.api.networking.v1.ClientboundConfigurationChannelEvents
An event for the server configuration packet listener receiving an update indicating the connected client's lack of ability to receive packets in certain channels.
UNREGISTER - Static variable in class net.fabricmc.fabric.api.networking.v1.ClientboundPlayChannelEvents
An event for the server game packet listener receiving an update indicating the connected client's lack of ability to receive packets in certain channels.
unregisterGlobalReceiver(CustomPacketPayload.Type) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
Removes the handler for a packet type.
unregisterGlobalReceiver(Identifier) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientLoginNetworking
Removes the handler of a query request channel.
unregisterGlobalReceiver(Identifier) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Removes the handler for a payload type.
unregisterGlobalReceiver(Identifier) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Removes the handler for a payload type.
unregisterGlobalReceiver(Identifier) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking
Removes the handler of a query response channel.
unregisterGlobalReceiver(Identifier) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Removes the handler for a payload type.
unregisterReceiver(Identifier) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
Removes the handler for a packet type.
unregisterReceiver(Identifier) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientLoginNetworking
Removes the handler of a query request channel.
unregisterReceiver(Identifier) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Removes the handler for a payload id.
unregisterReceiver(ServerConfigurationPacketListenerImpl, Identifier) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
Removes the handler for a payload type.
unregisterReceiver(ServerGamePacketListenerImpl, Identifier) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Removes the handler for a packet type.
unregisterReceiver(ServerLoginPacketListenerImpl, Identifier) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking
Removes the handler of a query response channel.
updateOptions(ClientInformation) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
 
updateSnapshots(TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
Update the stored snapshots so that the changes happening as part of the passed transaction can be correctly committed or rolled back.
Usage Example - Section in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
 
Usage Example - Section in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiLookupMap
 
Usage Example - Section in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
 
Usage Example - Section in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
 
Usage Example - Section in net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance.getAudioStream(SoundBufferLibrary, Identifier, boolean)
 
use(Level, Player, InteractionHand) - Method in interface net.fabricmc.fabric.api.event.player.ItemEvents.UseCallback
Handles item interaction.
USE - Static variable in interface net.fabricmc.fabric.api.event.player.ItemEvents
Callback that runs when Item.use(Level, Player, InteractionHand) is called within ItemStack.use(Level, Player, InteractionHand).
USE_ITEM_ON - Static variable in interface net.fabricmc.fabric.api.event.player.BlockEvents
Callback that runs when BlockBehaviour.BlockStateBase.useItemOn(ItemStack, Level, Player, InteractionHand, BlockHitResult) is called.
USE_ON - Static variable in interface net.fabricmc.fabric.api.event.player.ItemEvents
Callback that runs when Item.useOn(UseOnContext) is called within ItemStack.useOn(UseOnContext).
USE_WITHOUT_ITEM - Static variable in interface net.fabricmc.fabric.api.event.player.BlockEvents
Callback that runs when BlockBehaviour.BlockStateBase.useWithoutItem(Level, Player, BlockHitResult) is called.
UseBlockCallback - Interface in net.fabricmc.fabric.api.event.player
Callback for right-clicking ("using") a block.
useCustomElytra(LivingEntity, boolean) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntityElytraEvents.Custom
Try to use a custom elytra for an entity.
UseEntityCallback - Interface in net.fabricmc.fabric.api.event.player
Callback for right-clicking ("using") an entity.
UseItemCallback - Interface in net.fabricmc.fabric.api.event.player
Callback for right-clicking ("using") an item.
useItemOn(ItemStack, BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult) - Method in interface net.fabricmc.fabric.api.event.player.BlockEvents.UseItemOnCallback
Handles block-side interaction, which uses item stack as a context.
useOn(UseOnContext) - Method in interface net.fabricmc.fabric.api.event.player.ItemEvents.UseOnCallback
Handles item-side interaction, caused by interacting with block.
usePipelineDrawModeForGui() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.FabricRenderPipeline.Snippet
Returns whether the pipeline draw mode should be used for GUI rendering.
usePipelineDrawModeForGui() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.FabricRenderPipeline
Returns whether the pipeline draw mode should be used for GUI rendering.
useWithoutItem(BlockState, Level, BlockPos, Player, BlockHitResult) - Method in interface net.fabricmc.fabric.api.event.player.BlockEvents.UseWithoutItemCallback
Handles block-side interaction, which doesn't require any held item stack.

V

validForStructure(ResourceKey) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Returns true if the configured structure with the given key can start in this biome in any chunk generator used by the current level.
valueLookupBuilder(TagKey) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagsProvider.FabricIntrinsicHolderTagsProvider
 
valueOf(String) - Static method in enum class net.fabricmc.fabric.api.biome.v1.ModificationPhase
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fabricmc.fabric.api.event.registry.DynamicRegistries.SyncOption
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fabricmc.fabric.api.event.registry.RegistryAttribute
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fabricmc.fabric.api.item.v1.EnchantingContext
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fabricmc.fabric.api.item.v1.EnchantmentSource
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fabricmc.fabric.api.loot.v3.LootTableSource
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fabricmc.fabric.api.resource.ResourcePackActivationType
Deprecated.
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fabricmc.fabric.api.resource.v1.pack.PackActivationType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fabricmc.fabric.api.transfer.v1.transaction.Transaction.Lifecycle
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.Result
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fabricmc.fabric.api.util.EventResult
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.fabricmc.fabric.api.util.TriState
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.fabricmc.fabric.api.biome.v1.ModificationPhase
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fabricmc.fabric.api.event.registry.DynamicRegistries.SyncOption
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fabricmc.fabric.api.event.registry.RegistryAttribute
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fabricmc.fabric.api.item.v1.EnchantingContext
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fabricmc.fabric.api.item.v1.EnchantmentSource
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fabricmc.fabric.api.loot.v3.LootTableSource
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fabricmc.fabric.api.resource.ResourcePackActivationType
Deprecated.
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fabricmc.fabric.api.resource.v1.pack.PackActivationType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fabricmc.fabric.api.transfer.v1.transaction.Transaction.Lifecycle
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.Result
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fabricmc.fabric.api.util.EventResult
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.fabricmc.fabric.api.util.TriState
Returns an array containing the constants of this enum class, in the order they are declared.
vanilla() - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Returns a biome selector that will match all biomes from the minecraft namespace.
VANILLA - Enum constant in enum class net.fabricmc.fabric.api.item.v1.EnchantmentSource
An enchantment loaded from the vanilla data pack.
VANILLA - Enum constant in enum class net.fabricmc.fabric.api.loot.v3.LootTableSource
A loot table loaded from the default data pack.
VANILLA - Static variable in interface net.fabricmc.fabric.api.registry.StrippableBlockRegistry.StrippingTransformer
 
VanillaHudElements - Class in net.fabricmc.fabric.api.client.rendering.v1.hud
A hud element that has an identifier attached for use in HudElementRegistry.
variant - Variable in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
VEGETABLE_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Tomatoes and other foods that are considered vegetables in the culinary field belong in this tag.
VibrationFrequencyRegistry - Class in net.fabricmc.fabric.api.registry
Provides a method for registering vibration frequencies.
VILLAGER_JOB_SITES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
VILLAGER_JOB_SITES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
VillagerInteractionRegistries - Class in net.fabricmc.fabric.api.registry
Registries for modifying villager interactions that villagers have with the world.
VISCOSITY_RATIO - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
For flowing fluids, the viscosity should match VISCOSITY_RATIO * Fluid.getTickDelay(LevelReader).
visitDouble(GameRule) - Method in interface net.fabricmc.fabric.api.gamerule.v1.FabricGameRuleTypeVisitor
Visit a double rule.
visitEnum(GameRule) - Method in interface net.fabricmc.fabric.api.gamerule.v1.FabricGameRuleTypeVisitor
Visit an enum rule.
volume(float) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
Sets the volume of the sound.

W

waitFor(Future) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking.LoginSynchronizer
Allows blocking client log-in until the future is done.
waitFor(Predicate) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Waits for a predicate to be true.
waitFor(Predicate, int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Waits for a predicate to be true.
waitForChunksDownload() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestClientLevelContext
Waits for all chunks that will be downloaded from the server to be downloaded.
waitForChunksDownload(int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestClientLevelContext
Waits for all chunks that will be downloaded from the server to be downloaded.
waitForChunksRender() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestClientLevelContext
Waits for all chunks to be downloaded and rendered.
waitForChunksRender(boolean) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestClientLevelContext
Waits for all chunks to be rendered, optionally waiting for chunks to be downloaded first.
waitForChunksRender(boolean, int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestClientLevelContext
Waits for all chunks to be rendered, optionally waiting for chunks to be downloaded first.
waitForChunksRender(int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.TestClientLevelContext
Waits for all chunks to be downloaded and rendered.
waitForScreen(Class) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Waits for the given screen class to be shown.
waitTick() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Runs a single tick and waits for it to complete.
waitTicks(int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Runs ticks ticks and waits for them to complete.
wasAborted() - Method in enum class net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.Result
 
wasCommitted() - Method in enum class net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.Result
 
WATER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
Holds all fluids related to water without the behaviors attached to the vanilla water fluid tag.
WATER_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Does not include entity water buckets.
WATER_DRINKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For consumable drinks that contain only water.
WATER_TEMPERATURE - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
Water temperature, in Kelvin.
WATER_VISCOSITY - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
WATERY_DRINKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For consumable drinks that are generally watery (such as potions).
WAYPOINT_STYLE - Static variable in class net.fabricmc.fabric.api.resource.v1.reloader.ResourceReloaderKeys.Client
 
WEAPON_DAMAGE_ENHANCEMENTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEnchantmentTags
For enchantments that increase the damage dealt by an item.
weight(int) - Method in interface net.fabricmc.fabric.api.client.datagen.v1.builder.SoundTypeBuilder.RegistrationBuilder
Sets the weight or "chance" that this sound has of playing when its parent sound event is called upon.
What is GameTest? - Section in package net.fabricmc.fabric.api.gametest.v1
 
WHEAT_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
WHEAT_SEEDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
when(Collection) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootPoolBuilder
Adds conditions to this builder.
when(LootItemCondition) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootPoolBuilder
Adds a condition to this builder.
WHITE_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
WHITE_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
WHITE_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
width() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonAlgorithm.RawImage
The width of the image.
withAlgorithm(TestScreenshotComparisonAlgorithm) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonOptions
Changes the algorithm used to compare the template image with the screenshot.
withComponents(DataComponentPatch) - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
Creates a copy of this FluidVariant with the provided component patch applied.
withComponents(DataComponentPatch) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
Creates a copy of this ItemVariant with the provided component patch applied.
withComponents(DataComponentPatch) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
Creates a copy of this TransferVariant with the provided component patch applied.
withConditions(BiConsumer, ResourceCondition...) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLootTableSubProvider
Return a new exporter that applies the specified conditions to any loot table it receives.
withConditions(Consumer, ResourceCondition...) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricAdvancementProvider
Return a new exporter that applies the specified conditions to any advancement it receives.
withConditions(ResourceCondition...) - Method in interface net.fabricmc.fabric.api.datagen.v1.loot.FabricBlockLootSubProvider
Return a new generator that applies the specified conditions to any loot table it receives, and then forwards the loot tables to this generator.
withConditions(ResourceCondition...) - Method in interface net.fabricmc.fabric.api.datagen.v1.loot.FabricEntityLootSubProvider
Returns a new generator that applies the specified conditions to any loot table it receives, and then forwards the loot tables to this generator.
withConditions(RecipeOutput, ResourceCondition...) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider
Return a new exporter that applies the specified conditions to any recipe json provider it receives.
withConstant(ItemVariant, long) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Return a context that always has some content, and will accept (and destroy) any overflow items.
withConstant(ItemStack) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Return a context that always has some content, and will accept (and destroy) any overflow items.
withDeltaTicks(float) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotCommonOptions
Changes the delta ticks to take this screenshot with.
withDestinationDir(Path) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotCommonOptions
Changes the directory in which this screenshot is saved, which defaults to the screenshots directory in the game's run directory.
withFixedCapacity(long, Runnable) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Create a fluid storage with a fixed capacity and a change handler.
withGrayscale() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonOptions
Compares images in grayscale rather than in color.
withoutPipelineDrawModeForGui(RenderPipeline.Snippet) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.FabricRenderPipeline.Snippet
Creates a new snippet without the pipeline draw mode for GUI rendering.
withoutUsePipelineDrawModeForGui() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.FabricRenderPipeline.Builder
Set the default behavior for GUI rendering regarding the pipeline draw mode.
withPipelineDrawModeForGui(RenderPipeline.Snippet, boolean) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.FabricRenderPipeline.Snippet
Creates a new snippet with the specified pipeline draw mode for GUI rendering.
withRegion(int, int, int, int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotComparisonOptions
Only considers a certain region of the screenshot for comparison.
withSize(int, int) - Method in interface net.fabricmc.fabric.api.client.gametest.v1.screenshot.TestScreenshotCommonOptions
Changes the resolution of the screenshot, which defaults to the resolution of the Minecraft window.
withUsePipelineDrawModeForGui(boolean) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.FabricRenderPipeline.Builder
Sets whether the pipeline draw mode should be used for GUI rendering.
WOLF_ARMORS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
A tag containing armor that can fit on a Wolf.
WOODEN_BARRELS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
WOODEN_BARRELS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
WOODEN_CHESTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
WOODEN_CHESTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
WOODEN_FENCE_GATES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
WOODEN_FENCE_GATES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
WOODEN_FENCES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
Aliased with BlockTags.WOODEN_FENCES.
WOODEN_FENCES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Aliased with ItemTags.WOODEN_FENCES.
WOODEN_RODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
For stick-like materials to be used in recipes.
WoodTypeBuilder - Class in net.fabricmc.fabric.api.object.builder.v1.block.type
This class allows easy creation of WoodTypes.
WoodTypeBuilder() - Constructor for class net.fabricmc.fabric.api.object.builder.v1.block.type.WoodTypeBuilder
 
worldBuilder() - Method in interface net.fabricmc.fabric.api.client.gametest.v1.context.ClientGameTestContext
Creates a world builder for creating singleplayer worlds and dedicated servers.
World creation options - Section in package net.fabricmc.fabric.api.client.gametest.v1
 
WRENCH_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
writeValue(SingleVariantStorage, Codec, ValueOutput) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
Write a SingleVariantStorage to ValueOutput.
writeValue(ValueOutput) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Simple implementation of writing to ValueOutput.
writeValue(ValueOutput) - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleItemStorage
Simple implementation of writing to ValueOutput.

X

x() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext.Frame
 
x() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext.Icon
 

Y

y() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext.Frame
 
y() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.advancement.AdvancementRenderContext.Icon
 
YELLOW_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
 
YELLOW_DYED - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
YELLOW_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values