Index
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(net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext)
from this transaction. - ABORTED - Enum constant in enum class net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.Result
- accept(BiConsumer<RegistryKey<LootTable>, LootTable.Builder>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootTableProvider
- accept(BakedModel) - Method in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext.BakedModelConsumer
-
Deprecated.Render a baked model by processing its BakedModel.getQuads(net.minecraft.block.BlockState, net.minecraft.util.math.Direction, net.minecraft.util.math.random.Random) using the rendered block state.
- accept(BakedModel, BlockState) - Method in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext.BakedModelConsumer
-
Deprecated.Render a baked model by processing its BakedModel.getQuads(net.minecraft.block.BlockState, net.minecraft.util.math.Direction, net.minecraft.util.math.random.Random) with an explicit block state.
- 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.
- 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(ModificationPhase, Predicate<BiomeSelectionContext>, BiConsumer<BiomeSelectionContext, BiomeModificationContext>) - 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<BiomeSelectionContext>, Consumer<BiomeModificationContext>) - 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(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(StatusEffect, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
-
Adds a translation for a
StatusEffect
. - add(EntityType<?>, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
-
Adds a translation for an
EntityType
. - add(ItemConvertible, V) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
- add(Item, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
-
Adds a translation for an
Item
. - add(ItemStack, ItemGroup.StackVisibility) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
-
Adds a stack to the end of the item group.
- add(RegistryEntry.Reference<T>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
-
Adds a new object to be data generated.
- add(RegistryEntry.Reference<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(RegistryEntry<EntityAttribute>, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
-
Adds a translation for an
EntityAttribute
. - add(RegistryKey<ItemGroup>, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
-
Adds a translation for an
ItemGroup
. - add(RegistryKey<T>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FabricTagBuilder
-
Add an element to the tag.
- add(RegistryKey<T>...) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FabricTagBuilder
-
Add multiple elements to this tag.
- add(RegistryKey<T>, T) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
-
Adds a new object to be data generated.
- add(RegistryKey<T>, 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(RegistryWrapper.Impl<T>, RegistryKey<T>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
-
Adds a new
RegistryKey
from a givenRegistryWrapper.Impl
to be data generated. - add(RegistryWrapper.Impl<T>, RegistryKey<T>, ResourceCondition...) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
-
Adds a new
RegistryKey
from a givenRegistryWrapper.Impl
to be data generated. - add(TagKey<?>, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
-
Adds a translation for a
TagKey
. - add(TagKey<Block>, int, int) - Method in interface net.fabricmc.fabric.api.registry.FlammableBlockRegistry
- add(TagKey<Block>, V) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
- add(TagKey<Item>, V) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
- add(StatType<?>, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
-
Adds a translation for a
StatType
. - add(Identifier) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FabricTagBuilder
-
Add a single element to the tag.
- add(Identifier...) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FabricTagBuilder
-
Add multiple elements to this tag.
- add(Identifier, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
-
Adds a translation for an
Identifier
. - add(T) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FabricTagBuilder
-
Add an element to the tag.
- add(T...) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FabricTagBuilder
-
Add multiple elements to the tag.
- addAfter(Predicate<ItemStack>, Collection<ItemStack>, ItemGroup.StackVisibility) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
-
Adds stacks after the last group entry matching a predicate, or at the end, if no entries match.
- addAfter(ItemConvertible, Collection<ItemStack>) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- addAfter(ItemConvertible, Collection<ItemStack>, ItemGroup.StackVisibility) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
-
Adds stacks after an existing item in the group, or at the end, if the item isn't in the group.
- addAfter(ItemConvertible, ItemConvertible...) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- addAfter(ItemConvertible, ItemStack...) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- addAfter(ItemStack, Collection<ItemStack>) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- addAfter(ItemStack, Collection<ItemStack>, ItemGroup.StackVisibility) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
-
Adds stacks after an existing stack in the group, or at the end, if the stack isn't in the group.
- addAfter(ItemStack, ItemConvertible...) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- addAfter(ItemStack, ItemStack...) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- addAll(RegistryWrapper.Impl<T>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
-
All the registry entries whose namespace matches the current effective mod ID will be data generated.
- addAll(Identifier, Collection<? extends TradeOffers.Factory>) - Method in interface net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper.WanderingTraderOffersBuilder
-
Adds trade offers to the offer list.
- addAll(Identifier, TradeOffers.Factory...) - Method in interface net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper.WanderingTraderOffersBuilder
-
Adds trade offers to the offer list.
- addAttribute(RegistryAttribute) - Method in interface net.fabricmc.fabric.api.event.registry.RegistryAttributeHolder
- addBarrensBiome(RegistryKey<Biome>, RegistryKey<Biome>, 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(Predicate<ItemStack>, Collection<ItemStack>, ItemGroup.StackVisibility) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
-
Adds stacks before the first group entry matching a predicate, or at the end, if no entries match.
- addBefore(ItemConvertible, Collection<ItemStack>) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- addBefore(ItemConvertible, Collection<ItemStack>, ItemGroup.StackVisibility) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
-
Adds stacks before an existing item in the group, or at the end, if the item isn't in the group.
- addBefore(ItemConvertible, ItemConvertible...) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- addBefore(ItemConvertible, ItemStack...) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- addBefore(ItemStack, Collection<ItemStack>) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- addBefore(ItemStack, Collection<ItemStack>, ItemGroup.StackVisibility) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
-
Adds stacks before an existing stack to the group, or at the end, if the stack isn't in the group.
- addBefore(ItemStack, ItemConvertible...) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- addBefore(ItemStack, ItemStack...) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- addBlock(Block) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder
-
Deprecated.
- addBlocks(Block...) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder
- addCarver(Predicate<BiomeSelectionContext>, GenerationStep.Carver, RegistryKey<ConfiguredCarver<?>>) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeModifications
-
Convenience method to add a carver to one or more biomes.
- addCarver(GenerationStep.Carver, RegistryKey<ConfiguredCarver<?>>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
-
Adds a configured carver to one of this biomes generation steps.
- addCategory(String) - Method in interface net.fabricmc.fabric.api.client.keybinding.KeyBindingRegistry
-
Deprecated.Add a new key binding category.
- 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(RegistryKey<Enchantment>, String) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider.TranslationBuilder
-
Adds a translation for an
Enchantment
. - addFeature(Predicate<BiomeSelectionContext>, GenerationStep.Feature, RegistryKey<PlacedFeature>) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeModifications
-
Convenience method to add a feature to one or more biomes.
- addFeature(GenerationStep.Feature, RegistryKey<PlacedFeature>) - 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 registry key.
- addHighlandsBiome(RegistryKey<Biome>, 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.
- addMainIslandBiome(RegistryKey<Biome>, 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(RegistryKey<Biome>, RegistryKey<Biome>, 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.
- addModels(Collection<? extends Identifier>) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin.Context
-
Adds multiple models that will be loaded, baked, and made available through
FabricBakedModelManager.getModel(Identifier)
. - addModels(Identifier...) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin.Context
-
Adds one or more models that will be loaded, baked, and made available through
FabricBakedModelManager.getModel(Identifier)
. - addNetherBiome(RegistryKey<Biome>, MultiNoiseUtil.NoiseHypercube) - Static method in class net.fabricmc.fabric.api.biome.v1.NetherBiomes
-
Adds a biome to the Nether generator.
- addNetherBiome(RegistryKey<Biome>, MultiNoiseUtil.NoiseValuePoint) - Static method in class net.fabricmc.fabric.api.biome.v1.NetherBiomes
-
Adds a biome to the Nether generator.
- addOffersToPool(Identifier, Collection<TradeOffers.Factory>) - Method in interface net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper.WanderingTraderOffersBuilder
-
Adds trade offers to an existing pool identified by an ID.
- addOffersToPool(Identifier, TradeOffers.Factory...) - Method in interface net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper.WanderingTraderOffersBuilder
-
Adds trade offers to an existing pool identified by an ID.
- addOptional(RegistryKey<? extends T>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FabricTagBuilder
-
Add an optional
RegistryKey
to the tag. - addOptional(Identifier) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FabricTagBuilder
-
Add an optional
Identifier
to the tag. - addOptionalTag(TagKey<T>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FabricTagBuilder
-
Add another optional tag to this tag.
- addOptionalTag(Identifier) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FabricTagBuilder
-
Add another optional tag to this tag.
- 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(net.fabricmc.fabric.api.transfer.v1.transaction.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<T>) - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator.Pack
-
Registers a constructor of
DataProvider
which takes aFabricDataOutput
. - addProvider(FabricDataGenerator.Pack.RegistryDependentFactory<T>) - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator.Pack
-
Registers a constructor of
DataProvider
which takes aFabricDataOutput
and the registries. - addReloadListener(IdentifiableResourceReloadListener) - Method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
- addSmallIslandsBiome(RegistryKey<Biome>, 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<BiomeSelectionContext>, SpawnGroup, 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(SpawnGroup, SpawnSettings.SpawnEntry) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.SpawnSettingsContext
-
Associated JSON property:
spawners
. - addSupportedBlock(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.
- addTag(TagKey<T>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FabricTagBuilder
-
Add another tag to this tag.
- addTask(ServerPlayerConfigurationTask) - Method in interface net.fabricmc.fabric.api.networking.v1.FabricServerConfigurationNetworkHandler
-
Enqueues a
ServerPlayerConfigurationTask
task to be processed. - addVillagerTypeToBiome(RegistryKey<Biome>, VillagerType) - Static method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerTypeHelper
-
Deprecated.Sets the biome a villager type can spawn in.
- advancedTranslucency() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
-
Test to know if "fabulous" graphics mode is enabled.
- ADVANCEMENTS - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
- 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_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_ENTITIES - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents
-
Called after entities are rendered and solid entity layers have been drawn to the main frame buffer target, before block entity rendering begins.
- AFTER_ENTITY_CHANGE_WORLD - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerEntityWorldChangeEvents
-
An event which is called after an entity has been moved to a different world.
- 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_PLAYER_CHANGE_WORLD - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerEntityWorldChangeEvents
-
An event which is called after a player has been moved to a different world.
- 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_SETUP - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents
-
Called after view Frustum is computed and all render chunks to be rendered are identified and rebuilt but before chunks are uploaded to GPU.
- AFTER_TRANSLUCENT - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents
-
Called after entity, terrain, and particle translucent layers have been drawn to the framebuffer but before translucency combine has happened in fabulous mode.
- afterBlockBreak(ClientWorld, ClientPlayerEntity, BlockPos, BlockState) - Method in interface net.fabricmc.fabric.api.event.client.player.ClientPlayerBlockBreakEvents.After
-
Called after a block is successfully broken.
- afterBlockBreak(World, PlayerEntity, BlockPos, BlockState, BlockEntity) - Method in interface net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents.After
-
Called after a block is successfully broken.
- afterChangeWorld(Entity, Entity, ServerWorld, ServerWorld) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerEntityWorldChangeEvents.AfterEntityChange
-
Called after an entity has been recreated at the destination when being moved to a different world.
- afterChangeWorld(ServerPlayerEntity, ServerWorld, ServerWorld) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerEntityWorldChangeEvents.AfterPlayerChange
-
Called after a player has been moved to different world.
- 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.
- afterEntities(WorldRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents.AfterEntities
- afterInit(MinecraftClient, 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, int, int, int) - 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, int, int, int) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenKeyboardEvents.AfterKeyRelease
-
Called after a pressed key has been released.
- afterKilledOtherEntity(ServerWorld, Entity, LivingEntity) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerEntityCombatEvents.AfterKilledOtherEntity
-
Called after an entity has killed another entity.
- 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, double, double, int) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.AfterMouseClick
- 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, double, double, int) - 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 that is called after mouse scrolling is processed for a screen.
- afterMouseScroll(Screen, double, double, double, double) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.AfterMouseScroll
-
Called after a mouse has scrolled on screen.
- 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.
- 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, DrawContext, int, int, float) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.AfterRender
- afterRespawn(ServerPlayerEntity, ServerPlayerEntity, boolean) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents.AfterRespawn
-
Called after player a has been respawned.
- afterSetup(WorldRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents.AfterSetup
- 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
- afterTranslucent(WorldRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents.AfterTranslucent
- air() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- all() - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
-
Matches all Biomes.
- 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(MinecraftServer) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
-
Gets all the players on the minecraft server.
- ALL_LOADED - Static variable in class net.fabricmc.fabric.api.loot.v2.LootTableEvents
-
Deprecated.Please use
LootTableEvents.ALL_LOADED
instead. - 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.
- 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 - 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_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_BLOCK_DUST_TINT - Static variable in class net.fabricmc.fabric.api.client.particle.v1.ParticleRenderEvents
-
An event that checks if a block dust particle can be tinted using the corresponding block's color provider.
- 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 forinstanceof ServerPlayerEntity
. - 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 anItemStack
. - 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_SLEEP_TIME - Static variable in class net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents
-
An event that checks whether the current time of day is valid for 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.
- 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.
- allowBlockDustTint(BlockState, ClientWorld, BlockPos) - Method in interface net.fabricmc.fabric.api.client.particle.v1.ParticleRenderEvents.AllowBlockDustTint
-
Checks whether a block dust particle can be tinted using the corresponding block's color provider.
- allowCapeRender(AbstractClientPlayerEntity) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.LivingEntityFeatureRenderEvents.AllowCapeRender
- allowChatMessage(SignedMessage, ServerPlayerEntity, MessageType.Parameters) - 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(SignedMessage, ServerCommandSource, MessageType.Parameters) - 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(PlayerEntity, Hand, 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(PlayerEntity, 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(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).
- allowDeath(ServerPlayerEntity, 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).
- allowElytraFlight(LivingEntity) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntityElytraEvents.Allow
- allowEnchanting(RegistryEntry<Enchantment>, ItemStack, EnchantingContext) - Method in interface net.fabricmc.fabric.api.item.v1.EnchantmentEvents.AllowEnchanting
-
Checks whether an
Enchantment
should be applied to a givenItemStack
. - allowGameMessage(MinecraftServer, Text, 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, int, int, int) - 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, int, int, int) - 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, double, double, int) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.AllowMouseClick
- 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, double, double, int) - 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 is 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(PlayerEntity, 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(Text, SignedMessage, GameProfile, MessageType.Parameters, 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(Text, 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(PlayerEntity) - 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(PlayerEntity, 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(PlayerEntity, 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(PlayerEntity, 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.
- allowsSpawning(AbstractBlock.TypedContextPredicate<EntityType<?>>) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- ALWAYS_ENABLED - Enum constant in enum class net.fabricmc.fabric.api.resource.ResourcePackActivationType
-
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.
- ambientOcclusion() - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialView
- ambientOcclusion(TriState) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Controls whether vertex colors should be modified for ambient occlusion.
- 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 ofBlockApiLookup#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<Text>, TooltipType) - 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<? extends LootFunction>) - Method in interface net.fabricmc.fabric.api.loot.v2.FabricLootPoolBuilder
-
Deprecated.Please use
FabricLootPoolBuilder.apply(LootFunction)
instead. - apply(Collection<? extends LootFunction>) - Method in interface net.fabricmc.fabric.api.loot.v2.FabricLootTableBuilder
-
Deprecated.use
FabricLootTableBuilder.apply(Collection)
instead. - apply(Collection<? extends LootFunction>) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootPoolBuilder
-
Applies loot functions to this builder.
- apply(Collection<? extends LootFunction>) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootTableBuilder
-
Applies loot functions to this builder.
- apply(LootFunction) - Method in interface net.fabricmc.fabric.api.loot.v2.FabricLootPoolBuilder
-
Deprecated.Please use
FabricLootPoolBuilder.apply(LootFunction)
instead. - apply(LootFunction) - Method in interface net.fabricmc.fabric.api.loot.v2.FabricLootTableBuilder
-
Deprecated.use
FabricLootTableBuilder.apply(LootFunction)
instead. - apply(LootFunction) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootPoolBuilder
-
Applies a function to this builder.
- apply(LootFunction) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootTableBuilder
-
Applies a loot function to this builder.
- apply(T, ResourceManager, Profiler, Executor) - Method in interface net.fabricmc.fabric.api.resource.SimpleResourceReloadListener
-
Synchronously apply loaded data to the game state.
- AQUATIC - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.Biomes consisting primarily of water.
- AQUATIC_ICY - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.For water biomes where ice naturally spawns.
- argument(String, ArgumentType<T>) - Static method in class net.fabricmc.fabric.api.client.command.v2.ClientCommandManager
-
Creates a required argument builder.
- ArgumentTypeRegistry - Class in net.fabricmc.fabric.api.command.v2
- ArmorRenderer - Interface in net.fabricmc.fabric.api.client.rendering.v1
-
Armor renderers render worn armor items with custom code.
- ARMORS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Collects the 4 vanilla armor tags into one parent collection for ease.
- around(ServerWorld, Vec3d, double) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
-
Gets all players around a position in a world.
- around(ServerWorld, Vec3i, double) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
-
Gets all players around a position in a world.
- 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.
- asDynamicRegistryManager() - Method in interface net.fabricmc.fabric.api.event.registry.DynamicRegistryView
- AtlasSourceTypeRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1
-
A registry for custom
AtlasSourceType
s. - AttachmentRegistry - Class in net.fabricmc.fabric.api.attachment.v1
-
Class used to create and register
AttachmentType
s. - AttachmentRegistry.Builder<A> - Interface in net.fabricmc.fabric.api.attachment.v1
-
A builder for creating
AttachmentType
s with finer control over their properties. - AttachmentTarget - Interface in net.fabricmc.fabric.api.attachment.v1
-
Marks all objects on which data can be attached using
AttachmentType
s. - AttachmentType<A> - Interface in net.fabricmc.fabric.api.attachment.v1
-
An attachment allows "attaching" arbitrary data to various game objects (entities, block entities, worlds 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.
- 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. - AXES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with
ItemTags.AXES
.
B
- backingStorage - Variable in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
- BADLANDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- bake(Baker, Function<SpriteIdentifier, Sprite>, ModelBakeSettings) - Method in class net.fabricmc.fabric.api.client.model.loading.v1.DelegatingUnbakedModel
- BAKE_FLIP_U - Static variable in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
When set, U texture coordinates for the given sprite are flipped as part of baking.
- BAKE_FLIP_V - Static variable in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Same as
MutableQuadView.BAKE_FLIP_U
but for V coordinate. - BAKE_LOCK_UV - Static variable in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
When enabled, texture coordinate are assigned based on vertex position.
- BAKE_NORMALIZED - Static variable in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
UV coordinates by default are assumed to be 0-16 scale for consistency with conventional Minecraft model format.
- BAKE_ROTATE_180 - Static variable in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Causes texture to appear rotated 180 deg.
- BAKE_ROTATE_270 - Static variable in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Causes texture to appear rotated 270 deg.
- BAKE_ROTATE_90 - Static variable in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Causes texture to appear rotated 90 deg.
- BAKE_ROTATE_NONE - Static variable in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Causes texture to appear with no rotation.
- bakedModelConsumer() - Method in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
emitBlockQuads
oremitItemQuads
on the baked model that you want to consume instead. - baker() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.AfterBake.Context
-
The baker being used to bake this model.
- baker() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.BeforeBake.Context
-
The baker being used to bake this model.
- 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
- Basic usage - Search tag in class net.fabricmc.fabric.api.event.registry.DynamicRegistries
- Section
- BEACH - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.Biomes that exist on the shoreline of a body of water.
- BEETROOT_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- BEFORE - Static variable in class net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents
-
Callback before a block is broken.
- BEFORE_BLOCK_OUTLINE - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents
-
Called before default block outline rendering and before checks are done to determine if it should happen.
- BEFORE_CONFIGURE - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationConnectionEvents
-
Event fired before any vanilla configuration has taken place.
- BEFORE_DEBUG_RENDER - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents
-
Called before vanilla debug renderers are output to the framebuffer.
- BEFORE_ENTITIES - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents
-
Called after the Solid, Cutout and Cutout Mipped terrain layers have been output to the framebuffer.
- 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_SAVE - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents
-
Called before a Minecraft server begins saving data.
- beforeBlockBreak(World, PlayerEntity, 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(WorldRenderContext, HitResult) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents.BeforeBlockOutline
-
Event signature for
WorldRenderEvents.BEFORE_BLOCK_OUTLINE
. - beforeDebugRender(WorldRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents.DebugRender
- beforeEntities(WorldRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents.BeforeEntities
- beforeInit(MinecraftClient, 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, int, int, int) - 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, int, int, int) - 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, double, double, int) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenMouseEvents.BeforeMouseClick
- 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, double, double, int) - 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 that is called after 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.
- 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, DrawContext, 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
- BERRIES_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- BERRY_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Strawberries, raspberries, and other berry foods belong in this tag.
- binding - Variable in class net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.Builder
-
Deprecated.
- 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.EffectsContext - Interface in net.fabricmc.fabric.api.biome.v1
- BiomeModificationContext.GenerationSettingsContext - Interface in net.fabricmc.fabric.api.biome.v1
- BiomeModificationContext.SpawnSettingsContext - 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 World.
- 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
. - BIRCH_FOREST - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- 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.v1.ConventionalItemTags
-
Deprecated.
- 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
- blendMode() - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialView
- blendMode(int, BlendMode) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Deprecated.Use
MaterialFinder.blendMode(BlendMode)
instead. - blendMode(int, RenderLayer) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Deprecated.Use
MaterialFinder.blendMode(BlendMode)
instead. - blendMode(BlendMode) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Controls how sprite pixels should be blended with the scene.
- BlendMode - Enum Class in net.fabricmc.fabric.api.renderer.v1.material
-
Controls how sprite pixels will be blended with the scene.
- block - Variable in class net.fabricmc.fabric.api.transfer.v1.fluid.CauldronFluidContent
-
Block of the cauldron.
- block() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.BlockStateResolver.Context
-
The block for which block state models are being resolved.
- BLOCK - Static variable in interface net.fabricmc.fabric.api.client.render.ColorProviderRegistry
-
Deprecated.
- BLOCK - Static variable in interface net.fabricmc.fabric.api.client.rendering.v1.ColorProviderRegistry
- 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 ClientWorld.
- BLOCK_ENTITY_LOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerBlockEntityEvents
-
Called when an BlockEntity is loaded into a ServerWorld.
- 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 ClientWorld.
- 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 ServerWorld.
- BLOCK_OUTLINE - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents
-
Called after block outline render checks are made and before the default block outline render runs.
- 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 aServerWorld
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 world.
- 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. - BlockEntityRendererRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1
-
Deprecated.Replaced with transitive access wideners in Fabric Transitive Access Wideners (v1).
- BlockEntityRendererRegistry - Interface in net.fabricmc.fabric.api.client.rendereregistry.v1
-
Deprecated.This module has been moved into fabric-rendering-v1. Use
BlockEntityRendererRegistry
instead - BlockEntityTypeTagProvider(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.BlockEntityTypeTagProvider
- blockOutlines() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
- BlockPickInteractionAware - Interface in net.fabricmc.fabric.api.block
-
Convenience interface for blocks that want more stack picking context than what
Block.getPickStack(WorldView, BlockPos, BlockState)
provides. - blockPos() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext.BlockOutlineContext
- blockRenderLayer - Variable in enum class net.fabricmc.fabric.api.renderer.v1.material.BlendMode
- BlockRenderLayerMap - Interface in net.fabricmc.fabric.api.blockrenderlayer.v1
-
Use to associate blocks or fluids with block render layer other than default.
- BlockSetTypeBuilder - Class in net.fabricmc.fabric.api.object.builder.v1.block.type
-
This class allows easy creation of
BlockSetType
s. - BlockSetTypeBuilder() - Constructor for class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
- blockState() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext.BlockOutlineContext
- BlockStateResolver - Interface in net.fabricmc.fabric.api.client.model.loading.v1
-
Block state resolvers are responsible for mapping each
BlockState
of a block to anUnbakedModel
. - BlockStateResolver.Context - Interface in net.fabricmc.fabric.api.client.model.loading.v1
-
The context for block state resolution.
- BlockTagProvider(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.BlockTagProvider
- blockVision(AbstractBlock.ContextPredicate) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- 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.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalEntityTypeTags
-
Deprecated.
- BOATS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEntityTypeTags
- BOOKSHELVES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBlockTags
-
Deprecated.
- BOOKSHELVES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.
- BOSSES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalEntityTypeTags
-
Deprecated.Tag containing entity types that display a boss health bar.
- 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
- BOW_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- BOWS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- BOWS_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- BREAD_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- BREADS_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- breakInstantly() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- 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.v1.ConventionalItemTags
-
Deprecated.
- 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
- BRUSHES_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalBlockTags
-
Deprecated.
- BUDDING_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalBlockTags
-
Deprecated.
- BUDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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
- build() - Method in class net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.Builder
-
Deprecated.
- build() - Method in interface net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityType.Builder
-
Builds the
BlockEntityType
, seeBlockEntityType.Builder.build(Type)
. - build() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder
-
Deprecated.Use
invalid reference
BlockEntityType.Builder#build()
- build() - Method in interface net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityType.Builder
-
Build the entity type from the builder.
- build() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
-
Deprecated.use
invalid reference
EntityType.Builder#build()
- build() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
-
Deprecated.
- build() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
-
Deprecated.
- build() - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
-
Deprecated.Creates the
VillagerProfession
. - build() - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MeshBuilder
-
Returns a new
Mesh
instance containing all quads added to this builder and resets the builder to an empty state. - build(Type<?>) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder
-
Deprecated.
- build(BrewingRecipeRegistry.Builder) - Method in interface net.fabricmc.fabric.api.registry.FabricBrewingRecipeRegistryBuilder.BuildCallback
-
Called when the brewing recipe registry is being built.
- 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 - Static variable in interface net.fabricmc.fabric.api.registry.FabricBrewingRecipeRegistryBuilder
-
An event that is called when the brewing recipe registry is being built.
- 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
. - builder() - Static method in class net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry
-
Creates a
AttachmentRegistry.Builder
, that gives finer control over the attachment's properties. - builder() - Static method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroup
-
Creates a new builder for
ItemGroup
. - Builder(FabricKeyBinding) - Constructor for class net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.Builder
-
Deprecated.
- buildRegistry(RegistryBuilder) - Method in interface net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint
-
Builds a registry containing dynamic registry entries to be generated.
- BuiltinItemRenderer - Interface in net.fabricmc.fabric.api.client.rendering.v1
-
Deprecated.Please use
BuiltinItemRendererRegistry.DynamicItemRenderer
instead. - BuiltinItemRendererRegistry - Interface in net.fabricmc.fabric.api.client.rendering.v1
-
This registry holds builtin item renderers for items.
- BuiltinItemRendererRegistry.DynamicItemRenderer - Interface in net.fabricmc.fabric.api.client.rendering.v1
-
Dynamic item renderers render items with custom code.
- Built-in Mod Resource Pack - Search tag in package net.fabricmc.fabric.api.resource
- Section
- Bundled Resource Pack - Search tag in package net.fabricmc.fabric.api.resource
- Section
- burnable() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- 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.
- BUY_ITEMS_POOL - Static variable in interface net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper.WanderingTraderOffersBuilder
-
The pool ID for the "buy items" pool.
- BYTE - Static variable in class net.fabricmc.fabric.api.util.NbtType
-
Deprecated.
- 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
- C2SConfigurationChannelEvents - 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.
- C2SConfigurationChannelEvents.Register - Interface in net.fabricmc.fabric.api.client.networking.v1
- C2SConfigurationChannelEvents.Unregister - Interface in net.fabricmc.fabric.api.client.networking.v1
- C2SPlayChannelEvents - 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.
- C2SPlayChannelEvents.Register - Interface in net.fabricmc.fabric.api.client.networking.v1
- C2SPlayChannelEvents.Unregister - Interface in net.fabricmc.fabric.api.client.networking.v1
- CACTUS_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- calculateComparatorOutput(Storage<T>) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
-
Compute the comparator output for a storage, similar to
ScreenHandler.calculateComparatorOutput(Inventory)
. - camera() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
- cameraX() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext.BlockOutlineContext
- cameraY() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext.BlockOutlineContext
- cameraZ() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext.BlockOutlineContext
- canBeEnchantedWith(ItemStack, RegistryEntry<Enchantment>, EnchantingContext) - Method in interface net.fabricmc.fabric.api.item.v1.FabricItem
-
Determines if the item is allowed to receive an
Enchantment
. - canBeEnchantedWith(RegistryEntry<Enchantment>, EnchantingContext) - Method in interface net.fabricmc.fabric.api.item.v1.FabricItemStack
-
Determines whether this
ItemStack
can be enchanted with the givenEnchantment
. - CANCELED - Static variable in class net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents
-
Callback when a block break has been canceled.
- CANDIES_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- 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(RegistryKey<DimensionOptions>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
-
Tries to determine whether this biome generates in a specific dimension, based on the
GeneratorOptions
used by the current world-save. - canGenerateInNether(RegistryKey<Biome>) - 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
- canSend(CustomPayload.Id<?>) - 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(CustomPayload.Id<?>) - 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(ServerConfigurationNetworkHandler, CustomPayload.Id<?>) - 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(ServerConfigurationNetworkHandler, 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(ServerPlayerEntity, CustomPayload.Id<?>) - 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(ServerPlayerEntity, 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(ServerPlayNetworkHandler, CustomPayload.Id<?>) - 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(ServerPlayNetworkHandler, 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(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.
- 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
- CauldronFluidContent - Class in net.fabricmc.fabric.api.transfer.v1.fluid
-
Entrypoint to expose cauldrons to the Fluid Transfer API.
- CAVES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- 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
- 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_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.v1.ConventionalBlockTags
-
Deprecated.
- CHESTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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_LOAD - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientChunkEvents
-
Called when a chunk is loaded into a ClientWorld.
- CHUNK_LOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents
-
Called when a chunk is loaded into a ServerWorld.
- 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 ClientWorld.
- CHUNK_UNLOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents
-
Called when a chunk is unloaded from a ServerWorld.
- clear() - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Resets this instance to default values.
- clear(Block) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
- clear(ItemConvertible) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
- clear(TagKey<Block>) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
- clear(TagKey<Item>) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
- clearAdditionsSound() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- clearAmbientSound() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- clearFoliageColor() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- clearGrassColor() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- clearMoodSound() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- clearMusic() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- clearParticleConfig() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- clearSpawnCost(EntityType<?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.SpawnSettingsContext
-
Removes a spawn cost entry for a given entity type.
- clearSpawns() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.SpawnSettingsContext
-
Removes all spawns.
- clearSpawns(SpawnGroup) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.SpawnSettingsContext
-
Removes all spawns of the given spawn group.
- 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
- 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
- ClientCommandManager - Class in net.fabricmc.fabric.api.client.command.v2
-
Manages client-sided commands and provides some related helper methods.
- ClientCommandRegistrationCallback - Interface in net.fabricmc.fabric.api.client.command.v2
-
Callback for when client commands are registered to the dispatcher.
- 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
-
Deprecated.replaced by
ClientConfigurationConnectionEvents.Complete
- 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
CustomPayload
. - ClientConfigurationNetworking.Context - Interface in net.fabricmc.fabric.api.client.networking.v1
- 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
- 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
- ClientPickBlockApplyCallback - Interface in net.fabricmc.fabric.api.event.client.player
-
This event is emitted during the block-picking process.
- ClientPickBlockCallback - Interface in net.fabricmc.fabric.api.event.client.player
-
Deprecated.0.3.0
- ClientPickBlockCallback.Container - Class in net.fabricmc.fabric.api.event.client.player
-
Deprecated.
- ClientPickBlockGatherCallback - Interface in net.fabricmc.fabric.api.event.client.player
-
This event is emitted at the beginning of the block picking process in order to find any applicable ItemStack.
- 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
CustomPayload
. - 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
- 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.EndTick - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
- ClientTickEvents.EndWorldTick - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
- ClientTickEvents.StartTick - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
- ClientTickEvents.StartWorldTick - Interface in net.fabricmc.fabric.api.client.event.lifecycle.v1
- CLIMATE_COLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- CLIMATE_DRY - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- CLIMATE_HOT - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- CLIMATE_TEMPERATE - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- CLIMATE_WET - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- 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.
- CLUSTERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBlockTags
-
Deprecated.
- CLUSTERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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 - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- COAL - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- 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() - Method in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditionType
- 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
- collidable(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- color(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Retrieve vertex color in ARGB format (0xAARRGGBB).
- color(int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Set vertex color in ARGB format (0xAARRGGBB).
- color(int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- color(int, int, int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Convenience: set vertex color for all vertices at once.
- color(int, int, int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- 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.
- colorIndex() - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Retrieves the quad color index serialized with the quad.
- colorIndex(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Value functions identically to
BakedQuad.getColorIndex()
and is used by renderer / model builder in same way. - colorIndex(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- ColorProviderRegistry<T,
Provider> - Interface in net.fabricmc.fabric.api.client.render -
Deprecated.Replaced by
ColorProviderRegistry
- ColorProviderRegistry<T,
Provider> - Interface in net.fabricmc.fabric.api.client.rendering.v1 - ColorResolverRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1
-
The registry for custom
ColorResolver
s. - 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<S>) - 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<S>) - 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
). - CommandRegistrationCallback - Interface in net.fabricmc.fabric.api.command.v1
-
Deprecated.Please migrate to v2. Please use
CommandRegistrationCallback
instead. - CommandRegistrationCallback - Interface in net.fabricmc.fabric.api.command.v2
-
Callback for when a server registers all commands.
- CommandRegistry - Class in net.fabricmc.fabric.api.registry
-
Deprecated.Please migrate to v2. Please use
CommandRegistrationCallback
instead. - CommandRegistry() - Constructor for class net.fabricmc.fabric.api.registry.CommandRegistry
-
Deprecated.
- 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(net.fabricmc.fabric.api.transfer.v1.transaction.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 ReadyS2CPacket has been received, just before switching to the PLAY state.
- completeTask(ServerPlayerConfigurationTask.Key) - Method in interface net.fabricmc.fabric.api.networking.v1.FabricServerConfigurationNetworkHandler
-
Completes the task identified by
key
. - complex(boolean, MapCodec<T>, PacketCodec<? super RegistryByteBuf, T>) - 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<ParticleType<T>, MapCodec<T>>, Function<ParticleType<T>, PacketCodec<? super RegistryByteBuf, T>>) - 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<T>, PacketCodec<? super RegistryByteBuf, T>) - 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<ParticleType<T>, MapCodec<T>>, Function<ParticleType<T>, PacketCodec<? super RegistryByteBuf, T>>) - 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(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.
- components(Ingredient, UnaryOperator<ComponentChanges.Builder>) - Static method in class net.fabricmc.fabric.api.recipe.v1.ingredient.DefaultCustomIngredients
- components(Ingredient, ComponentChanges) - 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.
- componentsMatch(ComponentChanges) - 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.
- CompostingChanceRegistry - 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.
- CONCRETE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
-
Deprecated.
- CONCRETE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- CONCRETE_POWDER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- CONCRETE_POWDERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Block tag equivalent is
invalid reference
BlockTags#CONCRETE_POWDERS
- 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.
- conditionally(Collection<? extends LootCondition>) - Method in interface net.fabricmc.fabric.api.loot.v2.FabricLootPoolBuilder
-
Deprecated.Please use
FabricLootPoolBuilder.conditionally(LootCondition)
instead. - conditionally(Collection<? extends LootCondition>) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootPoolBuilder
-
Adds conditions to this builder.
- conditionally(LootCondition) - Method in interface net.fabricmc.fabric.api.loot.v2.FabricLootPoolBuilder
-
Deprecated.Please use
FabricLootPoolBuilder.conditionally(LootCondition)
instead. - conditionally(LootCondition) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootPoolBuilder
-
Adds a condition to this builder.
- CONDITIONS_KEY - Static variable in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
-
The JSON key for resource conditions, "fabric:load_conditions".
- configurationC2S() - Static method in interface net.fabricmc.fabric.api.networking.v1.PayloadTypeRegistry
- configurationS2C() - Static method in interface net.fabricmc.fabric.api.networking.v1.PayloadTypeRegistry
- configure(BiConsumer<Identifier, T>, RegistryWrapper.WrapperLookup) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricCodecDataProvider
-
Implement this method to register entries to generate using a
RegistryWrapper.WrapperLookup
. - configure(RegistryWrapper.WrapperLookup) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider
-
Implement this method and then use
FabricTagProvider.getOrCreateTagBuilder(net.minecraft.registry.tag.TagKey<T>)
to get and register new tag builders. - configure(RegistryWrapper.WrapperLookup, 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.
- consumers() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
-
The
VertexConsumerProvider
instance being used by the world renderer for most non-terrain renders. - Container(ItemStack) - Constructor for class net.fabricmc.fabric.api.event.client.player.ClientPickBlockCallback.Container
-
Deprecated.
- 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. - CONTENT_PHASE - Static variable in class net.fabricmc.fabric.api.message.v1.ServerMessageDecoratorEvent
-
The content phase of the event, passed when registering a message 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.
- ConventionalBiomeTags - Class in net.fabricmc.fabric.api.tag.convention.v1
-
Deprecated.Please use
ConventionalBiomeTags
- ConventionalBiomeTags - Class in net.fabricmc.fabric.api.tag.convention.v2
-
See
BiomeTags
for vanilla tags. - ConventionalBlockTags - Class in net.fabricmc.fabric.api.tag.convention.v1
-
Deprecated.Please use
ConventionalBlockTags
- ConventionalBlockTags - Class in net.fabricmc.fabric.api.tag.convention.v2
-
See
BlockTags
for vanilla tags. - ConventionalEnchantmentTags - Class in net.fabricmc.fabric.api.tag.convention.v1
-
Deprecated.Please use
ConventionalEnchantmentTags
- ConventionalEnchantmentTags - Class in net.fabricmc.fabric.api.tag.convention.v2
- ConventionalEntityTypeTags - Class in net.fabricmc.fabric.api.tag.convention.v1
-
Deprecated.Please use
ConventionalEntityTypeTags
- ConventionalEntityTypeTags - Class in net.fabricmc.fabric.api.tag.convention.v2
-
See
EntityTypeTags
for vanilla tags. - ConventionalFluidTags - Class in net.fabricmc.fabric.api.tag.convention.v1
-
Deprecated.Please use
ConventionalFluidTags
- ConventionalFluidTags - Class in net.fabricmc.fabric.api.tag.convention.v2
-
See
FluidTags
for vanilla tags. - ConventionalItemTags - Class in net.fabricmc.fabric.api.tag.convention.v1
-
Deprecated.Please use
ConventionalItemTags
- 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_FISHES_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- COOKED_MEAT_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- COOKED_MEATS_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- COOKIE_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- COOKIES_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- COPPER_INGOTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- COPPER_INGOTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- COPPER_RAW_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- COPPER_RAW_MATERIALS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- copy() - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule
- copy() - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
- copy(ByteBuf) - Static method in class net.fabricmc.fabric.api.networking.v1.PacketByteBufs
-
Wraps the newly created buf from
buf.copy
in a packet byte buf. - copy(ByteBuf, int, int) - Static method in class net.fabricmc.fabric.api.networking.v1.PacketByteBufs
-
Wraps the newly created buf from
buf.copy
in a packet byte buf. - copy(TagKey<Block>, TagKey<Item>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.ItemTagProvider
-
Copy the entries from a tag with the
Block
type into this item tag. - 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.
- copyFrom(MaterialView) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Copies all properties from the given
MaterialView
to this material finder. - copyFrom(QuadView) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Copies all quad properties from the given
QuadView
to this quad. - copyFrom(QuadView) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- copyFromPlayer(ServerPlayerEntity, ServerPlayerEntity, boolean) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents.CopyFrom
-
Called when player data is copied to a new player.
- copyNormal(int, Vector3f) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Pass a non-null target to avoid allocation - will be returned with values.
- 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(AbstractBlock) - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.replace with
AbstractBlock.Settings.copy(AbstractBlock)
- copyOf(AbstractBlock.Settings) - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.replace with
AbstractBlock.Settings.copy(AbstractBlock)
- 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(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.v2.FabricLootPoolBuilder
-
Deprecated.Please use
FabricLootPoolBuilder.copyOf(LootPool)
instead. - 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.v2.FabricLootTableBuilder
-
Deprecated.use
FabricLootTableBuilder.copyOf(LootTable)
instead. - 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, the attachments corresponding of this type should remain.
- copyOnDeath() - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentType
- copyPos(int, Vector3f) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Pass a non-null target to avoid allocation - will be returned with values.
- copyTo(MutableQuadView) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Deprecated.Use
MutableQuadView.copyFrom(QuadView)
instead. UnlikecopyFrom
, this method will not copy the material. - copyUv(int, Vector2f) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Pass a non-null target to avoid allocation - will be returned with values.
- CoreShaderRegistrationCallback - Interface in net.fabricmc.fabric.api.client.rendering.v1
-
Called when core shaders (shader programs loaded from
assets/<namespace>/shaders/core
) are loaded to register custom modded shaders. - CoreShaderRegistrationCallback.RegistrationContext - Interface in net.fabricmc.fabric.api.client.rendering.v1
-
A context object used to create and register core shader programs.
- 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.PacketByteBufs
-
Returns a new heap memory-backed instance of packet byte buf.
- create() - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.replace with
AbstractBlock.Settings.create()
- create() - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
-
Deprecated.
- create() - Static method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
-
Deprecated.Creates a builder instance to allow for creation of a
VillagerProfession
. - create(int, PlayerInventory) - Method in class net.fabricmc.fabric.api.screenhandler.v1.ExtendedScreenHandlerType
-
Deprecated.
- create(int, PlayerInventory, D) - Method in class net.fabricmc.fabric.api.screenhandler.v1.ExtendedScreenHandlerType
-
Creates a new screen handler using the extra opening data.
- create(int, PlayerInventory, D) - Method in interface net.fabricmc.fabric.api.screenhandler.v1.ExtendedScreenHandlerType.ExtendedFactory
-
Creates a new screen handler with additional screen opening data.
- create(FabricSpriteProvider) - Method in interface net.fabricmc.fabric.api.client.particle.v1.ParticleFactoryRegistry.PendingParticleFactory
-
Called to create a new particle factory.
- create(FabricDataOutput) - Method in interface net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator.Pack.Factory
- create(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>) - Method in interface net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator.Pack.RegistryDependentFactory
- create(BlockApiLookup<A, C>, ServerWorld, BlockPos) - Static method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiCache
-
Create a new instance bound to the passed
ServerWorld
and position, and querying the same API as the passed lookup. - create(ApiLookupMap.LookupConstructor<L>) - Static method in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiLookupMap
-
Create a new instance.
- create(ApiLookupMap.LookupFactory<L>) - 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<? extends T>, Block...) - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder
- create(SpawnGroup) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
-
Deprecated.
- create(SpawnGroup, EntityType.EntityFactory<T>) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
-
Deprecated.
- 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<T>) - Static method in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditionType
-
Creates a resource condition type.
- create(Identifier, InputUtil.Type, int, String) - Static method in class net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.Builder
-
Deprecated.
- create(BlockPos, BlockState) - Method in interface net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder.Factory
-
Deprecated.
- createArrayBacked(Class<? super T>, Function<T[], T>) - Static method in class net.fabricmc.fabric.api.event.EventFactory
-
Create an "array-backed" Event instance.
- createArrayBacked(Class<T>, T, Function<T[], T>) - 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. - createBooleanRule(boolean) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates a boolean rule type.
- createBooleanRule(boolean, BiConsumer<MinecraftServer, GameRules.BooleanRule>) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates a boolean rule type.
- createBuiltinResourcePack(Identifier) - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
-
Create a new
FabricDataGenerator.Pack
instance for generating a builtin resource pack. - createC2SPacket(T) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
-
Creates a payload which may be sent to the connected server.
- createDefaulted(Class<T>, Identifier, Identifier) - Static method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
-
Deprecated.Please migrate to
FabricRegistryBuilder.createDefaulted(RegistryKey, Identifier)
- createDefaulted(RegistryKey<Registry<T>>, Identifier) - Static method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
-
Create a new
FabricRegistryBuilder
using aDefaultedRegistry
, the registry has theRegistryAttribute.MODDED
attribute by default. - createDefaulted(Identifier, Supplier<A>) - 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)
. - createDoubleRule(double) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates a double rule type.
- createDoubleRule(double, double) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates a double rule type.
- createDoubleRule(double, double, double) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates a double rule type.
- createDoubleRule(double, double, double, BiConsumer<MinecraftServer, DoubleRule>) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates a double rule type.
- createDoubleRule(double, double, BiConsumer<MinecraftServer, DoubleRule>) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates a double rule type.
- createDoubleRule(double, BiConsumer<MinecraftServer, DoubleRule>) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates a double rule type.
- createEnumRule(E) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates an enum rule type.
- createEnumRule(E, E[]) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates an enum rule type.
- createEnumRule(E, E[], BiConsumer<MinecraftServer, EnumRule<E>>) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates an enum rule type.
- createEnumRule(E, BiConsumer<MinecraftServer, EnumRule<E>>) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates an enum rule type.
- createIntRule(int) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates an integer rule type.
- createIntRule(int, int) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates an integer rule type.
- createIntRule(int, int, int) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates an integer rule type.
- createIntRule(int, int, int, BiConsumer<MinecraftServer, GameRules.IntRule>) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates an integer rule type.
- createIntRule(int, int, BiConsumer<MinecraftServer, GameRules.IntRule>) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates an integer rule type.
- createIntRule(int, BiConsumer<MinecraftServer, GameRules.IntRule>) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory
-
Creates an integer rule type.
- createLiving() - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
- createLiving(EntityType.EntityFactory<T>, SpawnGroup, UnaryOperator<FabricEntityType.Builder.Living<T>>) - 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<T>, SpawnGroup, UnaryOperator<FabricEntityType.Builder.Mob<T>>) - Static method in interface net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityType.Builder
-
Creates an entity type builder for a mob entity.
- createModelData() - Method in interface net.fabricmc.fabric.api.client.rendereregistry.v1.EntityModelLayerRegistry.TexturedModelDataProvider
-
Deprecated.Creates the textured model data for use in a
EntityModelLayer
. - createModelData() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.EntityModelLayerRegistry.TexturedModelDataProvider
-
Creates the textured model data for use in a
EntityModelLayer
. - createOverlay(String) - Method in interface net.fabricmc.fabric.api.resource.ModResourcePack
- createPack() - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
-
Create a default
FabricDataGenerator.Pack
instance for generating a mod's data. - createPacket(CustomPayload) - Method in interface net.fabricmc.fabric.api.networking.v1.PacketSender
-
Creates a packet from a packet payload.
- createPacket(Identifier, PacketByteBuf) - Method in interface net.fabricmc.fabric.api.networking.v1.LoginPacketSender
-
Creates a packet for sending to a login channel.
- createPersistent(Identifier, Codec<A>) - Static method in class net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry
-
Creates and registers an attachment, that will persist across server restarts.
- createS2CPacket(CustomPayload) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
-
Creates a packet which may be sent to a connected client.
- createS2CPacket(T) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
-
Creates a packet which may be sent to a connected client.
- createSimple(Class<T>, Identifier) - Static method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
-
Deprecated.Please migrate to
FabricRegistryBuilder.createSimple(RegistryKey)
- createSimple(RegistryKey<Registry<T>>) - Static method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
-
Create a new
FabricRegistryBuilder
using aSimpleRegistry
, the registry has theRegistryAttribute.MODDED
attribute by default. - 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.
- createVanillaPack(boolean) - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
-
Deprecated.Please use
FabricDataGenerator.createPack()
- createVanillaSubPack(boolean, String) - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
-
Deprecated.
- createWithPhases(Class<? super T>, Function<T[], T>, 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 - Search tag in package net.fabricmc.fabric.api.gametest.v1
- Section
- 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
- CROSSBOWS_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- 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
- CULL_FACE_EPSILON - Static variable in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
-
Tolerance for determining if the depth parameter to
QuadEmitter.square(Direction, float, float, float, float, float)
is effectively zero - meaning the face is a cull face. - cullFace() - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
If non-null, quad should not be rendered in-world if the opposite face of a neighbor block occludes it.
- cullFace(Direction) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
If non-null, quad is coplanar with a block face which, if known, simplifies or shortcuts geometric analysis that might otherwise be needed.
- cullFace(Direction) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- 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.Settings
-
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.damage(int, LivingEntity, EquipmentSlot)
is called. - customData(Ingredient, NbtCompound) - 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.
- CustomGameRuleCategory - Class in net.fabricmc.fabric.api.gamerule.v1
-
Utility class for creating custom game rule categories outside of the categories
Minecraft provides
. - CustomGameRuleCategory(Identifier, Text) - Constructor for class net.fabricmc.fabric.api.gamerule.v1.CustomGameRuleCategory
-
Creates a custom game rule category.
- CustomIngredient - Interface in net.fabricmc.fabric.api.recipe.v1.ingredient
-
Interface that modders can implement to create new behaviors for
Ingredient
s. - CustomIngredientSerializer<T> - Interface in net.fabricmc.fabric.api.recipe.v1.ingredient
-
Serializer for a
CustomIngredient
. - CUTOUT - Enum constant in enum class net.fabricmc.fabric.api.renderer.v1.material.BlendMode
-
Pixels with alpha > 0.5 are rendered as if
SOLID
. - CUTOUT_MIPPED - Enum constant in enum class net.fabricmc.fabric.api.renderer.v1.material.BlendMode
-
Pixels with alpha > 0.5 are rendered as if
SOLID
. - 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.v1.ConventionalItemTags
-
Deprecated.
- CYAN_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- cycle() - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
-
Cycles the value of this enum rule to the next supported value.
D
- damage(ItemStack, int, LivingEntity, EquipmentSlot, Runnable) - Method in interface net.fabricmc.fabric.api.item.v1.CustomDamageHandler
-
Called to apply damage to the given stack.
- 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.v2.LootTableSource
-
Deprecated.A loot table 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 generation integration - Search tag in package net.fabricmc.fabric.api.resource.conditions.v1
- Section
- DataGeneratorEntrypoint - Interface in net.fabricmc.fabric.api.datagen.v1
-
An entry point for data generation.
- dataOutput - Variable in class net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider
- DEAD - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.Biomes whose flora primarily consists of dead or decaying vegetation.
- DEEP_OCEAN - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- DEFAULT - Enum constant in enum class net.fabricmc.fabric.api.renderer.v1.material.BlendMode
-
Emulate blending behavior of the
RenderLayer
associated with the block state throughRenderLayers
. - 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_ENABLED - Enum constant in enum class net.fabricmc.fabric.api.resource.ResourcePackActivationType
-
Enabled by default.
- DEFAULT_PHASE - Static variable in class net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier
-
Recommended phase to use for transformations that need to happen before wrapping, but after model overrides.
- DEFAULT_PHASE - Static variable in class net.fabricmc.fabric.api.event.Event
-
The identifier of the default phase.
- DEFAULT_UUID - Static variable in class net.fabricmc.fabric.api.entity.FakePlayer
-
Default UUID, for fake players not associated with a specific (human) player.
- defaultAttributes(Supplier<DefaultAttributeContainer.Builder>) - 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<DefaultAttributeContainer.Builder>) - 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<DefaultAttributeContainer.Builder>) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
-
Deprecated.
- defaultAttributes(Supplier<DefaultAttributeContainer.Builder>) - 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
ComponentMap
of items. - DefaultItemComponentEvents.ModifyCallback - Interface in net.fabricmc.fabric.api.item.v1
- DefaultItemComponentEvents.ModifyContext - Interface in net.fabricmc.fabric.api.item.v1
- DelegatingUnbakedModel - Class in net.fabricmc.fabric.api.client.model.loading.v1
-
An unbaked model that returns another
BakedModel
at bake time. - DelegatingUnbakedModel(Identifier) - Constructor for class net.fabricmc.fabric.api.client.model.loading.v1.DelegatingUnbakedModel
-
Constructs a new delegating model.
- deserialize(String) - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule
- deserialize(String) - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
- DESERT - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- DIAMOND_GEMS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- DIAMONDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.
- DimensionRenderingRegistry - Interface in net.fabricmc.fabric.api.client.rendering.v1
-
Dimensional renderers render world specific visuals of a world.
- DimensionRenderingRegistry.CloudRenderer - Interface in net.fabricmc.fabric.api.client.rendering.v1
- DimensionRenderingRegistry.SkyRenderer - Interface in net.fabricmc.fabric.api.client.rendering.v1
- DimensionRenderingRegistry.WeatherRenderer - Interface in net.fabricmc.fabric.api.client.rendering.v1
- dimensions(EntityDimensions) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
-
Deprecated.
- 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.
- disableAo(int, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Deprecated.Use
MaterialFinder.ambientOcclusion(TriState)
instead. - disableColorIndex() - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialView
- disableColorIndex(boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Controls whether vertex colors should be modified for quad coloring.
- disableColorIndex(int, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Deprecated.Use
MaterialFinder.disableColorIndex(boolean)
instead. - disableDiffuse() - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialView
- disableDiffuse(boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Controls whether vertex colors should be modified for diffuse shading.
- disableDiffuse(int, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Deprecated.Use
MaterialFinder.disableDiffuse(boolean)
instead. - disableSaving() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
-
Deprecated.
- 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.
- 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(Text) - 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 network handler.
- 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 network handler.
- DISCONNECT - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationConnectionEvents
-
An event for the disconnection of the server configuration network handler.
- DISCONNECT - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerLoginConnectionEvents
-
An event for the disconnection of the server login network handler.
- DISCONNECT - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents
-
An event for the disconnection of the server play network handler.
- 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.
- DoubleRule - Class in net.fabricmc.fabric.api.gamerule.v1.rule
- DoubleRule(GameRules.Type<DoubleRule>, double, double, double) - Constructor for class net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule
-
Deprecated.You should not be calling this constructor!
- doVanillaElytraTick(LivingEntity, ItemStack) - Method in interface net.fabricmc.fabric.api.entity.event.v1.FabricElytraItem
-
A helper to perform the default vanilla elytra tick logic: damage the elytra every 20 ticks, and send a game event every 10 ticks.
- 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
- drops(RegistryKey<LootTable>) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- dropsLike(Block) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- dropsNothing() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- duplicate(ByteBuf) - Static method in class net.fabricmc.fabric.api.networking.v1.PacketByteBufs
-
Wraps the newly created buf from
buf.duplicate
in a packet byte buf. - DUSTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalItemTags
-
Deprecated.
- DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- dynamicBounds() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- 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.
- EMERALD_GEMS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- EMERALDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- emissive() - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialView
- emissive(boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
When true, sprite texture and color will be rendered at full brightness.
- emissive(int, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Deprecated.Use
MaterialFinder.emissive(boolean)
instead. - emissiveLighting(AbstractBlock.ContextPredicate) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- emit() - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
-
In static mesh building, causes quad to be appended to the mesh being built.
- emitBlockQuads(BlockRenderView, BlockState, BlockPos, Supplier<Random>, RenderContext) - Method in interface net.fabricmc.fabric.api.renderer.v1.model.FabricBakedModel
-
This method will be called during chunk rebuilds to generate both the static and dynamic portions of a block model when the model implements this interface and
FabricBakedModel.isVanillaAdapter()
returns false. - emitBlockQuads(BlockRenderView, BlockState, BlockPos, Supplier<Random>, RenderContext) - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
- emitItemQuads(ItemStack, Supplier<Random>, RenderContext) - Method in interface net.fabricmc.fabric.api.renderer.v1.model.FabricBakedModel
-
This method will be called during item rendering to generate both the static and dynamic portions of an item model when the model implements this interface and
FabricBakedModel.isVanillaAdapter()
returns false. - emitItemQuads(ItemStack, Supplier<Random>, RenderContext) - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
- empty() - Static method in class net.fabricmc.fabric.api.networking.v1.PacketByteBufs
-
Returns an empty instance of packet byte buf.
- empty() - Static method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
-
Return an empty storage.
- EMPTY_BUCKET - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with
ConventionalItemTags.EMPTY_BUCKETS
. - EMPTY_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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. - EMPTY_STRUCTURE - Static variable in interface net.fabricmc.fabric.api.gametest.v1.FabricGameTest
-
Use in
GameTest
structureName to use an empty 8x8 structure for the test. - EmptyItemFluidStorage - Class in net.fabricmc.fabric.api.transfer.v1.fluid.base
-
Base implementation of a fluid storage for an empty item.
- EmptyItemFluidStorage(ContainerItemContext, Function<ItemVariant, ItemVariant>, 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.
- 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.
- EnchantmentTagProvider(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.EnchantmentTagProvider
- END - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents
-
Called after all world rendering is complete and changes to GL state are unwound.
- 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_ISLANDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.Biomes that spawn as or on islands in the End.
- END_SERVER_TICK - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents
-
Called at the end of the server tick.
- END_WORLD_TICK - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents
-
Called at the end of a ClientWorld's tick.
- END_WORLD_TICK - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents
-
Called at the end of a ServerWorld's tick.
- endDataPackReload(MinecraftServer, LifecycledResourceManager, 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_PEARLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- ENHANCED - Enum constant in enum class net.fabricmc.fabric.api.renderer.v1.material.ShadeMode
-
Conveys the intent that shading should be generally consistent, lack edge cases, and produce visually pleasing results, even for quads that are not used by vanilla or are not possible to create through resource packs in vanilla.
- entity() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext.BlockOutlineContext
- 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_ENHANCEMENT - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalEnchantmentTags
-
Deprecated.For enchantments that decrease damage taken or otherwise benefit, in regard to damage, 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 ClientWorld.
- ENTITY_LOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents
-
Called when an Entity is loaded into a ServerWorld.
- ENTITY_MOVEMENT_ENHANCEMENT - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalEnchantmentTags
-
Deprecated.For enchantments that increase movement speed or otherwise benefit the entity wearing armor enchanted with it.
- 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 ClientWorld.
- ENTITY_UNLOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents
-
Called when an Entity is unloaded from a ServerWorld.
- ENTITY_WATER_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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 - 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<N>) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
-
Deprecated.
- entityFactory(EntityType.EntityFactory<N>) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
-
Deprecated.
- entityFactory(EntityType.EntityFactory<N>) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
-
Deprecated.
- EntityModelLayerRegistry - Class in net.fabricmc.fabric.api.client.rendereregistry.v1
-
Deprecated.This module has been moved into fabric-rendering-v1. Use
EntityModelLayerRegistry
instead. - EntityModelLayerRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1
-
A helpers for registering entity model layers and providers for the layer's textured model data.
- EntityModelLayerRegistry.TexturedModelDataProvider - Interface in net.fabricmc.fabric.api.client.rendereregistry.v1
-
Deprecated.
- EntityModelLayerRegistry.TexturedModelDataProvider - Interface in net.fabricmc.fabric.api.client.rendering.v1
- EntityPickInteractionAware - Interface in net.fabricmc.fabric.api.entity
-
Convenience interface for entities that want more stack picking context than what
Entity.getPickBlockStack()
provides. - EntityRendererRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1
-
Helper class for registering EntityRenderers.
- EntityRendererRegistry - Interface in net.fabricmc.fabric.api.client.rendereregistry.v1
-
Deprecated.This module has been moved into fabric-rendering-v1. Use
EntityRendererRegistry
instead - 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
- EntityTypeTagProvider(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.EntityTypeTagProvider
- Entries(RegistryWrapper.WrapperLookup, 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
- EnumRule<E> - Class in net.fabricmc.fabric.api.gamerule.v1.rule
- EnumRule(GameRules.Type<EnumRule<E>>, E, E[]) - Constructor for class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
-
Deprecated.You should not be calling this constructor!
- EnumRule(GameRules.Type<EnumRule<E>>, E, Collection<E>) - Constructor for class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
-
Deprecated.
- equals(Object) - Method in class net.fabricmc.fabric.api.gamerule.v1.CustomGameRuleCategory
- 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_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.Settings
-
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<T>) - Static method in interface net.fabricmc.fabric.api.event.registry.RegistryEntryAddedCallback
- event(Registry<T>) - 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.render.InvalidateRenderStateCallback
-
Deprecated.
- EVENT - Static variable in interface net.fabricmc.fabric.api.client.rendereregistry.v1.LivingEntityFeatureRendererRegistrationCallback
-
Deprecated.
- EVENT - Static variable in interface net.fabricmc.fabric.api.client.rendering.v1.CoreShaderRegistrationCallback
- EVENT - Static variable in interface net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback
- 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.LivingEntityFeatureRendererRegistrationCallback
- EVENT - Static variable in interface net.fabricmc.fabric.api.client.rendering.v1.TooltipComponentCallback
- EVENT - Static variable in interface net.fabricmc.fabric.api.command.v1.CommandRegistrationCallback
-
Deprecated.
- EVENT - Static variable in interface net.fabricmc.fabric.api.command.v2.CommandRegistrationCallback
- EVENT - Static variable in interface net.fabricmc.fabric.api.event.client.player.ClientPickBlockApplyCallback
- EVENT - Static variable in interface net.fabricmc.fabric.api.event.client.player.ClientPickBlockCallback
-
Deprecated.
- EVENT - Static variable in interface net.fabricmc.fabric.api.event.client.player.ClientPickBlockGatherCallback
- 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. - Events - Search tag in package net.fabricmc.fabric.api.loot.v2
- Section
- Events - Search tag in package net.fabricmc.fabric.api.loot.v3
- Section
- Example - Search tag in class net.fabricmc.fabric.api.screenhandler.v1.ExtendedScreenHandlerType
- Section
- Example - Search tag in package net.fabricmc.fabric.api.resource
- Section
- Example: adding diamonds to the cobblestone loot table - Search tag in net.fabricmc.fabric.api.loot.v2.LootTableEvents.MODIFY
- Section
- Example: adding diamonds to the cobblestone loot table - Search tag in net.fabricmc.fabric.api.loot.v3.LootTableEvents.MODIFY
- Section
- Example command - Search tag in class net.fabricmc.fabric.api.client.command.v2.ClientCommandManager
- Section
- Examples - Search tag in class net.fabricmc.fabric.api.event.registry.DynamicRegistries
- Section
- 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<RegistryKey<Biome>>) - 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(RegistryKey<Biome>...) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
- excludeFromStrictValidation(Block) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootTableProvider
-
Disable strict validation for the passed block.
- Extended loot table and pool builders - Search tag in package net.fabricmc.fabric.api.loot.v2
- Section
- Extended loot table and pool builders - Search tag in package net.fabricmc.fabric.api.loot.v3
- Section
- ExtendedScreenHandlerFactory<D> - Interface in net.fabricmc.fabric.api.screenhandler.v1
-
An extension of
NamedScreenHandlerFactory
that can write additional data to a screen opening packet. - ExtendedScreenHandlerType<T,
D> - Class in net.fabricmc.fabric.api.screenhandler.v1 -
A
ScreenHandlerType
for an extended screen handler that synchronizes additional data to the client when it is opened. - ExtendedScreenHandlerType(ExtendedScreenHandlerType.ExtendedFactory<T, D>, PacketCodec<? super RegistryByteBuf, D>) - Constructor for class net.fabricmc.fabric.api.screenhandler.v1.ExtendedScreenHandlerType
-
Constructs an extended screen handler type.
- ExtendedScreenHandlerType.ExtendedFactory<T,
D> - Interface in net.fabricmc.fabric.api.screenhandler.v1 -
A factory for creating screen handler 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<T>, 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<T>) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
-
Return a wrapper over the passed storage that prevents insertion.
- EXTREME_HILLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
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(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricAdvancementProvider
- FabricBakedModel - Interface in net.fabricmc.fabric.api.renderer.v1.model
-
Interface for baked models that output meshes with enhanced rendering features.
- FabricBakedModelManager - Interface in net.fabricmc.fabric.api.client.model.loading.v1
-
Fabric-provided helper methods for
BakedModelManager
. - FabricBlock - Interface in net.fabricmc.fabric.api.block.v1
-
General-purpose Fabric-provided extensions for
Block
subclasses. - FabricBlockEntityType - Interface in net.fabricmc.fabric.api.object.builder.v1.block.entity
-
General-purpose Fabric-provided extensions for
BlockEntityType
. - FabricBlockEntityType.Builder<T> - Interface in net.fabricmc.fabric.api.object.builder.v1.block.entity
-
General-purpose Fabric-provided extensions for
BlockEntityType.Builder
. - FabricBlockEntityTypeBuilder<T> - Class in net.fabricmc.fabric.api.object.builder.v1.block.entity
-
Deprecated.Use
BlockEntityType.Builder
directly. - FabricBlockEntityTypeBuilder.Factory<T> - Interface in net.fabricmc.fabric.api.object.builder.v1.block.entity
-
Deprecated.Use
invalid reference
BlockEntityType.BlockEntityFactory
- FabricBlockLootTableGenerator - Interface in net.fabricmc.fabric.api.datagen.v1.loot
-
Fabric-provided extensions for
BlockLootTableGenerator
. - FabricBlockLootTableProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
-
Extend this class and implement
FabricBlockLootTableProvider.generate()
. - FabricBlockLootTableProvider(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootTableProvider
- FabricBlockSettings - Class in net.fabricmc.fabric.api.object.builder.v1.block
-
Deprecated.replace with
AbstractBlock.Settings
- FabricBlockSettings() - Constructor for class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- FabricBlockSettings(AbstractBlock.Settings) - Constructor for class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- FabricBlockState - Interface in net.fabricmc.fabric.api.block.v1
-
General-purpose Fabric-provided extensions for
BlockState
, matching the functionality provided inFabricBlock
. - FabricBlockView - Interface in net.fabricmc.fabric.api.blockview.v2
-
General-purpose Fabric-provided extensions for
BlockView
subclasses. - FabricBrewingRecipeRegistryBuilder - Interface in net.fabricmc.fabric.api.registry
-
An extension of
BrewingRecipeRegistry.Builder
to support ingredients. - FabricBrewingRecipeRegistryBuilder.BuildCallback - Interface in net.fabricmc.fabric.api.registry
-
Use this event to register custom brewing recipes.
- FabricClientCommandSource - Interface in net.fabricmc.fabric.api.client.command.v2
-
Extensions to
CommandSource
for client-sided commands. - FabricCodecDataProvider<T> - Class in net.fabricmc.fabric.api.datagen.v1.provider
-
Extend this class and implement
FabricCodecDataProvider.configure(BiConsumer, RegistryWrapper.WrapperLookup)
. - FabricCodecDataProvider(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>, DataOutput.OutputType, String, Codec<T>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricCodecDataProvider
- FabricCodecDataProvider(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>, RegistryKey<? extends Registry<?>>, Codec<T>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricCodecDataProvider
- FabricComponentMapBuilder - Interface in net.fabricmc.fabric.api.item.v1
-
Fabric-provided extensions for
ComponentMap.Builder
. - FabricCreativeInventoryScreen - Interface in net.fabricmc.fabric.api.client.itemgroup.v1
-
Fabric provided extensions to
CreativeInventoryScreen
. - 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<RegistryWrapper.WrapperLookup>) - 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.
- FabricDataOutput - Class in net.fabricmc.fabric.api.datagen.v1
-
Extends
DataOutput
to keep track of theModContainer
that it originated from. - FabricDataOutput(ModContainer, Path, boolean) - Constructor for class net.fabricmc.fabric.api.datagen.v1.FabricDataOutput
- 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(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider
- FabricDynamicRegistryProvider.Entries - Class in net.fabricmc.fabric.api.datagen.v1.provider
- FabricElytraItem - Interface in net.fabricmc.fabric.api.entity.event.v1
-
An interface that can be implemented on an item to provide custom elytra flight when it is worn in the
EquipmentSlot.CHEST
slot. - FabricEntitySelectorReader - Interface in net.fabricmc.fabric.api.command.v2
-
Fabric extension to
EntitySelectorReader
, 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, SpawnGroup, 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, SpawnGroup, UnaryOperator)
. - FabricEntityTypeBuilder<T> - Class in net.fabricmc.fabric.api.object.builder.v1.entity
-
Deprecated.replace with
EntityType.Builder
- FabricEntityTypeBuilder(SpawnGroup, EntityType.EntityFactory<T>) - 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
-
Deprecated.use
invalid reference
EntityType.Builder#createLiving(EntityType.EntityFactory, SpawnGroup, UnaryOperator)
- FabricEntityTypeBuilder.Mob<T> - Class in net.fabricmc.fabric.api.object.builder.v1.entity
-
Deprecated.
- FabricGameRuleVisitor - Interface in net.fabricmc.fabric.api.gamerule.v1
-
An extended game rule visitor which supports Fabric's own rule types.
- FabricGameTest - Interface in net.fabricmc.fabric.api.gametest.v1
-
This interface can be optionally implemented on your test class.
- FabricIngredient - Interface in net.fabricmc.fabric.api.recipe.v1.ingredient
-
Fabric-provided extensions for
Ingredient
. - FabricItem - Interface in net.fabricmc.fabric.api.item.v1
-
General-purpose Fabric-provided extensions for
Item
subclasses. - FabricItem.Settings - Interface in net.fabricmc.fabric.api.item.v1
-
Fabric-provided extensions for
Item.Settings
. - FabricItemGroup - Class in net.fabricmc.fabric.api.itemgroup.v1
-
Contains a method to create an item group builder.
- FabricItemGroupEntries - Class in net.fabricmc.fabric.api.itemgroup.v1
-
This class allows the entries of item groups to be modified by the events in
ItemGroupEvents
. - FabricItemGroupEntries(ItemGroup.DisplayContext, List<ItemStack>, List<ItemStack>) - Constructor for class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- FabricItemStack - Interface in net.fabricmc.fabric.api.item.v1
-
Fabric-provided extensions for
ItemStack
. - FabricKeyBinding - Class in net.fabricmc.fabric.api.client.keybinding
-
Deprecated.Please migrate to v1. Please use
KeyBindingHelper.registerKeyBinding(KeyBinding)
instead. - FabricKeyBinding(Identifier, InputUtil.Type, int, String) - Constructor for class net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding
-
Deprecated.
- FabricKeyBinding.Builder - Class in net.fabricmc.fabric.api.client.keybinding
-
Deprecated.
- FabricLanguageProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
- FabricLanguageProvider(FabricDataOutput, String, CompletableFuture<RegistryWrapper.WrapperLookup>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider
- FabricLanguageProvider(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>) - 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.v2
-
Deprecated.Please use
FabricLootPoolBuilder
instead. - 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.v2
-
Deprecated.use
FabricLootTableBuilder
instead. - 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. - FabricLootTableProvider - Interface in net.fabricmc.fabric.api.datagen.v1.provider
-
A base interface for Loot table providers.
- FabricModelPredicateProviderRegistry - Class in net.fabricmc.fabric.api.object.builder.v1.client.model
-
Deprecated.Replaced by access wideners for
ModelPredicateProviderRegistry
registration methods in Fabric Transitive Access Wideners (v1). - FabricModelPredicateProviderRegistry() - Constructor for class net.fabricmc.fabric.api.object.builder.v1.client.model.FabricModelPredicateProviderRegistry
-
Deprecated.
- FabricModelProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
- FabricModelProvider(FabricDataOutput) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricModelProvider
- FabricParticleTypes - Class in net.fabricmc.fabric.api.particle.v1
-
Methods for creating particle types, both simple and using an existing attribute factory.
- FabricRecipeProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
-
Extend this class and implement
FabricRecipeProvider.generate(net.minecraft.data.server.recipe.RecipeExporter)
. - FabricRecipeProvider(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider
- FabricRegistryBuilder<T,
R> - Class in net.fabricmc.fabric.api.event.registry -
Used to create custom registries, with specified registry attributes.
- FabricScreenHandlerFactory - Interface in net.fabricmc.fabric.api.screenhandler.v1
-
An extension to
NamedScreenHandlerFactory
. - FabricServerConfigurationNetworkHandler - Interface in net.fabricmc.fabric.api.networking.v1
-
Fabric-provided extensions for
ServerConfigurationNetworkHandler
. - FabricSoundInstance - Interface in net.fabricmc.fabric.api.client.sound.v1
-
General purpose Fabric-provided extensions to
SoundInstance
. - FabricSpriteProvider - Interface in net.fabricmc.fabric.api.client.particle.v1
-
FabricSpriteProvider.
- FabricTagKey - Interface in net.fabricmc.fabric.api.tag
-
General-purpose Fabric-provided extensions for
TagKey
subclasses. - FabricTagProvider<T> - Class in net.fabricmc.fabric.api.datagen.v1.provider
-
Implement this class (or one of the inner classes) to generate a tag list.
- FabricTagProvider(FabricDataOutput, RegistryKey<? extends Registry<T>>, CompletableFuture<RegistryWrapper.WrapperLookup>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider
-
Constructs a new
FabricTagProvider
with the default computed path. - FabricTagProvider.BlockEntityTypeTagProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
-
Extend this class to create
BlockEntityType
tags in the "/block_entity_type" tag directory. - FabricTagProvider.BlockTagProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
-
Extend this class to create
Block
tags in the "/blocks" tag directory. - FabricTagProvider.EnchantmentTagProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
-
Extend this class to create
Enchantment
tags in the "/enchantments" tag directory. - FabricTagProvider.EntityTypeTagProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
-
Extend this class to create
EntityType
tags in the "/entity_types" tag directory. - FabricTagProvider.FabricTagBuilder - Class in net.fabricmc.fabric.api.datagen.v1.provider
-
An extension to
TagProvider.ProvidedTagBuilder
that provides additional functionality. - FabricTagProvider.FluidTagProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
-
Extend this class to create
Fluid
tags in the "/fluids" tag directory. - FabricTagProvider.ItemTagProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
-
Extend this class to create
Item
tags in the "/items" tag directory. - faceFromIndex(int) - Static method in class net.fabricmc.fabric.api.renderer.v1.model.ModelHelper
-
Use to decode a result from
ModelHelper.toFaceIndex(Direction)
. - faceNormal() - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Normal of the quad as implied by geometry.
- FakePlayer - Class in net.fabricmc.fabric.api.entity
-
A "fake player" is a
ServerPlayerEntity
that is not a human player. - FakePlayer(ServerWorld, GameProfile) - Constructor for class net.fabricmc.fabric.api.entity.FakePlayer
- fallbackConsumer() - Method in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
emitBlockQuads
oremitItemQuads
on the baked model that you want to consume instead. - FALSE - Enum constant in enum class net.fabricmc.fabric.api.util.TriState
-
Represents the boolean value of
false
. - featuresEnabled(FeatureFlag...) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
- 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. - 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.
- FERTILIZERS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
For bonemeal-like items that can grow plants.
- 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 ifFilteringStorage.canInsert(T)
orFilteringStorage.canExtract(T)
allows it respectively. - FilteringStorage(Supplier<Storage<T>>) - 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<T>) - Constructor for class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
-
Create a new filtering storage, with a fixed backing storage.
- find() - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Returns the standard material encoding all of the current settings in this finder.
- find(float, float) - Method in interface net.fabricmc.fabric.api.renderer.v1.model.SpriteFinder
-
Alternative to
SpriteFinder.find(QuadView, int)
when vertex centroid is already known or unsuitable. - find(C) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiCache
-
Attempt to retrieve an API from a block in the world, using the world and the position passed at creation time.
- find(ItemApiLookup<A, ContainerItemContext>) - 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(QuadView) - Method in interface net.fabricmc.fabric.api.renderer.v1.model.SpriteFinder
-
Finds the atlas sprite containing the vertex centroid of the quad.
- find(QuadView, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.model.SpriteFinder
-
Deprecated.Use
SpriteFinder.find(QuadView)
instead. - find(ContainerItemContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidStorage.CombinedItemApiProvider
-
Return a
Storage<FluidVariant>
if available in the given context, ornull
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 world, using the world and the position passed at creation time.
- 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, ornull
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, ornull
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, ornull
otherwise. - find(World, BlockPos, C) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
-
Attempt to retrieve an API from a block in the world.
- find(World, 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 world.
- find(World, 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 world at the given pos with the given context, ornull
otherwise. - findExtractableContent(Storage<T>, Predicate<T>, 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<T>, 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<T>, Predicate<T>, 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<T>, 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.
- findStoredResource(Storage<T>) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
-
Attempt to find a resource stored in the passed storage.
- findStoredResource(Storage<T>, Predicate<T>) - 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.
- 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
- FISHING_RODS_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- 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.
- FLORAL - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.Biomes with a large amount of flowers.
- FLOWER_FORESTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- 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.
- FluidTagProvider(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FluidTagProvider
- 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.
- FONTS - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
- 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.v1.ConventionalItemTags
-
Deprecated.
- FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- forceAddTag(TagKey<T>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FabricTagBuilder
-
Add another tag to this tag, ignoring any warning.
- forceTrackedVelocityUpdates(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
-
Deprecated.
- 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(PlayerEntity, ItemStack) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
-
Returns a context for creative interaction.
- forEach(Consumer<QuadView>) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.Mesh
-
Use to access all of the quads encoded in this mesh.
- FOREST - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.Biomes densely populated with deciduous trees.
- forPlayerInteraction(PlayerEntity, Hand) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
-
Returns a context for interaction with a player's hand.
- ForwardingBakedModel - Class in net.fabricmc.fabric.api.renderer.v1.model
-
Base class for specialized model implementations that need to wrap other baked models.
- ForwardingBakedModel() - Constructor for class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
- 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.
- from(R) - Static method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
-
Create a new
FabricRegistryBuilder
, the registry has theRegistryAttribute.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.
- fromRenderLayer(RenderLayer) - Static method in enum class net.fabricmc.fabric.api.renderer.v1.material.BlendMode
- fromVanilla(int[], int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Enables bulk vertex data transfer using the standard Minecraft vertex formats.
- fromVanilla(int[], int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- fromVanilla(int[], int, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Deprecated.Use
MutableQuadView.fromVanilla(int[], int)
instead. - fromVanilla(int[], int, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
-
Deprecated.
- fromVanilla(BakedQuad, RenderMaterial, Direction) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Enables bulk vertex data transfer using the standard Minecraft quad format.
- fromVanilla(BakedQuad, RenderMaterial, Direction) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- 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.
- FRUITS_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- frustum() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
-
View frustum, after it is initialized.
- FuelRegistry - Interface in net.fabricmc.fabric.api.registry
-
Registry of items to 0-32767 fuel burn time values, in in-game ticks.
- FullItemFluidStorage - Class in net.fabricmc.fabric.api.transfer.v1.fluid.base
-
Base implementation of a fluid storage for a full item.
- FullItemFluidStorage(ContainerItemContext, Function<ItemVariant, ItemVariant>, 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
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.
- gameRenderer() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
- GameRuleFactory - Class in net.fabricmc.fabric.api.gamerule.v1
-
A utility class containing factory methods to create game rule types.
- GameRuleRegistry - Class in net.fabricmc.fabric.api.gamerule.v1
-
A utility class which allows for registration of game rules.
- GEMS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.FabricBlockLootTableProvider
-
Implement this method to add block drops.
- generate(RecipeExporter) - 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 asShapedRecipeJsonBuilder
orShapelessRecipeJsonBuilder
. - generateAdvancement(RegistryWrapper.WrapperLookup, Consumer<AdvancementEntry>) - 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(BlockStateModelGenerator) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricModelProvider
- generateItemModels(ItemModelGenerator) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricModelProvider
- generateTranslations(RegistryWrapper.WrapperLookup, FabricLanguageProvider.TranslationBuilder) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider
-
Implement this method to register languages.
- Generic context types - Search tag in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
- Section
- Generic context types - Search tag in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
- Section
- get() - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule
- get() - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
- 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(Block) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
- get(SpriteAtlasTexture) - Static method in interface net.fabricmc.fabric.api.renderer.v1.model.SpriteFinder
-
Retrieves or creates the finder for the given atlas.
- get(Fluid) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandlerRegistry
-
Get a
FluidRenderHandler
for a given Fluid. - get(ItemConvertible) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.BuiltinItemRendererRegistry
-
Returns the renderer for the item, or
null
if the item has no renderer. - get(ItemConvertible) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
- get(Registry<?>) - Static method in interface net.fabricmc.fabric.api.event.registry.RegistryAttributeHolder
- get(RegistryKey<?>) - Static method in interface net.fabricmc.fabric.api.event.registry.RegistryAttributeHolder
- get(ResourceType) - Static method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
-
Get the ResourceManagerHelper instance for a given resource type.
- get(ServerWorld) - Static method in class net.fabricmc.fabric.api.entity.FakePlayer
-
Retrieves a fake player for the specified world, using the
default UUID
. - get(ServerWorld, GameProfile) - Static method in class net.fabricmc.fabric.api.entity.FakePlayer
-
Retrieves a fake player for the specified world and game profile.
- 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<A>, Class<C>) - 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<A>, Class<C>) - 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<A>, Class<C>) - 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(T) - Method in interface net.fabricmc.fabric.api.client.render.ColorProviderRegistry
-
Deprecated.Get a color provider for the given object.
- get(T) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.ColorProviderRegistry
-
Get a color provider for the given object.
- getActiveDispatcher() - Static method in class net.fabricmc.fabric.api.client.command.v2.ClientCommandManager
-
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.
- getAllResolvers() - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ColorResolverRegistry
-
Gets a view of all registered
ColorResolver
s, 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, BlockRenderView, BlockPos, Direction, BlockState, BlockPos) - Method in interface net.fabricmc.fabric.api.block.v1.FabricBlock
-
Return the current appearance of the block, i.e.
- getAppearance(BlockRenderView, 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.FabricSpriteProvider
-
Returns the entire particles texture atlas.
- getAttached(AttachmentType<A>) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
-
Gets the data associated with the given
AttachmentType
, ornull
if it doesn't yet exist. - getAttachedOrCreate(AttachmentType<A>) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
-
Specialization of
AttachmentTarget.getAttachedOrCreate(AttachmentType, Supplier)
, but only for attachment types withinitializers
. It will throw an exception if one is not present. - getAttachedOrCreate(AttachmentType<A>, Supplier<A>) - 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 providedSupplier
. - getAttachedOrElse(AttachmentType<A>, 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<A>, Supplier<A>) - 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>, 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<A>) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
-
Gets the data associated with the given
AttachmentType
, throwing aNullPointerException
if it doesn't yet exist. - getAudioStream(SoundLoader, 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.blockview.v2.FabricBlockView
-
Retrieves the biome at the given position if biome retrieval is supported.
- getBiomeKey() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
- getBiomeRegistryEntry() - 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.
- getBlockEntityRenderAttachment(BlockPos) - Method in interface net.fabricmc.fabric.api.rendering.data.v1.RenderAttachedBlockView
-
Deprecated.Use
FabricBlockView.getBlockEntityRenderData(BlockPos)
instead. - getBlockEntityRenderData(BlockPos) - Method in interface net.fabricmc.fabric.api.blockview.v2.FabricBlockView
-
Retrieves block entity render data for a given block position.
- getBoundKey() - Method in class net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding
-
Deprecated.
- getBoundKeyOf(KeyBinding) - Static method in class net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper
-
Returns the configured KeyCode bound to the KeyBinding 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.
- getBurnChance() - Method in class net.fabricmc.fabric.api.registry.FlammableBlockRegistry.Entry
- getButtons(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.Screens
-
Gets all of a screen's button widgets.
- 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.
- getCategory(GameRules.Key<T>) - Static method in class net.fabricmc.fabric.api.gamerule.v1.CustomGameRuleCategory
-
Gets the custom category a
game rule key
is registered to. - getClient() - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
-
Gets the client instance used to run the command.
- getClient(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.Screens
- getCloudRenderer(RegistryKey<World>) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.DimensionRenderingRegistry
-
Gets the custom cloud renderer for the given
World
. - getCodec(boolean) - 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, BlockRenderView, 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, BlockRenderView, 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.
- getCommandResult() - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule
- getCommandResult() - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
- 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.
- getComponent(TooltipData) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.TooltipComponentCallback
-
Return the tooltip component for the passed data, or null if none is available.
- getComponentMap() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
- getComponents() - 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.itemgroup.v1.FabricItemGroupEntries
- getCurrentPage() - Method in interface net.fabricmc.fabric.api.client.itemgroup.v1.FabricCreativeInventoryScreen
-
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(ScreenHandler) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
-
Return a wrapper around the cursor slot of a screen handler, 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.FabricEntitySelectorReader
-
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
ColorResolver
s, not including vanilla resolvers. - getDefaultInstance() - Static method in interface net.fabricmc.fabric.api.registry.FlammableBlockRegistry
- getDimensionEffects(Identifier) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.DimensionRenderingRegistry
-
Gets the dimension effects registered for an id.
- getDisplayStacks() - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- 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.
- getEmitter() - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MeshBuilder
-
Returns the
QuadEmitter
used to append quad to this mesh. - getEmitter() - Method in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
Returns a
QuadEmitter
instance that is used to output quads. - 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.itemgroup.v1.FabricItemGroupEntries
- getEnabledFeatures() - Method in interface net.fabricmc.fabric.api.registry.FabricBrewingRecipeRegistryBuilder
- getEntity() - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
-
Gets the entity that used the command.
- getEnumClass() - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
- getFabricDependencies() - Method in interface net.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener
- getFabricId() - Method in interface net.fabricmc.fabric.api.resource.IdentifiableResourceReloadListener
- getFabricModMetadata() - Method in interface net.fabricmc.fabric.api.resource.ModResourcePack
- getFeatureKey(ConfiguredFeature<?, ?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
-
Tries to retrieve the registry 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.
- getFluid() - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
-
Return the fluid of this variant.
- getFluidColor(BlockRenderView, 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(BlockRenderView, 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(BlockRenderView, 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(BlockRenderView, 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.
- 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(Hand) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
-
Return a wrapper around the current slot of the passed hand.
- getId() - Method in class net.fabricmc.fabric.api.gamerule.v1.CustomGameRuleCategory
- 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.
- 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
- getInstance() - Static method in interface net.fabricmc.fabric.api.client.particle.v1.ParticleFactoryRegistry
- 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.
- getItemGroupsOnPage(int) - Method in interface net.fabricmc.fabric.api.client.itemgroup.v1.FabricCreativeInventoryScreen
-
Returns an ordered list containing the item groups on the requested page.
- 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.
- getLifecycle() - Static method in interface net.fabricmc.fabric.api.transfer.v1.transaction.Transaction
- getLookup() - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiCache
-
Return the lookup this cache is bound to.
- getLookup(RegistryKey<? extends Registry<T>>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
-
Gets a lookup for entries from the given registry.
- getLookup(Identifier, Class<?>, Class<?>) - Method in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiLookupMap
-
Retrieve the API lookup associated with an identifier.
- getLookups() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
-
Gets access to all registry lookups.
- getLuminance(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.
- 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.
- getMatchingStacks() - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient
-
Returns the list of stacks that match this ingredient..
- 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. - 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.FabricDataOutput
-
Returns the
ModContainer
for the mod that this data generator has been created for. - getModel(Identifier) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.FabricBakedModelManager
-
Similar to
BakedModelManager.getModel(ModelIdentifier)
, but accepts anIdentifier
instead of aModelIdentifier
. - getModelDependencies() - Method in class net.fabricmc.fabric.api.client.model.loading.v1.DelegatingUnbakedModel
- 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.FabricDataOutput
-
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.FabricBlockLootTableProvider
- getName() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider
- getName() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.SimpleFabricLootTableProvider
- getName() - Method in class net.fabricmc.fabric.api.gamerule.v1.CustomGameRuleCategory
- getName() - Method in interface net.fabricmc.fabric.api.tag.FabricTagKey
-
Use this to get a TagKey's translatable text 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(RegistryKey<? extends Registry<? extends T>>) - Method in interface net.fabricmc.fabric.api.event.registry.DynamicRegistryView
-
Returns the registry identified by the registry key.
- getOrCreate(ComponentType<T>, Supplier<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.
- 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.
- getOrCreateTagBuilder(TagKey<T>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider
-
Creates a new instance of
FabricTagProvider<T>.FabricTagBuilder
for the givenTagKey
tag. - getOrDefault(ComponentType<T>, 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(ComponentType<List<T>>) - 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.
- getOrLoadModel(Identifier) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.BlockStateResolver.Context
-
Loads a model using an
Identifier
, or gets it if it was already loaded. - getOrLoadModel(Identifier) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.OnLoad.Context
-
Loads a model using an
Identifier
, or gets it if it was already loaded. - getOrLoadModel(Identifier) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelResolver.Context
-
Loads a model using an
Identifier
, or gets it if it was already loaded. - 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. - getOverrides() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
- getPacketCodec() - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredientSerializer
-
Returns the packet codec for serializing this ingredient.
- getPacketCodec() - Method in class net.fabricmc.fabric.api.screenhandler.v1.ExtendedScreenHandlerType
- getPage(ItemGroup) - Method in interface net.fabricmc.fabric.api.client.itemgroup.v1.FabricCreativeInventoryScreen
-
Returns the page index of the given item group.
- getPageCount() - Method in interface net.fabricmc.fabric.api.client.itemgroup.v1.FabricCreativeInventoryScreen
-
Returns the total number of pages.
- getParticleSprite() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
- getPathNodeType(BlockState, boolean) - Method in interface net.fabricmc.fabric.api.registry.LandPathNodeTypesRegistry.StaticPathNodeTypeProvider
-
Gets the
PathNodeType
for the specified block state. - getPathNodeType(BlockState, BlockView, BlockPos, boolean) - Method in interface net.fabricmc.fabric.api.registry.LandPathNodeTypesRegistry.DynamicPathNodeTypeProvider
-
Gets the
PathNodeType
for the specified block state at the specified position. - getPathNodeType(BlockState, BlockView, BlockPos, boolean) - Static method in class net.fabricmc.fabric.api.registry.LandPathNodeTypesRegistry
-
Gets the
PathNodeType
from the provider registered for the specified block state at the specified position. - getPathNodeTypeProvider(Block) - Static method in class net.fabricmc.fabric.api.registry.LandPathNodeTypesRegistry
-
Gets the raw
LandPathNodeTypesRegistry.PathNodeTypeProvider
registered for the specified block. - getPickedStack(BlockState, BlockView, BlockPos, PlayerEntity, HitResult) - Method in interface net.fabricmc.fabric.api.block.BlockPickInteractionAware
- getPickedStack(PlayerEntity, HitResult) - Method in interface net.fabricmc.fabric.api.entity.EntityPickInteractionAware
- getPlacedFeatureKey(PlacedFeature) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
-
Tries to retrieve the registry 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.
- getPreferredEquipmentSlot(LivingEntity, ItemStack) - Method in interface net.fabricmc.fabric.api.item.v1.EquipmentSlotProvider
-
Gets the preferred equipment slot for an item stack.
- 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). - 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). - getQuads(BlockState, Direction, Random) - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
- getQueuedEntries(RegistryKey<T>) - 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(ServerConfigurationNetworkHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
-
Gets all the channel names that the server can receive packets on.
- getReceived(ServerPlayerEntity) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
-
Gets all the channel names that the server can receive packets on.
- getReceived(ServerPlayNetworkHandler) - 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.
- getRecipeRemainder() - Method in interface net.fabricmc.fabric.api.item.v1.FabricItemStack
-
Return a leftover item for use in recipes.
- getRecipeRemainder(ItemStack) - Method in interface net.fabricmc.fabric.api.item.v1.FabricItem
-
Returns a leftover item stack after
stack
is consumed in a recipe. - getRegistries() - Method in class net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator
-
Get a future returning the default registries produced by
BuiltinRegistries
andDataGeneratorEntrypoint.buildRegistry(RegistryBuilder)
. - getRegistryEntry() - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
- getRegistryEntry() - Method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
- getRenderAttachmentData() - Method in interface net.fabricmc.fabric.api.rendering.data.v1.RenderAttachmentBlockEntity
-
Deprecated.Use
RenderDataBlockEntity.getRenderData()
instead. - getRenderData() - Method in interface net.fabricmc.fabric.api.blockview.v2.RenderDataBlockEntity
-
Gets the render data provided by this block entity.
- getRenderer() - Method in interface net.fabricmc.fabric.api.renderer.v1.RendererAccess
-
Access to the current
Renderer
for creating and retrieving model builders and materials. - 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.
- getScoreboardTeam() - Method in class net.fabricmc.fabric.api.entity.FakePlayer
- getScreenOpeningData(ServerPlayerEntity) - Method in interface net.fabricmc.fabric.api.screenhandler.v1.ExtendedScreenHandlerFactory
-
Writes additional server -> client screen opening data to the buffer.
- getSearchTabStacks() - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- getSelectedItemGroup() - Method in interface net.fabricmc.fabric.api.client.itemgroup.v1.FabricCreativeInventoryScreen
-
Returns the
ItemGroup
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(ServerConfigurationNetworkHandler) - 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(ServerPlayerEntity) - 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(ServerPlayNetworkHandler) - 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(ServerConfigurationNetworkHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
-
Gets the packet sender which sends packets to the connected client.
- getSender(ServerPlayerEntity) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
-
Gets the packet sender which sends packets to the connected client.
- getSender(ServerPlayNetworkHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
-
Gets the packet sender which sends packets to the connected client.
- getSerializer() - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient
-
Returns the serializer for this ingredient.
- getServer(ServerConfigurationNetworkHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
-
Returns the Minecraft Server of a server configuration network handler.
- getServer(ServerLoginNetworkHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking
-
Returns the Minecraft Server of a server login network handler.
- getSkyRenderer(RegistryKey<World>) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.DimensionRenderingRegistry
-
Gets the custom sky renderer for the given
World
. - getSlot(int) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.InventoryStorage
- 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.InventoryStorage
- 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.InventoryStorage
-
Retrieve an unmodifiable list of the wrappers for the slots in this inventory.
- getSlots() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.SlottedStorage
-
Retrieve a list containing all the slots of this storage.
- getSpawnSettings() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext
-
Returns the modification context for the biomes spawn settings.
- getSpreadChance() - Method in class net.fabricmc.fabric.api.registry.FlammableBlockRegistry.Entry
- 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.FabricSpriteProvider
-
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.event.client.player.ClientPickBlockCallback.Container
-
Deprecated.
- getStack() - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
-
Return the stack of this storage.
- getStructureKey(Structure) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
-
Tries to retrieve the registry key for the given configured feature, which should be from this biomes current structure list.
- 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.
- getTextRenderer(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.Screens
-
Gets a screen's text renderer.
- getThis() - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule
- getThis() - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
- 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, TooltipType) - 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, TooltipType, List<Text>) - Method in interface net.fabricmc.fabric.api.client.item.v1.ItemTooltipCallback
-
Called when an item stack's tooltip is rendered.
- getTransformation() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
- 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.
- 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, World) - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariantAttributeHandler
-
Return a positive integer, representing the viscosity of this fluid.
- getViscosity(FluidVariant, World) - 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.
- getWeatherRenderer(RegistryKey<World>) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.DimensionRenderingRegistry
-
Gets the custom weather effect renderer for the given
World
. - getWorld() - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
-
Gets the world where the player used the command.
- getWorld() - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiCache
-
Return the world this cache is bound to.
- getWrappedModel() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
- getWrappedModel() - Method in interface net.fabricmc.fabric.api.renderer.v1.model.WrapperBakedModel
-
Return the wrapped model, if there is one at the moment, or
null
otherwise. - GLASS_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBlockTags
-
Deprecated.
- GLASS_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalBlockTags
-
Deprecated.
- GLASS_PANES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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_TERRACOTTA - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
-
Deprecated.
- GLAZED_TERRACOTTA - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- 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
- glint() - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialView
- glint(TriState) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Controls whether glint should be applied.
- 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.v1.ConventionalItemTags
-
Deprecated.
- 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_RAW_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- 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.
- 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.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalItemTags
-
Deprecated.
- GREEN_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
H
- hangingSignSoundGroup(BlockSoundGroup) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.WoodTypeBuilder
-
Sets this wood type's hanging sign sound group.
- hardness(float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- harvestableItems(Iterable<Item>) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
-
Deprecated.Items that a Villager may harvest in this profession.
- harvestableItems(Item...) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
-
Deprecated.Items that a Villager may harvest in this profession.
- hasAdditionalPages() - Method in interface net.fabricmc.fabric.api.client.itemgroup.v1.FabricCreativeInventoryScreen
-
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.blockview.v2.FabricBlockView
-
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 changes.
- hasDepth() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
- hasFeature(RegistryKey<ConfiguredFeature<?, ?>>) - 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.gamerule.v1.CustomGameRuleCategory
- 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.
- hasNormal(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
If false, no vertex normal was provided.
- hasPlacedFeature(RegistryKey<PlacedFeature>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
-
Returns true if this biome contains a placed feature with the given key.
- hasRegistration(String) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleRegistry
-
Checks if a name for a game rule is already registered.
- hasRenderer() - Method in interface net.fabricmc.fabric.api.renderer.v1.RendererAccess
-
Performant test for
RendererAccess.getRenderer()
!= null. - hasTag(TagKey<Biome>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
-
Returns true if this biome is in the given
TagKey
. - hasTransform() - Method in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
Returns whether this context currently has at least one transform.
- 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.
- HOES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with
ItemTags.HOES
. - HONEY - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalFluidTags
-
Deprecated.
- HONEY - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
- How to use from subclasses - Search tag in class net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
- Section
- HudRenderCallback - Interface in net.fabricmc.fabric.api.client.rendering.v1
I
- ICY - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.For land biomes where ice naturally spawns.
- id() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelResolver.Context
-
The identifier of the model to be loaded.
- id() - Method in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditionType
- id(Identifier) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
-
Deprecated.The Identifier used to identify this villager profession.
- IdentifiableResourceReloadListener - Interface in net.fabricmc.fabric.api.resource
-
Interface for "identifiable" resource reload listeners.
- 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 - Search tag in net.fabricmc.fabric.api.block.v1.FabricBlock.getAppearance(BlockState, BlockRenderView, BlockPos, Direction, BlockState, BlockPos)
- Section
- Implementation Tips - Search tag in interface net.fabricmc.fabric.api.blockview.v2.RenderDataBlockEntity
- Section
- Improving performance - Search tag in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
- Section
- IN_NETHER - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.Biomes that spawn in the Nether.
- IN_OVERWORLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.Biomes that spawn in the Overworld.
- IN_THE_END - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.Biomes that spawn in the End.
- includeByKey(Collection<RegistryKey<Biome>>) - 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(RegistryKey<Biome>...) - 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
. - INCREASES_BLOCK_DROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalEnchantmentTags
-
Deprecated.A tag containing enchantments that increase the amount or quality of drops from blocks, such as
Enchantments.FORTUNE
. - INCREASES_ENTITY_DROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalEnchantmentTags
-
Deprecated.A tag containing enchantments that increase the amount or quality of drops from entities, such as
Enchantments.LOOTING
. - increaseStat(Stat<?>, int) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
- INGOT - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
- INGOTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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<A>) - 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.
- InsertionOnlyStorage<T> - Interface in net.fabricmc.fabric.api.transfer.v1.storage.base
-
A
Storage
that supports insertion, and not extraction. - insertOnlyOf(Storage<T>) - 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
PlayerInventory.offerOrDrop(net.minecraft.item.ItemStack)
. - insertStacking(List<? extends SingleSlotStorage<T>>, 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.blockrenderlayer.v1.BlockRenderLayerMap
- INSTANCE - Static variable in interface net.fabricmc.fabric.api.client.keybinding.KeyBindingRegistry
-
Deprecated.
- INSTANCE - Static variable in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandlerRegistry
- INSTANCE - Static variable in interface net.fabricmc.fabric.api.client.rendereregistry.v1.BlockEntityRendererRegistry
-
Deprecated.
- INSTANCE - Static variable in interface net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry
-
Deprecated.
- INSTANCE - Static variable in interface net.fabricmc.fabric.api.client.rendering.v1.BuiltinItemRendererRegistry
-
The singleton instance of the renderer registry.
- INSTANCE - Static variable in class net.fabricmc.fabric.api.registry.CommandRegistry
-
Deprecated.
- INSTANCE - Static variable in interface net.fabricmc.fabric.api.registry.CompostingChanceRegistry
- INSTANCE - Static variable in interface net.fabricmc.fabric.api.registry.FuelRegistry
- INSTANCE - Static variable in interface net.fabricmc.fabric.api.renderer.v1.RendererAccess
- instrument(NoteBlockInstrument) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- 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.
- interact(PlayerEntity, World, Hand) - Method in interface net.fabricmc.fabric.api.event.player.UseItemCallback
- interact(PlayerEntity, World, Hand, Entity, EntityHitResult) - Method in interface net.fabricmc.fabric.api.event.player.AttackEntityCallback
- interact(PlayerEntity, World, Hand, Entity, EntityHitResult) - Method in interface net.fabricmc.fabric.api.event.player.UseEntityCallback
- interact(PlayerEntity, World, Hand, BlockHitResult) - Method in interface net.fabricmc.fabric.api.event.player.UseBlockCallback
- interact(PlayerEntity, World, Hand, BlockPos, Direction) - Method in interface net.fabricmc.fabric.api.event.player.AttackBlockCallback
- interactWithFluidStorage(Storage<FluidVariant>, PlayerEntity, Hand) - 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.render
-
Deprecated.Replaced by
InvalidateRenderStateCallback
- InvalidateRenderStateCallback - Interface in net.fabricmc.fabric.api.client.rendering.v1
-
Called when the world renderer reloads, usually as result of changing resource pack or video configuration, or when the player types F3+A in the debug screen.
- InventoryStorage - Interface in net.fabricmc.fabric.api.transfer.v1.item
-
An implementation of
Storage<ItemVariant>
for vanilla'sInventory
,SidedInventory
andPlayerInventory
. - 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(TestContext, Method) - Method in interface net.fabricmc.fabric.api.gametest.v1.FabricGameTest
-
Override this method to implement custom logic to invoke the test method.
- IRON_INGOTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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_RAW_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- 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
- IS_BEACH - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
-
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
- IS_CAVE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
- IS_COLD - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
- IS_COLD_END - 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
- 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
- IS_DEEP_OCEAN - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
- IS_DESERT - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
- 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
- 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
- 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
- IS_JUNGLE_TREE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
- 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
- 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
- IS_OLD_GROWTH - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
- 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_RIVER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
- IS_SAVANNA - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
- IS_SAVANNA_TREE - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
- IS_SHALLOW_OCEAN - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
- 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_STONY_SHORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
- IS_SWAMP - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
- IS_TAIGA - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBiomeTags
- IS_TEMPERATE - 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
- IS_VEGETATION_DENSE - 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
- 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_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
- 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.v2.LootTableSource
-
Deprecated.Returns whether this loot table 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.
- isBuiltin() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
- isEnabledByDefault() - Method in enum class net.fabricmc.fabric.api.resource.ResourcePackActivationType
-
Returns whether this resource pack will be enabled by default or not.
- isFaceCulled(Direction) - Method in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
Returns
true
if the given face will be culled away. - isIn(DynamicRegistryManager, TagKey<T>, T) - Static method in class net.fabricmc.fabric.api.tag.convention.v1.TagUtil
-
Deprecated.
- isIn(DynamicRegistryManager, TagKey<T>, T) - Static method in class net.fabricmc.fabric.api.tag.convention.v2.TagUtil
- isIn(TagKey<T>, T) - Static method in class net.fabricmc.fabric.api.tag.convention.v1.TagUtil
-
Deprecated.
- isIn(TagKey<T>, T) - Static method in class net.fabricmc.fabric.api.tag.convention.v2.TagUtil
-
See
TagUtil.isIn(DynamicRegistryManager, TagKey, Object)
to check tags that refer to entries in dynamic registries, such asBiome
s. - isInLocal(TagKey<T>, RegistryKey<T>) - 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(DamageSource) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
- isInWithLocalFallback(TagKey<T>, RegistryEntry<T>) - 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
Biome
s. - isInWithLocalFallback(TagKey<T>, 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.
- 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. - 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 theStorageView.getResource()
contained in this storage view is blank, orfalse
otherwise. - isSideLit() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
- 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.FabricDataOutput
-
When enabled data providers can do strict validation to ensure that all entries have data generated for them.
- isVanillaAdapter() - Method in interface net.fabricmc.fabric.api.renderer.v1.model.FabricBakedModel
-
When true, signals renderer this producer is implemented through
BakedModel.getQuads(BlockState, net.minecraft.util.math.Direction, Random)
. - isVanillaAdapter() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
- ITEM - Static variable in interface net.fabricmc.fabric.api.client.render.ColorProviderRegistry
-
Deprecated.
- ITEM - Static variable in interface net.fabricmc.fabric.api.client.rendering.v1.ColorProviderRegistry
- ITEM - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidStorage
-
Item access to fluid variant storages.
- 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 - ItemGroupEvents - Class in net.fabricmc.fabric.api.itemgroup.v1
-
Holds events related to
ItemGroups
. - ItemGroupEvents.ModifyEntries - Interface in net.fabricmc.fabric.api.itemgroup.v1
- ItemGroupEvents.ModifyEntriesAll - Interface in net.fabricmc.fabric.api.itemgroup.v1
- ItemStorage - Class in net.fabricmc.fabric.api.transfer.v1.item
-
Access to
Storage<ItemVariant>
instances. - ItemTagProvider(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.ItemTagProvider
-
Construct an
FabricTagProvider.ItemTagProvider
tag provider without an associatedFabricTagProvider.BlockTagProvider
tag provider. - ItemTagProvider(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>, FabricTagProvider.BlockTagProvider) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.ItemTagProvider
-
Construct an
FabricTagProvider.ItemTagProvider
tag provider with an associatedFabricTagProvider.BlockTagProvider
tag provider. - ItemTooltipCallback - Interface in net.fabricmc.fabric.api.client.item.v1
- itemTransformationMode() - Method in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
Returns the current transformation mode.
- 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
- jobSite(Predicate<RegistryEntry<PointOfInterestType>>) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
-
Deprecated.
- JOIN - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents
-
An event for notification when the client play network handler is ready to send packets to the server.
- JOIN - Static variable in class net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents
-
An event for notification when the server play network handler is ready to send packets to the client.
- JSON format - Search tag in package net.fabricmc.fabric.api.resource.conditions.v1
- Section
- JsonKeySortOrderCallback - Interface in net.fabricmc.fabric.api.datagen.v1
-
Provides a callback for setting the sort priority of object keys in generated JSON files.
- jumpVelocityMultiplier(float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- JUNGLE - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
K
- KeyBindingHelper - Class in net.fabricmc.fabric.api.client.keybinding.v1
-
Helper for registering
KeyBinding
s. - KeyBindingRegistry - Interface in net.fabricmc.fabric.api.client.keybinding
-
Deprecated.Please migrate to v1. Please use
KeyBindingHelper
instead.
L
- LandPathNodeTypesRegistry - Class in net.fabricmc.fabric.api.registry
-
A registry to associate block states with specific path node types.
- LandPathNodeTypesRegistry.DynamicPathNodeTypeProvider - Interface in net.fabricmc.fabric.api.registry
-
A functional interface that provides the
PathNodeType
, given the block state world and position. - LandPathNodeTypesRegistry.PathNodeTypeProvider - Interface in net.fabricmc.fabric.api.registry
-
Generic provider, this is a marker interface.
- LandPathNodeTypesRegistry.StaticPathNodeTypeProvider - Interface in net.fabricmc.fabric.api.registry
-
A functional interface that provides the
PathNodeType
, given the block state. - LANGUAGES - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
- LAPIS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- LAPIS_GEMS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- LAST - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents
-
Called after all framebuffer writes are complete but before all world rendering is torn down.
- LAVA - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalFluidTags
-
Deprecated.
- LAVA - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
- LAVA_BUCKET - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with
ConventionalItemTags.LAVA_BUCKETS
. - LAVA_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- LAVA_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- LAVA_FLOWING - Static variable in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
-
The vanilla flowing lava texture identifier.
- LAVA_STILL - Static variable in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
-
The vanilla still lava texture identifier.
- 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
- levelProperty - Variable in class net.fabricmc.fabric.api.transfer.v1.fluid.CauldronFluidContent
-
Property storing the level of the cauldron.
- 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.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalItemTags
-
Deprecated.
- LIGHT_GRAY_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- lightFace() - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Equivalent to
BakedQuad.getFace()
. - lightLevel(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.Please use
FabricBlockSettings.luminance(int)
. - lightLevel(ToIntFunction<BlockState>) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.Please use
FabricBlockSettings.luminance(ToIntFunction)
. - lightmap(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Minimum block brightness.
- lightmap(int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Accept vanilla lightmap values.
- lightmap(int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- lightmap(int, int, int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Convenience: set lightmap for all vertices at once.
- lightmap(int, int, int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- lightmapTextureManager() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
- 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.v1.ConventionalItemTags
-
Deprecated.
- LIME_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- liquid() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- 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.ClientCommandManager
-
Creates a literal argument builder.
- Living(SpawnGroup, EntityType.EntityFactory<T>) - Constructor for class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
-
Deprecated.
- LivingEntityFeatureRendererRegistrationCallback - Interface in net.fabricmc.fabric.api.client.rendereregistry.v1
-
Deprecated.This module has been moved into fabric-rendering-v1. Use
LivingEntityFeatureRendererRegistrationCallback
instead - LivingEntityFeatureRendererRegistrationCallback - Interface in net.fabricmc.fabric.api.client.rendering.v1
-
Called when
feature renderers
for aliving entity renderer
are registered. - LivingEntityFeatureRendererRegistrationCallback.RegistrationHelper - Interface in net.fabricmc.fabric.api.client.rendereregistry.v1
-
Deprecated.This module has been moved into fabric-rendering-v1. Use
LivingEntityFeatureRendererRegistrationCallback.RegistrationHelper
instead - LivingEntityFeatureRendererRegistrationCallback.RegistrationHelper - Interface in net.fabricmc.fabric.api.client.rendering.v1
-
A delegate object used to help register feature renderers for an entity renderer.
- LivingEntityFeatureRenderEvents - Class in net.fabricmc.fabric.api.client.rendering.v1
-
Events related to living entity
FeatureRenderer
s. - LivingEntityFeatureRenderEvents.AllowCapeRender - Interface in net.fabricmc.fabric.api.client.rendering.v1
- load(ResourceManager, Executor) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.PreparableModelLoadingPlugin.DataLoader
-
Returns a
CompletableFuture
that will load the data. - load(ResourceManager, Profiler, Executor) - Method in interface net.fabricmc.fabric.api.resource.SimpleResourceReloadListener
-
Asynchronously process and load resource-based data.
- LOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerWorldEvents
-
Called just after a world is loaded by a Minecraft server.
- loader() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.BlockStateResolver.Context
-
The current model loader instance, which changes between resource reloads.
- loader() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.AfterBake.Context
-
The current model loader instance, which changes between resource reloads.
- loader() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.BeforeBake.Context
-
The current model loader instance, which changes between resource reloads.
- loader() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.OnLoad.Context
-
The current model loader instance, which changes between resource reloads.
- loader() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelResolver.Context
-
The current model loader instance, which changes between resource reloads.
- 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 class net.fabricmc.fabric.api.util.NbtType
-
Deprecated.
- lootContextType - Variable in class net.fabricmc.fabric.api.datagen.v1.provider.SimpleFabricLootTableProvider
- LootTableEvents - Class in net.fabricmc.fabric.api.loot.v2
-
Deprecated.Please use
LootTableEvents
instead. - LootTableEvents - Class in net.fabricmc.fabric.api.loot.v3
-
Events for manipulating loot tables.
- LootTableEvents.Loaded - Interface in net.fabricmc.fabric.api.loot.v2
-
Deprecated.
- LootTableEvents.Loaded - Interface in net.fabricmc.fabric.api.loot.v3
- LootTableEvents.Modify - Interface in net.fabricmc.fabric.api.loot.v2
-
Deprecated.
- LootTableEvents.Modify - Interface in net.fabricmc.fabric.api.loot.v3
- LootTableEvents.Replace - Interface in net.fabricmc.fabric.api.loot.v2
-
Deprecated.
- LootTableEvents.Replace - Interface in net.fabricmc.fabric.api.loot.v3
- LootTableSource - Enum Class in net.fabricmc.fabric.api.loot.v2
-
Deprecated.Use
LootTableSource
instead. - LootTableSource - Enum Class in net.fabricmc.fabric.api.loot.v3
-
Describes where a loot table has been loaded from.
- luminance(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.replace with
AbstractBlock.Settings.luminance(ToIntFunction)
- luminance(ToIntFunction<BlockState>) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
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.v1.ConventionalItemTags
-
Deprecated.
- MAGENTA_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- map(BooleanFunction<? extends T>) - Method in enum class net.fabricmc.fabric.api.util.TriState
-
Maps the boolean value of this tri-state if it is
TriState.TRUE
orTriState.FALSE
. - mapColor(Function<BlockState, MapColor>) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- mapColor(MapColor) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- mapColor(DyeColor) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.Please migrate to
AbstractBlock.Settings.mapColor(DyeColor)
- 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.
- material() - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Retrieves the material serialized with the quad.
- material(RenderMaterial) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Assigns a different material to this quad.
- material(RenderMaterial) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- MATERIAL_STANDARD - Static variable in interface net.fabricmc.fabric.api.renderer.v1.material.RenderMaterial
-
This will be identical to the material that would be obtained by calling
MaterialFinder.find()
on a new, unaltered,MaterialFinder
instance. - materialById(Identifier) - Method in interface net.fabricmc.fabric.api.renderer.v1.Renderer
-
Return a material previously registered via
Renderer.registerMaterial(Identifier, RenderMaterial)
. - materialColor(MapColor) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.Please migrate to
AbstractBlock.Settings.mapColor(MapColor)
- materialColor(DyeColor) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.Please migrate to
AbstractBlock.Settings.mapColor(DyeColor)
- materialFinder() - Method in interface net.fabricmc.fabric.api.renderer.v1.Renderer
-
Obtain a new
MaterialFinder
instance used to retrieve standardRenderMaterial
instances. - MaterialFinder - Interface in net.fabricmc.fabric.api.renderer.v1.material
-
Finds standard
RenderMaterial
instances used to communicate quad rendering characteristics to aRenderContext
. - MaterialView - Interface in net.fabricmc.fabric.api.renderer.v1.material
-
Getter methods for
RenderMaterial
(immutable) andMaterialFinder
(mutable). - matrixStack() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
-
The matrix stack is only not null in
WorldRenderEvents.AFTER_ENTITIES
or later events. - maxLevel - Variable in class net.fabricmc.fabric.api.transfer.v1.fluid.CauldronFluidContent
-
Maximum level for
CauldronFluidContent.levelProperty
. - 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.
- MELEE_WEAPONS_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- MELON_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- MESA - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- Mesh - Interface in net.fabricmc.fabric.api.renderer.v1.mesh
-
A bundle of one or more
QuadView
instances encoded by the renderer, typically viaRenderer.meshBuilder()
. - meshBuilder() - Method in interface net.fabricmc.fabric.api.renderer.v1.Renderer
-
Obtain a new
MeshBuilder
instance used to create baked models with enhanced features. - MeshBuilder - Interface in net.fabricmc.fabric.api.renderer.v1.mesh
-
Similar in purpose to
BufferBuilder
but simpler and not tied to NIO or any other specific implementation, plus designed to handle both static and dynamic building. - meshConsumer() - Method in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
Deprecated.Use
Mesh.outputTo(QuadEmitter)
instead. - MILK - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalFluidTags
-
Deprecated.
- MILK - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
- MILK_BUCKET - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with
ConventionalItemTags.MILK_BUCKETS
. - MILK_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- MILK_BUCKETS - 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
-
A registry for custom minecart comparator logic.
- MINECARTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalEntityTypeTags
-
Deprecated.
- MINECARTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalEntityTypeTags
- 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.
- MINING_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- Mob(SpawnGroup, EntityType.EntityFactory<T>) - 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.
- 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.v2.LootTableSource
-
Deprecated.A loot table 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 - Search tag in package net.fabricmc.fabric.api.resource
- Section
- MODEL_TRANSFORM_BLOCK - Static variable in class net.fabricmc.fabric.api.renderer.v1.model.ModelHelper
-
Mimics the vanilla model transformation used for most vanilla blocks, and should be suitable for most custom block-like models.
- ModelHelper - Class in net.fabricmc.fabric.api.renderer.v1.model
-
Collection of utilities for model implementations.
- ModelLoadingPlugin - Interface in net.fabricmc.fabric.api.client.model.loading.v1
-
A model loading plugin is used to extend the model loading process through the passed
ModelLoadingPlugin.Context
object. - ModelLoadingPlugin.Context - Interface in net.fabricmc.fabric.api.client.model.loading.v1
- ModelModifier - Class in net.fabricmc.fabric.api.client.model.loading.v1
-
Contains interfaces for the events that can be used to modify models at different points in the loading and baking process.
- ModelModifier.AfterBake - Interface in net.fabricmc.fabric.api.client.model.loading.v1
- ModelModifier.AfterBake.Context - Interface in net.fabricmc.fabric.api.client.model.loading.v1
-
The context for an after bake model modification event.
- ModelModifier.BeforeBake - Interface in net.fabricmc.fabric.api.client.model.loading.v1
- ModelModifier.BeforeBake.Context - Interface in net.fabricmc.fabric.api.client.model.loading.v1
-
The context for a before bake model modification event.
- ModelModifier.OnLoad - Interface in net.fabricmc.fabric.api.client.model.loading.v1
- ModelModifier.OnLoad.Context - Interface in net.fabricmc.fabric.api.client.model.loading.v1
-
The context for an on load model modification event.
- ModelResolver - Interface in net.fabricmc.fabric.api.client.model.loading.v1
-
Model resolvers are able to provide a custom model for specific
Identifier
s. - ModelResolver.Context - Interface in net.fabricmc.fabric.api.client.model.loading.v1
-
The context for model resolution.
- MODELS - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
- 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<Item>, BiConsumer<ComponentMap.Builder, Item>) - Method in interface net.fabricmc.fabric.api.item.v1.DefaultItemComponentEvents.ModifyContext
-
Modify the default data components of the specified items.
- modify(Predicate<Item>, BiConsumer<ComponentMap.Builder, Item>) - 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(Item, Consumer<ComponentMap.Builder>) - Method in interface net.fabricmc.fabric.api.item.v1.DefaultItemComponentEvents.ModifyContext
-
Modify the default data components of the specified item.
- modify(RegistryKey<Enchantment>, Enchantment.Builder, EnchantmentSource) - Method in interface net.fabricmc.fabric.api.item.v1.EnchantmentEvents.Modify
-
Modifies the effects of an
Enchantment
. - 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.v2.LootTableEvents
-
Deprecated.Please use
LootTableEvents.MODIFY
instead. - MODIFY - Static variable in class net.fabricmc.fabric.api.loot.v3.LootTableEvents
-
This event can be used to modify loot tables.
- 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_ENTRIES_ALL - Static variable in class net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents
-
This event allows the entries of any item group to be modified.
- 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_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<A>, UnaryOperator<A>) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
-
Modifies the data associated with the given
AttachmentType
. - modifyEntries(FabricItemGroupEntries) - Method in interface net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents.ModifyEntries
-
Modifies the item group entries.
- modifyEntries(ItemGroup, FabricItemGroupEntries) - Method in interface net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents.ModifyEntriesAll
-
Modifies the item group entries.
- modifyEntriesEvent(RegistryKey<ItemGroup>) - Static method in class net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents
-
Returns the modify entries event for a specific item group.
- modifyLootTable(RegistryKey<LootTable>, LootTable.Builder, LootTableSource) - Method in interface net.fabricmc.fabric.api.loot.v2.LootTableEvents.Modify
-
Deprecated.Called when a loot table is loading to modify loot tables.
- modifyLootTable(RegistryKey<LootTable>, LootTable.Builder, LootTableSource, RegistryWrapper.WrapperLookup) - Method in interface net.fabricmc.fabric.api.loot.v3.LootTableEvents.Modify
-
Called when a loot table is loading to modify loot tables.
- modifyModelAfterBake() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin.Context
-
Event access to monitor baked model loads and replace the loaded model.
- modifyModelAfterBake(BakedModel, ModelModifier.AfterBake.Context) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.AfterBake
-
This handler is invoked to allow modification of the baked model instance right after it is baked and before it is cached.
- modifyModelBeforeBake() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin.Context
-
Event access to replace the unbaked model used for baking without replacing the cached model.
- modifyModelBeforeBake(UnbakedModel, ModelModifier.BeforeBake.Context) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.BeforeBake
-
This handler is invoked to allow modification of the unbaked model instance right before it is baked.
- modifyModelOnLoad() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin.Context
-
Event access to monitor unbaked model loads and replace the loaded model.
- modifyModelOnLoad(UnbakedModel, ModelModifier.OnLoad.Context) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.OnLoad
-
This handler is invoked to allow modification of an unbaked model right after it is first loaded and before it is cached.
- modifyPools(Consumer<? super LootPool.Builder>) - Method in interface net.fabricmc.fabric.api.loot.v2.FabricLootTableBuilder
-
Deprecated.use
FabricLootTableBuilder.modifyPools(Consumer)
instead. - modifyPools(Consumer<? super LootPool.Builder>) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootTableBuilder
-
Modifies all loot pools already present in this builder.
- modifyReceivedGameMessage(Text, 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, Vec3d) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents.ModifyWakeUpPosition
-
Modifies or provides a wake-up position for an entity waking up.
- ModResourcePack - Interface in net.fabricmc.fabric.api.resource
-
Interface implemented by mod-provided resource packs.
- More technical explanation - Search tag in class net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
- Section
- MOUNTAIN - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- MOUNTAIN_PEAK - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- MOUNTAIN_SLOPE - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- move(Storage<T>, Storage<T>, Predicate<T>, 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.
- MOVEMENT_RESTRICTED - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBlockTags
-
Deprecated.Blocks should be included in this tag if their movement can cause serious issues such as world corruption upon being moved, such as chunk loaders or pipes, for mods that move blocks but do not respect
AbstractBlock.AbstractBlockState.getPistonBehavior()
. - MUSHROOM - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- MUSIC_DISCS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
For music disc-like materials to be used in recipes.
- MutableQuadView - Interface in net.fabricmc.fabric.api.renderer.v1.mesh
-
A mutable
QuadView
instance.
N
- 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
NbtElement
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
- net.fabricmc.fabric.api.biome.v1 - package net.fabricmc.fabric.api.biome.v1
- net.fabricmc.fabric.api.block - package net.fabricmc.fabric.api.block
- net.fabricmc.fabric.api.block.v1 - package net.fabricmc.fabric.api.block.v1
- net.fabricmc.fabric.api.blockrenderlayer.v1 - package net.fabricmc.fabric.api.blockrenderlayer.v1
- net.fabricmc.fabric.api.blockview.v2 - package net.fabricmc.fabric.api.blockview.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.event.lifecycle.v1 - package net.fabricmc.fabric.api.client.event.lifecycle.v1
- net.fabricmc.fabric.api.client.item.v1 - package net.fabricmc.fabric.api.client.item.v1
- net.fabricmc.fabric.api.client.itemgroup.v1 - package net.fabricmc.fabric.api.client.itemgroup.v1
- net.fabricmc.fabric.api.client.keybinding - package net.fabricmc.fabric.api.client.keybinding
- net.fabricmc.fabric.api.client.keybinding.v1 - package net.fabricmc.fabric.api.client.keybinding.v1
- net.fabricmc.fabric.api.client.message.v1 - package net.fabricmc.fabric.api.client.message.v1
- net.fabricmc.fabric.api.client.model.loading.v1 - package net.fabricmc.fabric.api.client.model.loading.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
- net.fabricmc.fabric.api.client.render - package net.fabricmc.fabric.api.client.render
- net.fabricmc.fabric.api.client.render.fluid.v1 - package net.fabricmc.fabric.api.client.render.fluid.v1
- net.fabricmc.fabric.api.client.rendereregistry.v1 - package net.fabricmc.fabric.api.client.rendereregistry.v1
- net.fabricmc.fabric.api.client.rendering.v1 - package net.fabricmc.fabric.api.client.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
- net.fabricmc.fabric.api.command.v1 - package net.fabricmc.fabric.api.command.v1
- net.fabricmc.fabric.api.command.v2 - package net.fabricmc.fabric.api.command.v2
- 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
- net.fabricmc.fabric.api.datagen.v1.provider - package net.fabricmc.fabric.api.datagen.v1.provider
- net.fabricmc.fabric.api.entity - package net.fabricmc.fabric.api.entity
- net.fabricmc.fabric.api.entity.event.v1 - package net.fabricmc.fabric.api.entity.event.v1
- net.fabricmc.fabric.api.event - package net.fabricmc.fabric.api.event
- net.fabricmc.fabric.api.event.client.player - package net.fabricmc.fabric.api.event.client.player
- net.fabricmc.fabric.api.event.lifecycle.v1 - package net.fabricmc.fabric.api.event.lifecycle.v1
- net.fabricmc.fabric.api.event.player - package net.fabricmc.fabric.api.event.player
- net.fabricmc.fabric.api.event.registry - package net.fabricmc.fabric.api.event.registry
- net.fabricmc.fabric.api.gamerule.v1 - package net.fabricmc.fabric.api.gamerule.v1
- net.fabricmc.fabric.api.gamerule.v1.rule - package net.fabricmc.fabric.api.gamerule.v1.rule
- 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
- net.fabricmc.fabric.api.itemgroup.v1 - package net.fabricmc.fabric.api.itemgroup.v1
- net.fabricmc.fabric.api.lookup.v1.block - package net.fabricmc.fabric.api.lookup.v1.block
- net.fabricmc.fabric.api.lookup.v1.custom - package net.fabricmc.fabric.api.lookup.v1.custom
- net.fabricmc.fabric.api.lookup.v1.entity - package net.fabricmc.fabric.api.lookup.v1.entity
- net.fabricmc.fabric.api.lookup.v1.item - package net.fabricmc.fabric.api.lookup.v1.item
- net.fabricmc.fabric.api.loot.v2 - package net.fabricmc.fabric.api.loot.v2
-
The Fabric Loot API for manipulating and creating loot tables.
- 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.message.v1 - package net.fabricmc.fabric.api.message.v1
- net.fabricmc.fabric.api.networking.v1 - package net.fabricmc.fabric.api.networking.v1
-
The Networking API, version 1.
- net.fabricmc.fabric.api.object.builder.v1.block - package net.fabricmc.fabric.api.object.builder.v1.block
- net.fabricmc.fabric.api.object.builder.v1.block.entity - package net.fabricmc.fabric.api.object.builder.v1.block.entity
- net.fabricmc.fabric.api.object.builder.v1.block.type - package net.fabricmc.fabric.api.object.builder.v1.block.type
- net.fabricmc.fabric.api.object.builder.v1.client.model - package net.fabricmc.fabric.api.object.builder.v1.client.model
- net.fabricmc.fabric.api.object.builder.v1.entity - package net.fabricmc.fabric.api.object.builder.v1.entity
- net.fabricmc.fabric.api.object.builder.v1.trade - package net.fabricmc.fabric.api.object.builder.v1.trade
- net.fabricmc.fabric.api.object.builder.v1.villager - package net.fabricmc.fabric.api.object.builder.v1.villager
- net.fabricmc.fabric.api.object.builder.v1.world.poi - package net.fabricmc.fabric.api.object.builder.v1.world.poi
- net.fabricmc.fabric.api.particle.v1 - package net.fabricmc.fabric.api.particle.v1
- net.fabricmc.fabric.api.recipe.v1.ingredient - package net.fabricmc.fabric.api.recipe.v1.ingredient
- net.fabricmc.fabric.api.registry - package net.fabricmc.fabric.api.registry
-
Includes methods for registering in-game logics.
- net.fabricmc.fabric.api.renderer.v1 - package net.fabricmc.fabric.api.renderer.v1
- net.fabricmc.fabric.api.renderer.v1.material - package net.fabricmc.fabric.api.renderer.v1.material
- net.fabricmc.fabric.api.renderer.v1.mesh - package net.fabricmc.fabric.api.renderer.v1.mesh
- net.fabricmc.fabric.api.renderer.v1.model - package net.fabricmc.fabric.api.renderer.v1.model
- net.fabricmc.fabric.api.renderer.v1.render - package net.fabricmc.fabric.api.renderer.v1.render
- net.fabricmc.fabric.api.rendering.data.v1 - package net.fabricmc.fabric.api.rendering.data.v1
- 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.screenhandler.v1 - package net.fabricmc.fabric.api.screenhandler.v1
-
The Fabric screen handler API for creating screen handlers and screen handler types.
- net.fabricmc.fabric.api.tag - package net.fabricmc.fabric.api.tag
- net.fabricmc.fabric.api.tag.client.v1 - package net.fabricmc.fabric.api.tag.client.v1
- net.fabricmc.fabric.api.tag.convention.v1 - package net.fabricmc.fabric.api.tag.convention.v1
- net.fabricmc.fabric.api.tag.convention.v2 - package net.fabricmc.fabric.api.tag.convention.v2
- net.fabricmc.fabric.api.transfer.v1.client.fluid - package net.fabricmc.fabric.api.transfer.v1.client.fluid
- net.fabricmc.fabric.api.transfer.v1.context - package net.fabricmc.fabric.api.transfer.v1.context
- net.fabricmc.fabric.api.transfer.v1.fluid - package net.fabricmc.fabric.api.transfer.v1.fluid
- net.fabricmc.fabric.api.transfer.v1.fluid.base - package net.fabricmc.fabric.api.transfer.v1.fluid.base
- net.fabricmc.fabric.api.transfer.v1.item - package net.fabricmc.fabric.api.transfer.v1.item
- net.fabricmc.fabric.api.transfer.v1.item.base - package net.fabricmc.fabric.api.transfer.v1.item.base
- net.fabricmc.fabric.api.transfer.v1.storage - package net.fabricmc.fabric.api.transfer.v1.storage
- net.fabricmc.fabric.api.transfer.v1.storage.base - package net.fabricmc.fabric.api.transfer.v1.storage.base
- net.fabricmc.fabric.api.transfer.v1.transaction - package net.fabricmc.fabric.api.transfer.v1.transaction
- net.fabricmc.fabric.api.transfer.v1.transaction.base - package net.fabricmc.fabric.api.transfer.v1.transaction.base
- net.fabricmc.fabric.api.util - package net.fabricmc.fabric.api.util
- NETHER_BRICKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- NETHER_FORESTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- 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.v1.ConventionalItemTags
-
Deprecated.
- 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
- networkHandler() - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking.Context
- networkHandler() - Method in interface net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking.Context
- 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.
- noBlockBreakParticles() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- noCollision() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- nominalFace() - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
- nominalFace(Direction) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Provides a hint to renderer about the facing of this quad.
- nominalFace(Direction) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- 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. - nonOpaque() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- normal(int, float, float, float) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Adds a vertex normal.
- normal(int, float, float, float) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- normal(int, Vector3f) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Same as
MutableQuadView.normal(int, float, float, float)
but accepts vector type. - normal(int, Vector3f) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- normal(int, Vector3fc) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Same as
MutableQuadView.normal(int, float, float, float)
but accepts vector type. - normal(int, Vector3fc) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- NORMAL - Enum constant in enum class net.fabricmc.fabric.api.resource.ResourcePackActivationType
-
Normal activation.
- NORMAL_BRICKS - 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.
- normalX(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Will return
Float.NaN
if normal not present. - normalY(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Will return
Float.NaN
if normal not present. - normalZ(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Will return
Float.NaN
if normal not present. - 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.
- notSolid() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- NUGGET - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
- NUGGETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- NUGGETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- NULL_FACE_ID - Static variable in class net.fabricmc.fabric.api.renderer.v1.model.ModelHelper
-
Result from
ModelHelper.toFaceIndex(Direction)
for null values. - NUMBER - Static variable in class net.fabricmc.fabric.api.util.NbtType
-
Deprecated.Any numeric value: byte, short, int, long, float, double.
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
- OCEAN - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- of() - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.replace with
AbstractBlock.Settings.create()
- of(boolean) - Static method in enum class net.fabricmc.fabric.api.util.TriState
-
Gets the corresponding tri-state from a boolean value.
- of(Boolean) - Static method in enum class net.fabricmc.fabric.api.util.TriState
-
Gets a tri-state from a nullable boxed boolean.
- of(Storage<T>, 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(PlayerEntity) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
-
Return an instance for the passed player's inventory.
- of(PlayerInventory) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
-
Return an instance for the passed player inventory.
- 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, ComponentChanges) - Static method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
-
Retrieve a FluidVariant with a fluid, and an optional tag.
- of(Inventory, Direction) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.InventoryStorage
-
Return a wrapper around an
Inventory
. - of(ItemConvertible) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
-
Retrieve an ItemVariant with an item and without a tag.
- of(ItemConvertible, ComponentChanges) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
-
Retrieve an ItemVariant with an item and an optional tag.
- 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.
- 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
PlayerInventory.offer(net.minecraft.item.ItemStack, boolean)
. - 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
PlayerInventory.offerOrDrop(net.minecraft.item.ItemStack)
. - offset(AbstractBlock.OffsetType) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- ofPlayerCursor(PlayerEntity, ScreenHandler) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
-
Return a context for the passed player's cursor slot.
- ofPlayerHand(PlayerEntity, Hand) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
-
Return a context for the passed player's hand.
- ofPlayerSlot(PlayerEntity, SingleSlotStorage<ItemVariant>) - 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<ItemVariant>) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
-
Return a context for a single slot, with no fallback.
- onAfterSave(MinecraftServer, boolean, boolean) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.AfterSave
-
Called before a Minecraft server begins saving data.
- onAttackInteraction(BlockState, World, BlockPos, PlayerEntity, Hand, 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(World, PlayerEntity, BlockPos, BlockState, BlockEntity) - Method in interface net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents.Canceled
-
Called when a block break has been canceled.
- onBlockOutline(WorldRenderContext, WorldRenderContext.BlockOutlineContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents.BlockOutline
- onChange(LivingEntity, EquipmentSlot, ItemStack, ItemStack) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents.EquipmentChange
- onChannelRegister(ClientConfigurationNetworkHandler, PacketSender, MinecraftClient, List<Identifier>) - Method in interface net.fabricmc.fabric.api.client.networking.v1.C2SConfigurationChannelEvents.Register
- onChannelRegister(ClientPlayNetworkHandler, PacketSender, MinecraftClient, List<Identifier>) - Method in interface net.fabricmc.fabric.api.client.networking.v1.C2SPlayChannelEvents.Register
- onChannelRegister(ServerConfigurationNetworkHandler, PacketSender, MinecraftServer, List<Identifier>) - Method in interface net.fabricmc.fabric.api.networking.v1.S2CConfigurationChannelEvents.Register
- onChannelRegister(ServerPlayNetworkHandler, PacketSender, MinecraftServer, List<Identifier>) - Method in interface net.fabricmc.fabric.api.networking.v1.S2CPlayChannelEvents.Register
- onChannelUnregister(ClientConfigurationNetworkHandler, PacketSender, MinecraftClient, List<Identifier>) - Method in interface net.fabricmc.fabric.api.client.networking.v1.C2SConfigurationChannelEvents.Unregister
- onChannelUnregister(ClientPlayNetworkHandler, PacketSender, MinecraftClient, List<Identifier>) - Method in interface net.fabricmc.fabric.api.client.networking.v1.C2SPlayChannelEvents.Unregister
- onChannelUnregister(ServerConfigurationNetworkHandler, PacketSender, MinecraftServer, List<Identifier>) - Method in interface net.fabricmc.fabric.api.networking.v1.S2CConfigurationChannelEvents.Unregister
- onChannelUnregister(ServerPlayNetworkHandler, PacketSender, MinecraftServer, List<Identifier>) - Method in interface net.fabricmc.fabric.api.networking.v1.S2CPlayChannelEvents.Unregister
- onChatMessage(SignedMessage, ServerPlayerEntity, MessageType.Parameters) - 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.
- onChunkLoad(ClientWorld, WorldChunk) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientChunkEvents.Load
- onChunkLoad(ServerWorld, WorldChunk) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents.Load
- onChunkUnload(ClientWorld, WorldChunk) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientChunkEvents.Unload
- onChunkUnload(ServerWorld, WorldChunk) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerChunkEvents.Unload
- onClientPlayerPreAttack(MinecraftClient, ClientPlayerEntity, int) - Method in interface net.fabricmc.fabric.api.event.client.player.ClientPreAttackCallback
- onClientStarted(MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents.ClientStarted
- onClientStopping(MinecraftClient) - 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(SignedMessage, ServerCommandSource, MessageType.Parameters) - 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(ClientConfigurationNetworkHandler, MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents.Complete
- onConfigurationDisconnect(ClientConfigurationNetworkHandler, MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents.Disconnect
- onConfigurationInit(ClientConfigurationNetworkHandler, MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents.Init
- onConfigurationReady(ClientConfigurationNetworkHandler, MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents.Ready
-
Deprecated.
- onConfigurationStart(ClientConfigurationNetworkHandler, MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents.Start
- onConfigureDisconnect(ServerConfigurationNetworkHandler, MinecraftServer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerConfigurationConnectionEvents.Disconnect
- onConversion(MobEntity, MobEntity, boolean) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents.MobConversion
-
Called when a mob is converted to another type.
- onEnd(WorldRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents.End
- onEndTick(MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.EndTick
- onEndTick(ClientWorld) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.EndWorldTick
- onEndTick(MinecraftServer) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.EndTick
- onEndTick(ServerWorld) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.EndWorldTick
- onEntryAdded(int, Identifier, T) - Method in interface net.fabricmc.fabric.api.event.registry.RegistryEntryAddedCallback
- 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
markDirty()
or neighbor updates. - onGameMessage(MinecraftServer, Text, boolean) - Method in interface net.fabricmc.fabric.api.message.v1.ServerMessageEvents.GameMessage
-
Called when the server broadcasts a game message to all players.
- onHudRender(DrawContext, RenderTickCounter) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback
-
Called after rendering the whole hud, which is displayed in game, in a world.
- onInitializeDataGenerator(FabricDataGenerator) - Method in interface net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint
-
Register
DataProvider
with theFabricDataGenerator
during this entrypoint. - onInitializeModelLoader(ModelLoadingPlugin.Context) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin
-
Called towards the beginning of the model loading process, every time resource are (re)loaded.
- onInitializeModelLoader(T, ModelLoadingPlugin.Context) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.PreparableModelLoadingPlugin
-
Called towards the beginning of the model loading process, every time resource are (re)loaded.
- onInvalidate() - Method in interface net.fabricmc.fabric.api.client.render.InvalidateRenderStateCallback
-
Deprecated.
- onInvalidate() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.InvalidateRenderStateCallback
- onLast(WorldRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents.Last
- onLoad(BlockEntity, ClientWorld) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientBlockEntityEvents.Load
- onLoad(BlockEntity, ServerWorld) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerBlockEntityEvents.Load
- onLoad(Entity, ClientWorld) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientEntityEvents.Load
- onLoad(Entity, ServerWorld) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents.Load
- onLoginDisconnect(ClientLoginNetworkHandler, MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientLoginConnectionEvents.Disconnect
- onLoginDisconnect(ServerLoginNetworkHandler, MinecraftServer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerLoginConnectionEvents.Disconnect
- onLoginInit(ServerLoginNetworkHandler, MinecraftServer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerLoginConnectionEvents.Init
- onLoginQueryStart(ClientLoginNetworkHandler, MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientLoginConnectionEvents.QueryStart
- onLoginStart(ClientLoginNetworkHandler, MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientLoginConnectionEvents.Init
- onLoginStart(ServerLoginNetworkHandler, MinecraftServer, LoginPacketSender, ServerLoginNetworking.LoginSynchronizer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerLoginConnectionEvents.QueryStart
- onLootTablesLoaded(ResourceManager, Registry<LootTable>) - Method in interface net.fabricmc.fabric.api.loot.v2.LootTableEvents.Loaded
-
Deprecated.Called when all loot tables have been loaded and
LootTableEvents.REPLACE
andLootTableEvents.MODIFY
have been invoked. - onLootTablesLoaded(ResourceManager, Registry<LootTable>) - Method in interface net.fabricmc.fabric.api.loot.v3.LootTableEvents.Loaded
-
Called when all loot tables have been loaded and
LootTableEvents.REPLACE
andLootTableEvents.MODIFY
have been invoked. - onPlayDisconnect(ClientPlayNetworkHandler, MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents.Disconnect
- onPlayDisconnect(ServerPlayNetworkHandler, MinecraftServer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents.Disconnect
- onPlayInit(ClientPlayNetworkHandler, MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents.Init
- onPlayInit(ServerPlayNetworkHandler, MinecraftServer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents.Init
- onPlayReady(ClientPlayNetworkHandler, PacketSender, MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents.Join
- onPlayReady(ServerPlayNetworkHandler, PacketSender, MinecraftServer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents.Join
- onReceiveChatMessage(Text, SignedMessage, GameProfile, MessageType.Parameters, 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(Text, SignedMessage, GameProfile, MessageType.Parameters, 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(Text, 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(Text, 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
. - onRegister(List<TradeOffers.Factory>, boolean) - Method in interface net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper.VillagerOffersAdder
- onRegistrySetup(DynamicRegistryView) - Method in interface net.fabricmc.fabric.api.event.registry.DynamicRegistrySetupCallback
- onRemap(RegistryIdRemapCallback.RemapState<T>) - Method in interface net.fabricmc.fabric.api.event.registry.RegistryIdRemapCallback
- onRemove(Screen) - Method in interface net.fabricmc.fabric.api.client.screen.v1.ScreenEvents.Remove
- 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(ServerConfigurationNetworkHandler, 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
- onStart(WorldRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents.Start
- onStartSleeping(LivingEntity, BlockPos) - Method in interface net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents.StartSleeping
-
Called when an entity starts to sleep.
- onStartTick(MinecraftClient) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.StartTick
- onStartTick(ClientWorld) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.StartWorldTick
- onStartTick(MinecraftServer) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.StartTick
- onStartTick(ServerWorld) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents.StartWorldTick
- onStartTracking(Entity, ServerPlayerEntity) - Method in interface net.fabricmc.fabric.api.networking.v1.EntityTrackingEvents.StartTracking
-
Called before an entity starts getting tracked by a player.
- 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, ServerPlayerEntity) - Method in interface net.fabricmc.fabric.api.networking.v1.EntityTrackingEvents.StopTracking
-
Called after an entity stops getting tracked by a player.
- onSyncDataPackContents(ServerPlayerEntity, 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(DynamicRegistryManager, boolean) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.CommonLifecycleEvents.TagsLoaded
- onUnload(BlockEntity, ClientWorld) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientBlockEntityEvents.Unload
- onUnload(BlockEntity, ServerWorld) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerBlockEntityEvents.Unload
- onUnload(Entity, ClientWorld) - Method in interface net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientEntityEvents.Unload
- onUnload(Entity, ServerWorld) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents.Unload
- onWorldLoad(MinecraftServer, ServerWorld) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerWorldEvents.Load
- onWorldUnload(MinecraftServer, ServerWorld) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerWorldEvents.Unload
- 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.
- openEditSignScreen(SignBlockEntity, boolean) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
- openHandledScreen(NamedScreenHandlerFactory) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
- openHorseInventory(AbstractHorseEntity, Inventory) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
- Opening screen handlers - Search tag in package net.fabricmc.fabric.api.screenhandler.v1
- Section
- 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 ifmaybeParent
is null. - openOuter() - Static method in interface net.fabricmc.fabric.api.transfer.v1.transaction.Transaction
-
Open a new outer transaction.
- 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.v1.ConventionalItemTags
-
Deprecated.
- ORANGE_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- orElse(boolean) - Method in enum class net.fabricmc.fabric.api.util.TriState
-
Gets the value of this tri-state.
- orElseGet(BooleanSupplier) - Method in enum class net.fabricmc.fabric.api.util.TriState
-
Gets the value of this tri-state.
- orElseThrow(Supplier<X>) - 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
. - ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBlockTags
-
Deprecated.
- ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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
- 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.SimpleFabricLootTableProvider
- outputTo(QuadEmitter) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.Mesh
-
Outputs all quads in this mesh to the given quad emitter.
- 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
- OVERRIDE_PHASE - Static variable in class net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier
-
Recommended phase to use when overriding models, e.g.
- Overwriting screen handlers - Search tag in package net.fabricmc.fabric.api.screenhandler.v1
- Section
- OxidizableBlocksRegistry - Class in net.fabricmc.fabric.api.registry
-
Provides methods for registering oxidizable and waxable blocks.
P
- 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
- PacketByteBufs - Class in net.fabricmc.fabric.api.networking.v1
-
Helper methods for working with and creating
PacketByteBuf
s. - Packet object-based API - Search tag in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
- Section
- PacketSender - Interface in net.fabricmc.fabric.api.networking.v1
-
Represents something that supports sending packets to channels.
- ParticleFactoryRegistry - Interface in net.fabricmc.fabric.api.client.particle.v1
-
Registry for adding particle factories on the client for particle types created using FabricParticleTypes (or otherwise).
- ParticleFactoryRegistry.PendingParticleFactory<T> - Interface in net.fabricmc.fabric.api.client.particle.v1
-
A pending particle factory.
- ParticleRenderEvents - Class in net.fabricmc.fabric.api.client.particle.v1
-
Events related to particle rendering.
- ParticleRenderEvents.AllowBlockDustTint - Interface in net.fabricmc.fabric.api.client.particle.v1
- parts - Variable in class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage
- 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<A>) - 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. - pick(PlayerEntity, HitResult) - Method in interface net.fabricmc.fabric.api.event.client.player.ClientPickBlockGatherCallback
- pick(PlayerEntity, HitResult, ClientPickBlockCallback.Container) - Method in interface net.fabricmc.fabric.api.event.client.player.ClientPickBlockCallback
-
Deprecated.
- pick(PlayerEntity, HitResult, ItemStack) - Method in interface net.fabricmc.fabric.api.event.client.player.ClientPickBlockApplyCallback
- PICKAXES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with
ItemTags.PICKAXES
. - 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.v1.ConventionalItemTags
-
Deprecated.
- PINK_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- pistonBehavior(PistonBehavior) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- placedFeatures() - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
-
Returns a lookup for placed features.
- PLAINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.For temperate or warmer plains-like biomes.
- playC2S() - Static method in interface net.fabricmc.fabric.api.networking.v1.PayloadTypeRegistry
- 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_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 aPlayerInventory
. - PlayerLookup - Class in net.fabricmc.fabric.api.networking.v1
-
Helper methods to lookup players in a server.
- playS2C() - Static method in interface net.fabricmc.fabric.api.networking.v1.PayloadTypeRegistry
- PointOfInterestHelper - Class in net.fabricmc.fabric.api.object.builder.v1.world.poi
-
This class provides utilities to create a
PointOfInterestType
. - pool(LootPool) - Method in interface net.fabricmc.fabric.api.loot.v2.FabricLootTableBuilder
-
Deprecated.use
FabricLootTableBuilder.pool(LootPool)
instead. - pool(LootPool) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootTableBuilder
-
Adds a loot pool to this builder.
- pool(Identifier, int, Collection<? extends TradeOffers.Factory>) - Method in interface net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper.WanderingTraderOffersBuilder
-
Adds a new pool to the offer list.
- pool(Identifier, int, TradeOffers.Factory...) - Method in interface net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper.WanderingTraderOffersBuilder
-
Adds a new pool to the offer list.
- pools(Collection<? extends LootPool>) - Method in interface net.fabricmc.fabric.api.loot.v2.FabricLootTableBuilder
-
Deprecated.use
FabricLootTableBuilder.pools(Collection)
instead. - pools(Collection<? extends LootPool>) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootTableBuilder
-
Adds loot pools to this builder.
- popTransform() - Method in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
Removes the transformation added by the last call to
RenderContext.pushTransform(QuadTransform)
. - pos(int, float, float, float) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Sets the geometric vertex position for the given vertex, relative to block origin, (0,0,0).
- pos(int, float, float, float) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- pos(int, Vector3f) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Same as
MutableQuadView.pos(int, float, float, float)
but accepts vector type. - pos(int, Vector3f) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- pos(int, Vector3fc) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Same as
MutableQuadView.pos(int, float, float, float)
but accepts vector type. - pos(int, Vector3fc) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- posByIndex(int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Convenience: access x, y, z by index 0-2.
- positionMatrix() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
- 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.
- postProcess(AbstractBlock.ContextPredicate) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- POTATO_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- POTIONS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- POTIONS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- POWDER_SNOW_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- PreparableModelLoadingPlugin<T> - Interface in net.fabricmc.fabric.api.client.model.loading.v1
-
A model loading plugin is used to extend the model loading process through the passed
ModelLoadingPlugin.Context
object. - PreparableModelLoadingPlugin.DataLoader<T> - Interface in net.fabricmc.fabric.api.client.model.loading.v1
- prepend(ItemConvertible) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- prepend(ItemConvertible, ItemGroup.StackVisibility) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- prepend(ItemStack) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- prepend(ItemStack, ItemGroup.StackVisibility) - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
-
Adds a stack to the beginning of the item group.
- pressurePlateActivationRule(BlockSetType.ActivationRule) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
-
Sets this block set type's pressure plate
BlockSetType.ActivationRule
. - 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.
- PRISMARINE_GEMS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- profiler() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
-
Convenient access to game performance profiler.
- Programmer Art and High Contrast Support - Search tag in package net.fabricmc.fabric.api.resource
- Section
- projectionMatrix() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
- PUMPKIN_CROPS - 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.v1.ConventionalItemTags
-
Deprecated.
- PURPLE_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- pushTransform(RenderContext.QuadTransform) - Method in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
-
Causes all models/quads/meshes sent to this consumer to be transformed by the provided
RenderContext.QuadTransform
that edits each quad before buffering. - putBlock(Block, RenderLayer) - Method in interface net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap
-
Map (or re-map) a block state with a render layer.
- putBlocks(RenderLayer, Block...) - Method in interface net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap
-
Map (or re-map) multiple block states with a render layer.
- putFluid(Fluid, RenderLayer) - Method in interface net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap
-
Map (or re-map) a fluid state with a render layer.
- putFluids(RenderLayer, Fluid...) - Method in interface net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap
-
Map (or re-map) multiple fluid states with a render layer.
- 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. - putItem(Item, RenderLayer) - Method in interface net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap
-
Deprecated, for removal: This API element is subject to removal in a future version.For blocks, calling
BlockRenderLayerMap.putBlock(Block, RenderLayer)
is enough. Other items always use a translucent render layer. - putItems(RenderLayer, Item...) - Method in interface net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap
-
Deprecated, for removal: This API element is subject to removal in a future version.For blocks, calling
BlockRenderLayerMap.putBlocks(RenderLayer, Block...)
is enough. Other items always use a translucent render layer.
Q
- QuadEmitter - Interface in net.fabricmc.fabric.api.renderer.v1.mesh
-
Specialized
MutableQuadView
obtained viaMeshBuilder.getEmitter()
to append quads during mesh building. - QuadView - Interface in net.fabricmc.fabric.api.renderer.v1.mesh
-
Interface for reading quad data encoded by
MeshBuilder
. - QUARTZ - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalBlockTags
-
Deprecated.
- QUARTZ_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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 network handler.
- Quick note about vocabulary in Minecraft: - Search tag in package net.fabricmc.fabric.api.resource
- Section
R
- 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.
- RANGED_WEAPONS_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- RAW_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- RAW_COPPER_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- RAW_COPPER_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- RAW_FISH_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- RAW_FISHES_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- RAW_GOLD_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- RAW_GOLD_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- RAW_IRON_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- RAW_IRON_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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
- RAW_MEATS_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- RAW_ORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- readBytes(ByteBuf, int) - Static method in class net.fabricmc.fabric.api.networking.v1.PacketByteBufs
-
Wraps the newly created buf from
buf.readBytes
in a packet byte buf. - readNbt(SingleVariantStorage<T>, Codec<T>, Supplier<T>, NbtCompound, RegistryWrapper.WrapperLookup) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
-
Read a
SingleVariantStorage
from NBT. - readNbt(NbtCompound, RegistryWrapper.WrapperLookup) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
-
Simple implementation of reading from NBT, to match what is written by
SingleFluidStorage.writeNbt(net.minecraft.nbt.NbtCompound, net.minecraft.registry.RegistryWrapper.WrapperLookup)
. - readNbt(NbtCompound, RegistryWrapper.WrapperLookup) - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleItemStorage
-
Simple implementation of reading from NBT, to match what is written by
SingleItemStorage.writeNbt(net.minecraft.nbt.NbtCompound, net.minecraft.registry.RegistryWrapper.WrapperLookup)
. - readOnlyOf(Storage<T>) - 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.PacketByteBufs
-
Wraps the newly created buf from
buf.readRetainedSlice
in a packet byte buf. - readSlice(ByteBuf, int) - Static method in class net.fabricmc.fabric.api.networking.v1.PacketByteBufs
-
Wraps the newly created buf from
buf.readSlice
in a packet byte buf. - readSnapshot(ResourceAmount<T>) - 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()
. - READY - Static variable in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationConnectionEvents
-
Deprecated.replaced by
ClientConfigurationConnectionEvents.COMPLETE
- receive(MinecraftClient, ClientLoginNetworkHandler, PacketByteBuf, Consumer<PacketCallbacks>) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientLoginNetworking.LoginQueryRequestHandler
-
Handles an incoming query request from a server.
- receive(MinecraftServer, ServerLoginNetworkHandler, boolean, PacketByteBuf, 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.
- RECIPES - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
- 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.v1.ConventionalItemTags
-
Deprecated.
- RED_DYES - 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.v1.ConventionalBlockTags
-
Deprecated.
- RED_SANDSTONE_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalBlockTags
-
Deprecated.
- RED_SANDSTONE_SLABS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalBlockTags
-
Deprecated.
- RED_SANDSTONE_STAIRS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalItemTags
-
Deprecated.
- REDSTONE_DUSTS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- ref(RegistryKey<T>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider.Entries
-
Gets a reference to a registry entry for use in other registrations.
- refreshOffers() - Static method in class net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper
-
Deprecated, for removal: This API element is subject to removal in a future version.This never did anything useful.
- register(boolean, Consumer<CommandDispatcher<ServerCommandSource>>) - Method in class net.fabricmc.fabric.api.registry.CommandRegistry
-
Deprecated.Register a command provider.
- register(CommandDispatcher<FabricClientCommandSource>, CommandRegistryAccess) - Method in interface net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback
-
Called when registering client commands.
- register(CommandDispatcher<ServerCommandSource>, boolean) - Method in interface net.fabricmc.fabric.api.command.v1.CommandRegistrationCallback
-
Deprecated.
- register(CommandDispatcher<ServerCommandSource>, CommandRegistryAccess, CommandManager.RegistrationEnvironment) - Method in interface net.fabricmc.fabric.api.command.v2.CommandRegistrationCallback
-
Called when the server is registering commands.
- register(String, CustomGameRuleCategory, GameRules.Type<T>) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleRegistry
-
Registers a
GameRules.Rule
with a custom category. - register(String, GameRules.Category, GameRules.Type<T>) - Static method in class net.fabricmc.fabric.api.gamerule.v1.GameRuleRegistry
-
Registers a
GameRules.Rule
. - register(FabricKeyBinding) - Method in interface net.fabricmc.fabric.api.client.keybinding.KeyBindingRegistry
-
Deprecated.Register a new key binding.
- register(ModelLoadingPlugin) - Static method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin
-
Registers a model loading plugin.
- register(PreparableModelLoadingPlugin.DataLoader<T>, PreparableModelLoadingPlugin<T>) - Static method in interface net.fabricmc.fabric.api.client.model.loading.v1.PreparableModelLoadingPlugin
-
Registers a preparable model loading plugin.
- register(ArmorRenderer, ItemConvertible...) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderer
-
Registers the armor renderer for the specified items.
- 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(Block, Predicate<ItemUsageContext>, Consumer<ItemUsageContext>) - Static method in class net.fabricmc.fabric.api.registry.TillableBlockRegistry
-
Registers a tilling interaction.
- register(Block, Predicate<ItemUsageContext>, BlockState) - Static method in class net.fabricmc.fabric.api.registry.TillableBlockRegistry
-
Registers a simple tilling interaction.
- register(Block, Predicate<ItemUsageContext>, BlockState, ItemConvertible) - Static method in class net.fabricmc.fabric.api.registry.TillableBlockRegistry
-
Registers a simple tilling interaction that also drops an item.
- register(Block, LandPathNodeTypesRegistry.StaticPathNodeTypeProvider) - Static method in class net.fabricmc.fabric.api.registry.LandPathNodeTypesRegistry
-
Registers a
LandPathNodeTypesRegistry.StaticPathNodeTypeProvider
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, BlockState) - Static method in class net.fabricmc.fabric.api.registry.FlattenableBlockRegistry
-
Registers a flattening interaction.
- register(Block, PathNodeType, PathNodeType) - Static method in class net.fabricmc.fabric.api.registry.LandPathNodeTypesRegistry
-
Registers a
PathNodeType
for the specified block, overriding the default block behavior. - register(BlockEntityType<E>, BlockEntityRendererFactory<? super E>) - Method in interface net.fabricmc.fabric.api.client.rendereregistry.v1.BlockEntityRendererRegistry
-
Deprecated.Register a BlockEntityRenderer for a BlockEntityType.
- register(BlockEntityType<E>, BlockEntityRendererFactory<? super E>) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.BlockEntityRendererRegistry
-
Deprecated.Register a BlockEntityRenderer for a BlockEntityType.
- register(FeatureRenderer<T, ? extends EntityModel<T>>) - Method in interface net.fabricmc.fabric.api.client.rendereregistry.v1.LivingEntityFeatureRendererRegistrationCallback.RegistrationHelper
-
Deprecated.Adds a feature renderer to the entity renderer.
- register(FeatureRenderer<T, ? extends EntityModel<T>>) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.LivingEntityFeatureRendererRegistrationCallback.RegistrationHelper
-
Adds a feature renderer to the entity renderer.
- register(EntityType<? extends E>, EntityRendererFactory<E>) - Method in interface net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry
-
Deprecated.Register a BlockEntityRenderer for a BlockEntityType.
- register(EntityType<? extends E>, EntityRendererFactory<E>) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.EntityRendererRegistry
-
Register a BlockEntityRenderer for a BlockEntityType.
- register(EntityType<? extends LivingEntity>, DefaultAttributeContainer) - 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<? extends LivingEntity>, DefaultAttributeContainer.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<T>, MinecartComparatorLogic<? super T>) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.MinecartComparatorLogicRegistry
-
Registers a comparator logic for a minecart entity type.
- 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(ItemConvertible, BuiltinItemRenderer) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.BuiltinItemRendererRegistry
-
Deprecated.Please use
BuiltinItemRendererRegistry.register(ItemConvertible, DynamicItemRenderer)
instead. - register(ItemConvertible, BuiltinItemRendererRegistry.DynamicItemRenderer) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.BuiltinItemRendererRegistry
-
Registers the renderer for the item.
- register(Item, BuiltinItemRenderer) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.BuiltinItemRendererRegistry
-
Deprecated.Please use
BuiltinItemRendererRegistry.register(ItemConvertible, DynamicItemRenderer)
instead. - register(Item, Identifier, ClampedModelPredicateProvider) - Static method in class net.fabricmc.fabric.api.object.builder.v1.client.model.FabricModelPredicateProviderRegistry
-
Deprecated.Registers a model predicate provider to a specific item.
- register(CustomPayload.Id<T>, PacketCodec<? super B, T>) - Method in interface net.fabricmc.fabric.api.networking.v1.PayloadTypeRegistry
-
Registers a custom payload type.
- register(ParticleType<T>, ParticleFactoryRegistry.PendingParticleFactory<T>) - Method in interface net.fabricmc.fabric.api.client.particle.v1.ParticleFactoryRegistry
-
Registers a delayed factory for constructing particles of the given type.
- register(ParticleType<T>, ParticleFactory<T>) - Method in interface net.fabricmc.fabric.api.client.particle.v1.ParticleFactoryRegistry
-
Registers a factory for constructing particles of the given type.
- register(RegistryKey<? extends Registry<T>>, Codec<T>) - Static method in class net.fabricmc.fabric.api.event.registry.DynamicRegistries
-
Registers a non-synced dynamic registry.
- register(RegistryKey<GameEvent>, int) - Static method in class net.fabricmc.fabric.api.registry.SculkSensorFrequencyRegistry
-
Registers a sculk sensor frequency for the given game event.
- 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) - Static method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerTypeHelper
-
Deprecated.Creates and registers a new villager type.
- register(Identifier, int, int, Iterable<BlockState>) - Static method in class net.fabricmc.fabric.api.object.builder.v1.world.poi.PointOfInterestHelper
-
Creates and registers a
PointOfInterestType
. - register(Identifier, int, int, Block...) - Static method in class net.fabricmc.fabric.api.object.builder.v1.world.poi.PointOfInterestHelper
-
Creates and registers a
PointOfInterestType
. - 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, ClampedModelPredicateProvider) - Static method in class net.fabricmc.fabric.api.object.builder.v1.client.model.FabricModelPredicateProviderRegistry
-
Deprecated.Registers a model predicate provider that is applicable for any item.
- register(Identifier, VertexFormat, Consumer<ShaderProgram>) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.CoreShaderRegistrationCallback.RegistrationContext
-
Creates and registers a core shader program.
- register(Identifier, AtlasSourceType) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.AtlasSourceTypeRegistry
-
Registers a new
AtlasSourceType
. - register(Identifier, Text, EntitySelectorOptions.SelectorHandler, Predicate<EntitySelectorReader>) - Static method in class net.fabricmc.fabric.api.command.v2.EntitySelectorOptionRegistry
-
Registers an entity selector option.
- register(Identifier, T) - Method in class net.fabricmc.fabric.api.event.Event
-
Register a listener to the event for the specified phase.
- register(ColorResolver) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ColorResolverRegistry
-
Registers a custom
ColorResolver
for use inBlockRenderView.getColor(net.minecraft.util.math.BlockPos, net.minecraft.world.biome.ColorResolver)
. - register(Provider, T...) - Method in interface net.fabricmc.fabric.api.client.render.ColorProviderRegistry
-
Deprecated.Register a color provider for one or more objects.
- register(Provider, T...) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.ColorProviderRegistry
-
Register a color provider for one or more objects.
- 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.C2SConfigurationChannelEvents
-
An event for the client configuration network handler 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.C2SPlayChannelEvents
-
An event for the client play network handler 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.S2CConfigurationChannelEvents
-
An event for the server configuration network handler 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.S2CPlayChannelEvents
-
An event for the server play network handler receiving an update indicating the connected client's ability to receive packets in certain channels.
- registerArgumentType(Identifier, Class<? extends A>, ArgumentSerializer<A, T>) - Static method in class net.fabricmc.fabric.api.command.v2.ArgumentTypeRegistry
-
Register a new argument type.
- registerBlockStateResolver(Block, BlockStateResolver) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin.Context
-
Registers a block state resolver for a block.
- registerBuiltinResourcePack(Identifier, String, ModContainer, boolean) - Static method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
-
Deprecated.Please use
ResourceManagerHelper.registerBuiltinResourcePack(Identifier, ModContainer, ResourcePackActivationType)
instead, thesub 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
-
Registers a built-in resource pack.
- registerBuiltinResourcePack(Identifier, ModContainer, Text, ResourcePackActivationType) - Static method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
-
Registers a built-in resource pack.
- registerCauldron(Block, Fluid, long, IntProperty) - 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.
- registerCloudRenderer(RegistryKey<World>, DimensionRenderingRegistry.CloudRenderer) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.DimensionRenderingRegistry
-
Registers a custom cloud renderer for a
World
. - registerCollectable(ItemConvertible) - Static method in class net.fabricmc.fabric.api.registry.VillagerInteractionRegistries
-
Registers an item to be collectable (picked up from item entity) by any profession villagers.
- registerCompostable(ItemConvertible) - Static method in class net.fabricmc.fabric.api.registry.VillagerInteractionRegistries
-
Registers an item to be used in a composter by farmer villagers.
- registerDimensionEffects(Identifier, DimensionEffects) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.DimensionRenderingRegistry
-
Registers dimension effects for an
Identifier
. - registerDynamic(Block, LandPathNodeTypesRegistry.DynamicPathNodeTypeProvider) - Static method in class net.fabricmc.fabric.api.registry.LandPathNodeTypesRegistry
-
Registers a
LandPathNodeTypesRegistry.DynamicPathNodeTypeProvider
for the specified block, overriding the default block behavior. - registerEntryAdded(RegistryKey<? extends Registry<? extends T>>, RegistryEntryAddedCallback<T>) - Method in interface net.fabricmc.fabric.api.event.registry.DynamicRegistryView
-
A shortcut to register
RegistryEntryAddedCallback
. - registerFallback(BlockApiLookup.BlockApiProvider<A, C>) - 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<A, C>) - 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<A, C>) - 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(ItemConvertible, int) - Static method in class net.fabricmc.fabric.api.registry.VillagerInteractionRegistries
-
Registers an item to be edible by villagers.
- registerForBlockEntities(BlockApiLookup.BlockEntityApiProvider<A, C>, 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<? super T, C, A>, BlockEntityType<T>) - 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<A, C>, Block...) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
-
Expose the API for the passed blocks.
- registerForItems(ItemApiLookup.ItemApiProvider<A, C>, ItemConvertible...) - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
-
Expose the API for the passed items.
- registerForType(BiFunction<T, C, A>, EntityType<T>) - Method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
-
Expose the API for instances of the entity type.
- registerForTypes(EntityApiLookup.EntityApiProvider<A, C>, EntityType<?>...) - Method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
-
Expose the API for instances of the entity types.
- registerGiftLootTable(VillagerProfession, RegistryKey<LootTable>) - Static method in class net.fabricmc.fabric.api.registry.VillagerInteractionRegistries
-
Registers a hero of the village gifts loot table to a profession.
- registerGiftLootTable(VillagerProfession, Identifier) - Static method in class net.fabricmc.fabric.api.registry.VillagerInteractionRegistries
-
Deprecated.
- registerGlobalReceiver(CustomPayload.Id<T>, ClientConfigurationNetworking.ConfigurationPayloadHandler<T>) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
-
Registers a handler for a packet type.
- registerGlobalReceiver(CustomPayload.Id<T>, ClientPlayNetworking.PlayPayloadHandler<T>) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
-
Registers a handler for a payload type.
- registerGlobalReceiver(CustomPayload.Id<T>, ServerConfigurationNetworking.ConfigurationPacketHandler<T>) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
-
Registers a handler for a payload type.
- registerGlobalReceiver(CustomPayload.Id<T>, ServerPlayNetworking.PlayPayloadHandler<T>) - 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.
- registerItemRecipe(Item, Ingredient, Item) - Method in interface net.fabricmc.fabric.api.registry.FabricBrewingRecipeRegistryBuilder
- registerKeyBinding(KeyBinding) - Static method in class net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper
-
Registers the keybinding and add the keybinding category if required.
- registerMaterial(Identifier, RenderMaterial) - Method in interface net.fabricmc.fabric.api.renderer.v1.Renderer
-
Register a material for re-use by other mods or models within a mod.
- registerModelLayer(EntityModelLayer, EntityModelLayerRegistry.TexturedModelDataProvider) - Static method in class net.fabricmc.fabric.api.client.rendereregistry.v1.EntityModelLayerRegistry
-
Deprecated.Registers an entity model layer and registers a provider for a TexturedModelData.
- registerModelLayer(EntityModelLayer, EntityModelLayerRegistry.TexturedModelDataProvider) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.EntityModelLayerRegistry
-
Registers an entity model layer and registers a provider for a TexturedModelData.
- registerNonRepeatable(Identifier, Text, EntitySelectorOptions.SelectorHandler) - Static method in class net.fabricmc.fabric.api.command.v2.EntitySelectorOptionRegistry
-
Registers an entity selector option.
- registerOxidizableBlockPair(Block, Block) - Static method in class net.fabricmc.fabric.api.registry.OxidizableBlocksRegistry
-
Registers a block pair as being able to increase and decrease oxidation.
- registerPotionRecipe(RegistryEntry<Potion>, Ingredient, RegistryEntry<Potion>) - Method in interface net.fabricmc.fabric.api.registry.FabricBrewingRecipeRegistryBuilder
- registerRebalancedWanderingTraderOffers(Consumer<TradeOfferHelper.WanderingTraderOffersBuilder>) - Static method in class net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper
-
Registers trade offer factories for use by wandering trades.
- registerReceiver(CustomPayload.Id<T>, ClientConfigurationNetworking.ConfigurationPayloadHandler<T>) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
-
Registers a handler for a packet type.
- registerReceiver(CustomPayload.Id<T>, ClientPlayNetworking.PlayPayloadHandler<T>) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
-
Registers a handler for a payload type.
- registerReceiver(ServerConfigurationNetworkHandler, CustomPayload.Id<T>, ServerConfigurationNetworking.ConfigurationPacketHandler<T>) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
-
Registers a handler for a payload type.
- registerReceiver(ServerLoginNetworkHandler, Identifier, ServerLoginNetworking.LoginQueryResponseHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking
-
Registers a handler to a query response channel.
- registerReceiver(ServerPlayNetworkHandler, CustomPayload.Id<T>, ServerPlayNetworking.PlayPayloadHandler<T>) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
-
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.
- registerRecipes(Ingredient, RegistryEntry<Potion>) - Method in interface net.fabricmc.fabric.api.registry.FabricBrewingRecipeRegistryBuilder
- registerReloadListener(IdentifiableResourceReloadListener) - Method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
-
Register a resource reload listener for a given resource manager type.
- registerReloadListener(Identifier, Function<RegistryWrapper.WrapperLookup, IdentifiableResourceReloadListener>) - Method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
-
Register a resource reload listener for a given resource manager type.
- registerRenderer(Renderer) - Method in interface net.fabricmc.fabric.api.renderer.v1.RendererAccess
-
Rendering extension mods must implement
Renderer
and call this method during initialization. - registerRenderers(EntityType<? extends LivingEntity>, LivingEntityRenderer<?, ?>, LivingEntityFeatureRendererRegistrationCallback.RegistrationHelper, EntityRendererFactory.Context) - Method in interface net.fabricmc.fabric.api.client.rendereregistry.v1.LivingEntityFeatureRendererRegistrationCallback
-
Deprecated.Called when feature renderers may be registered.
- registerRenderers(EntityType<? extends LivingEntity>, LivingEntityRenderer<?, ?>, LivingEntityFeatureRendererRegistrationCallback.RegistrationHelper, EntityRendererFactory.Context) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.LivingEntityFeatureRendererRegistrationCallback
-
Called when feature renderers may be registered.
- 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(EntityType<?>...) - Method in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
-
Expose the API for the passed entities that directly implements it.
- registerSelf(ItemConvertible...) - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
-
Expose the API for the passed items directly implementing it.
- registerShaders(CoreShaderRegistrationCallback.RegistrationContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.CoreShaderRegistrationCallback
-
Registers core shaders using the registration context.
- registerSkyRenderer(RegistryKey<World>, DimensionRenderingRegistry.SkyRenderer) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.DimensionRenderingRegistry
-
Registers the custom sky renderer for a
World
. - registerSynced(RegistryKey<? extends Registry<T>>, Codec<T>, Codec<T>, DynamicRegistries.SyncOption...) - Static method in class net.fabricmc.fabric.api.event.registry.DynamicRegistries
-
Registers a synced dynamic registry.
- registerSynced(RegistryKey<? extends Registry<T>>, Codec<T>, DynamicRegistries.SyncOption...) - Static method in class net.fabricmc.fabric.api.event.registry.DynamicRegistries
-
Registers a synced dynamic registry.
- registerVillagerOffers(VillagerProfession, int, Consumer<List<TradeOffers.Factory>>) - Static method in class net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper
-
Registers trade offer factories for use by villagers.
- registerVillagerOffers(VillagerProfession, int, TradeOfferHelper.VillagerOffersAdder) - Static method in class net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper
-
Registers trade offer factories for use by villagers.
- registerWanderingTraderOffers(int, Consumer<List<TradeOffers.Factory>>) - Static method in class net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper
-
Registers trade offer factories for use by wandering trades.
- registerWaxableBlockPair(Block, Block) - Static method in class net.fabricmc.fabric.api.registry.OxidizableBlocksRegistry
-
Registers a block pair as being able to add and remove wax.
- registerWeatherRenderer(RegistryKey<World>, DimensionRenderingRegistry.WeatherRenderer) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.DimensionRenderingRegistry
-
Registers a custom weather renderer for a
World
. - RegistryAttribute - Enum Class in net.fabricmc.fabric.api.event.registry
- RegistryAttributeHolder - Interface in net.fabricmc.fabric.api.event.registry
- registryContains(RegistryKey<? extends Registry<T>>, Identifier...) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
- registryContains(RegistryKey<T>...) - 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
- 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
- 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(ResourceReloader.Synchronizer, ResourceManager, Profiler, Profiler, Executor, Executor) - Method in interface net.fabricmc.fabric.api.resource.SimpleResourceReloadListener
- reloadTextures(SpriteAtlasTexture) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler
-
Look up your Fluid's sprites from the texture atlas.
- reloadTextures(SpriteAtlasTexture) - 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(Block) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
- 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(ItemConvertible) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
- remove(TagKey<Block>) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
- remove(TagKey<Item>) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
- removeAttached(AttachmentType<A>) - Method in interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
-
Removes any data associated with the given
AttachmentType
. - removeCarver(RegistryKey<ConfiguredCarver<?>>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
-
Removes all carvers with the given key from all of this biomes generation steps.
- removeCarver(GenerationStep.Carver, RegistryKey<ConfiguredCarver<?>>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
-
Removes all carvers with the given key from one of this biomes generation steps.
- removeFeature(RegistryKey<PlacedFeature>) - 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.Feature, RegistryKey<PlacedFeature>) - 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<SpawnGroup, SpawnSettings.SpawnEntry>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.SpawnSettingsContext
-
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.SpawnSettingsContext
-
Removes all spawns of the given entity type.
- render(FluidRenderHandler, BlockRenderView, BlockPos, VertexConsumer, BlockState, FluidState) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRendering.DefaultRenderer
-
Render the default geometry when it is requested by
FluidRenderHandler.renderFluid(net.minecraft.util.math.BlockPos, net.minecraft.world.BlockRenderView, net.minecraft.client.render.VertexConsumer, net.minecraft.block.BlockState, net.minecraft.fluid.FluidState)
. - render(FluidRenderHandler, BlockRenderView, 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(WorldRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.DimensionRenderingRegistry.CloudRenderer
- render(WorldRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.DimensionRenderingRegistry.SkyRenderer
- render(WorldRenderContext) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.DimensionRenderingRegistry.WeatherRenderer
- render(MatrixStack, VertexConsumerProvider, ItemStack, LivingEntity, EquipmentSlot, int, BipedEntityModel<LivingEntity>) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderer
-
Renders an armor part.
- render(ItemStack, ModelTransformationMode, MatrixStack, VertexConsumerProvider, int, int) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.BuiltinItemRendererRegistry.DynamicItemRenderer
-
Renders an item stack.
- render(ItemStack, MatrixStack, VertexConsumerProvider, int, int) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.BuiltinItemRenderer
-
Deprecated.Renders an item stack.
- RenderAttachedBlockView - Interface in net.fabricmc.fabric.api.rendering.data.v1
-
Deprecated.Use
FabricBlockView
instead. - RenderAttachmentBlockEntity - Interface in net.fabricmc.fabric.api.rendering.data.v1
-
Deprecated.Use
RenderDataBlockEntity
instead. - RenderContext - Interface in net.fabricmc.fabric.api.renderer.v1.render
-
This defines the instance made available to models for buffering vertex data at render time.
- RenderContext.BakedModelConsumer - Interface in net.fabricmc.fabric.api.renderer.v1.render
-
Deprecated, for removal: This API element is subject to removal in a future version.
- RenderContext.QuadTransform - Interface in net.fabricmc.fabric.api.renderer.v1.render
- RenderDataBlockEntity - Interface in net.fabricmc.fabric.api.blockview.v2
-
Extensions that allow
BlockEntity
subclasses to provide render data. - Renderer - Interface in net.fabricmc.fabric.api.renderer.v1
-
Interface for rendering plug-ins that provide enhanced capabilities for model lighting, buffering and rendering.
- RendererAccess - Interface in net.fabricmc.fabric.api.renderer.v1
-
Registration and access for rendering extensions.
- renderFluid(BlockPos, BlockRenderView, VertexConsumer, BlockState, FluidState) - Method in interface net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler
-
Tessellate your fluid.
- RenderMaterial - Interface in net.fabricmc.fabric.api.renderer.v1.material
-
All model quads have an associated render material governing how the quad will be rendered.
- renderPart(MatrixStack, VertexConsumerProvider, int, ItemStack, Model, Identifier) - Static method in interface net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderer
-
Helper method for rendering a specific armor model, comes after setting visibility.
- REPLACE - Static variable in class net.fabricmc.fabric.api.loot.v2.LootTableEvents
-
Deprecated.Please use
LootTableEvents.REPLACE
instead. - REPLACE - Static variable in class net.fabricmc.fabric.api.loot.v3.LootTableEvents
-
This event can be used to replace loot tables.
- replaceable() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- REPLACED - Enum constant in enum class net.fabricmc.fabric.api.loot.v2.LootTableSource
-
Deprecated.A loot table created in
LootTableEvents.REPLACE
. - REPLACED - Enum constant in enum class net.fabricmc.fabric.api.loot.v3.LootTableSource
-
A loot table created in
LootTableEvents.REPLACE
. - replaceLootTable(RegistryKey<LootTable>, LootTable, LootTableSource) - Method in interface net.fabricmc.fabric.api.loot.v2.LootTableEvents.Replace
-
Deprecated.Replaces loot tables.
- replaceLootTable(RegistryKey<LootTable>, LootTable, LootTableSource, RegistryWrapper.WrapperLookup) - Method in interface net.fabricmc.fabric.api.loot.v3.LootTableEvents.Replace
-
Replaces loot tables.
- 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.
- requires(FeatureFlag...) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- requires(FeatureFlag...) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
-
Deprecated.
- 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.
- requiresTool() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- resetStat(Stat<?>) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
- resistance(float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- resolveBlockStates(BlockStateResolver.Context) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.BlockStateResolver
-
Resolves the models for all block states of the block.
- resolveModel() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelLoadingPlugin.Context
-
Event access to register model resolvers.
- resolveModel(ModelResolver.Context) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelResolver
- 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.
- resourceId() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.AfterBake.Context
-
Models with a resource ID are loaded directly from JSON or a
ModelModifier
. - resourceId() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.BeforeBake.Context
-
Models with a resource ID are loaded directly from JSON or a
ModelModifier
. - resourceId() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.OnLoad.Context
-
Models with a resource ID are loaded directly from JSON or a
ModelModifier
. - ResourceManagerHelper - Interface in net.fabricmc.fabric.api.resource
-
Helper for working with
ResourceManager
instances, and other resource loader generalities. - ResourcePackActivationType - Enum Class in net.fabricmc.fabric.api.resource
-
Represents the resource pack activation type.
- Resource Reload Listener - Search tag in package net.fabricmc.fabric.api.resource
- Section
- ResourceReloadListenerKeys - Class in net.fabricmc.fabric.api.resource
-
This class contains default keys for various Minecraft resource reload listeners.
- 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
- retainedDuplicate(ByteBuf) - Static method in class net.fabricmc.fabric.api.networking.v1.PacketByteBufs
-
Wraps the newly created buf from
buf.retainedDuplicate
in a packet byte buf. - retainedSlice(ByteBuf) - Static method in class net.fabricmc.fabric.api.networking.v1.PacketByteBufs
-
Wraps the newly created buf from
buf.retainedSlice
in a packet byte buf. - retainedSlice(ByteBuf, int, int) - Static method in class net.fabricmc.fabric.api.networking.v1.PacketByteBufs
-
Wraps the newly created buf from
buf.retainedSlice
in a packet byte buf. - reverseLookup(Block) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.BlockTagProvider
- reverseLookup(BlockEntityType<?>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.BlockEntityTypeTagProvider
- reverseLookup(EntityType<?>) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.EntityTypeTagProvider
- reverseLookup(Fluid) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FluidTagProvider
- reverseLookup(Item) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.ItemTagProvider
- reverseLookup(T) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider
-
Override to enable adding objects to the tag builder directly.
- RIVER - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- 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
- run(DataWriter) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricAdvancementProvider
- run(DataWriter) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootTableProvider
- run(DataWriter) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricCodecDataProvider
- run(DataWriter) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider
- run(DataWriter) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider
- run(DataWriter) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.SimpleFabricLootTableProvider
- run(DataWriter, RegistryWrapper.WrapperLookup) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider
- Running GameTest - Search tag in package net.fabricmc.fabric.api.gametest.v1
- Section
S
- S2CConfigurationChannelEvents - 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.
- S2CConfigurationChannelEvents.Register - Interface in net.fabricmc.fabric.api.networking.v1
- S2CConfigurationChannelEvents.Unregister - Interface in net.fabricmc.fabric.api.networking.v1
- S2CPlayChannelEvents - 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.
- S2CPlayChannelEvents.Register - Interface in net.fabricmc.fabric.api.networking.v1
- S2CPlayChannelEvents.Unregister - Interface in net.fabricmc.fabric.api.networking.v1
- SANDSTONE_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBlockTags
-
Deprecated.
- SANDSTONE_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalBlockTags
-
Deprecated.
- SANDSTONE_SLABS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalBlockTags
-
Deprecated.
- SANDSTONE_STAIRS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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
- SAVANNA - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- ScreenEvents - Class in net.fabricmc.fabric.api.client.screen.v1
-
Holds events related to
Screen
s. - 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.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.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.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.
- SculkSensorFrequencyRegistry - Class in net.fabricmc.fabric.api.registry
-
Provides a method for registering sculk sensor frequencies.
- secondaryJobSites(Iterable<Block>) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
-
Deprecated.A collection of blocks blocks which may suffice as a secondary job site for a Villager.
- secondaryJobSites(Block...) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
-
Deprecated.A collection of blocks blocks which may suffice as a secondary job site for a Villager.
- SELL_COMMON_ITEMS_POOL - Static variable in interface net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper.WanderingTraderOffersBuilder
-
The pool ID for the "sell common items" pool.
- SELL_SPECIAL_ITEMS_POOL - Static variable in interface net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper.WanderingTraderOffersBuilder
-
The pool ID for the "sell special items" pool.
- send(CustomPayload) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientConfigurationNetworking
-
Sends a packet to the connected server.
- send(CustomPayload) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
-
Sends a payload to the connected server.
- send(ServerConfigurationNetworkHandler, CustomPayload) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
-
Sends a packet to a configuring player.
- send(ServerPlayerEntity, CustomPayload) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
-
Sends a packet to a player.
- sendError(Text) - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
-
Sends an error message to the player.
- sendFeedback(Text) - Method in interface net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource
-
Sends a feedback message to the player.
- sendPacket(CustomPayload) - Method in interface net.fabricmc.fabric.api.networking.v1.PacketSender
-
Sends a packet.
- sendPacket(CustomPayload, PacketCallbacks) - 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<?>, PacketCallbacks) - Method in interface net.fabricmc.fabric.api.networking.v1.PacketSender
-
Sends a packet.
- sendPacket(Identifier, PacketByteBuf) - Method in interface net.fabricmc.fabric.api.networking.v1.LoginPacketSender
-
Sends a packet to a channel.
- sendPacket(Identifier, PacketByteBuf, PacketCallbacks) - Method in interface net.fabricmc.fabric.api.networking.v1.LoginPacketSender
-
Sends a packet to a channel.
- serialize() - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule
- serialize() - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
- 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_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
- ServerChunkEvents - Class 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
CustomPayload
. - 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
- ServerEntityWorldChangeEvents - Class in net.fabricmc.fabric.api.entity.event.v1
-
Events related to an entity being moved to another world.
- ServerEntityWorldChangeEvents.AfterEntityChange - Interface in net.fabricmc.fabric.api.entity.event.v1
- ServerEntityWorldChangeEvents.AfterPlayerChange - Interface in net.fabricmc.fabric.api.entity.event.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
MessageDecorator
. - 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
- 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 forinstanceof ServerPlayerEntity
. - ServerPlayerEvents.CopyFrom - 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
CustomPayload
. - ServerTickEvents - Class in net.fabricmc.fabric.api.event.lifecycle.v1
- ServerTickEvents.EndTick - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
- ServerTickEvents.EndWorldTick - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
- ServerTickEvents.StartTick - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
- ServerTickEvents.StartWorldTick - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
- ServerWorldEvents - Class in net.fabricmc.fabric.api.event.lifecycle.v1
- ServerWorldEvents.Load - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
- ServerWorldEvents.Unload - Interface in net.fabricmc.fabric.api.event.lifecycle.v1
- set(E, MinecraftServer) - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
- 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.
- setAdditionsSound(Optional<BiomeAdditionsSound>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setAdditionsSound(BiomeAdditionsSound) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setAmbientSound(Optional<RegistryEntry<SoundEvent>>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setAmbientSound(RegistryEntry<SoundEvent>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setAttached(AttachmentType<A>, 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.
- setClientOptions(SyncedClientOptions) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
- setCreatureSpawnProbability(float) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.SpawnSettingsContext
-
Associated JSON property:
creature_spawn_probability
. - setCustomFlag(Identifier, boolean) - Method in interface net.fabricmc.fabric.api.command.v2.FabricEntitySelectorReader
-
Sets a flag.
- setDownfall(float) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.WeatherContext
- setFogColor(int) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setFoliageColor(int) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setFoliageColor(Optional<Integer>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setFoliageColor(OptionalInt) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setFromArgument(CommandContext<ServerCommandSource>, String) - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule
- setFromArgument(CommandContext<ServerCommandSource>, String) - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
- setGrassColor(int) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setGrassColor(Optional<Integer>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setGrassColor(OptionalInt) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setGrassColorModifier(BiomeEffects.GrassColorModifier) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setModel(BlockState, UnbakedModel) - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.BlockStateResolver.Context
-
Sets the model for a block state.
- setMoodSound(Optional<BiomeMoodSound>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setMoodSound(BiomeMoodSound) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setMusic(Optional<MusicSound>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setMusic(MusicSound) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setParents(Function<Identifier, UnbakedModel>) - Method in class net.fabricmc.fabric.api.client.model.loading.v1.DelegatingUnbakedModel
- setParticleConfig(Optional<BiomeParticleConfig>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setParticleConfig(BiomeParticleConfig) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setPrecipitation(boolean) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.WeatherContext
- setReplace(boolean) - Method in class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.FabricTagBuilder
-
Set the value of the `replace` flag in a Tag.
- setSelectedItemGroup(ItemGroup) - Method in interface net.fabricmc.fabric.api.client.itemgroup.v1.FabricCreativeInventoryScreen
-
Sets the currently selected tab to the given
ItemGroup
. - setSkyColor(int) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
- setSpawnCost(EntityType<?>, double, double) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.SpawnSettingsContext
-
Associated JSON property:
spawn_costs
. - setStack(ItemStack) - Method in class net.fabricmc.fabric.api.event.client.player.ClientPickBlockCallback.Container
-
Deprecated.
- 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
- settings() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.AfterBake.Context
-
The settings this model is being baked with.
- settings() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.BeforeBake.Context
-
The settings this model is being baked with.
- setValue(DoubleRule, MinecraftServer) - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule
- setValue(EnumRule<E>, MinecraftServer) - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
- 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
- shadeMode() - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialView
- shadeMode(ShadeMode) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
A hint to the renderer about how the quad is intended to be shaded, for example through ambient occlusion and diffuse shading.
- ShadeMode - Enum Class in net.fabricmc.fabric.api.renderer.v1.material
-
A hint to the renderer about how the quad is intended to be shaded, for example through ambient occlusion and diffuse shading.
- SHALLOW_OCEAN - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- SHEAR_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- SHEARS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- SHEARS_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- SHIELD_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- SHIELDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- SHIELDS_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- SHORT - Static variable in class net.fabricmc.fabric.api.util.NbtType
-
Deprecated.
- shouldCloseCurrentScreen() - Method in interface net.fabricmc.fabric.api.screenhandler.v1.FabricScreenHandlerFactory
-
Returns whether the server should send
CloseScreenS2CPacket
when opening the screen. - shouldShowOpRestrictedItems() - Method in class net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries
- SHOVELS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with
ItemTags.SHOVELS
. - SHULKER_BOXES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBlockTags
-
Deprecated.
- SHULKER_BOXES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- SHULKER_BOXES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalBlockTags
-
Deprecated.
- 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 screen handlers - Search tag in package net.fabricmc.fabric.api.screenhandler.v1
- Section
- SimpleFabricLootTableProvider - Class in net.fabricmc.fabric.api.datagen.v1.provider
- SimpleFabricLootTableProvider(FabricDataOutput, CompletableFuture<RegistryWrapper.WrapperLookup>, LootContextType) - Constructor for class net.fabricmc.fabric.api.datagen.v1.provider.SimpleFabricLootTableProvider
- 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(Identifier, Identifier) - 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(Identifier, Identifier, 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(Identifier, Identifier, Identifier, 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(Identifier, Identifier, Identifier) - Constructor for class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
-
Creates a fluid render handler with an overlay texture and no tint.
- SimpleResourceReloadListener<T> - Interface in net.fabricmc.fabric.api.resource
-
A simplified version of the "resource reload listener" interface, hiding the peculiarities of the API.
- SimpleSynchronousResourceReloadListener - Interface in net.fabricmc.fabric.api.resource
-
A simplified version of the "resource reload listener" interface, hiding the peculiarities of the API and ensuring all data is loaded on the main thread.
- simulateExtract(Storage<T>, 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>, 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>, 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.
- sleep(BlockPos) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
- slice(ByteBuf) - Static method in class net.fabricmc.fabric.api.networking.v1.PacketByteBufs
-
Wraps the newly created buf from
buf.slice
in a packet byte buf. - slice(ByteBuf, int, int) - Static method in class net.fabricmc.fabric.api.networking.v1.PacketByteBufs
-
Wraps the newly created buf from
buf.slice
in a packet byte buf. - SLIME_BALLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- slipperiness(float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- SlottedStorage<T> - Interface in net.fabricmc.fabric.api.transfer.v1.storage
-
A
Storage
implementation made of indexed slots. - 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
- SNOWY - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.For biomes where snow, and not ice, naturally spawns as a predominant feature.
- SNOWY_PLAINS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.For snowy plains-like biomes.
- solid() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- SOLID - Enum constant in enum class net.fabricmc.fabric.api.renderer.v1.material.BlendMode
-
Fully opaque with depth test, no blending.
- solidBlock(AbstractBlock.ContextPredicate) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- soundGroup(BlockSoundGroup) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.BlockSetTypeBuilder
-
Sets this block set type's sound group.
- soundGroup(BlockSoundGroup) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.type.WoodTypeBuilder
-
Sets this wood type's sound group.
- sounds(BlockSoundGroup) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- SOUNDS - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
- 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.
- SOUPS_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- sourceModel() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.AfterBake.Context
-
The unbaked model that is being baked.
- 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.
- spawnGroup(SpawnGroup) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
-
Deprecated.
- spawnGroup(SpawnGroup) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
-
Deprecated.
- spawnGroup(SpawnGroup) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
-
Deprecated.
- spawnRestriction(SpawnLocation, Heightmap.Type, SpawnRestriction.SpawnPredicate<T>) - Method in interface net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityType.Builder.Mob
-
Registers a spawn restriction for this entity.
- spawnRestriction(SpawnLocation, Heightmap.Type, SpawnRestriction.SpawnPredicate<T>) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
- spawnsOneOf(Set<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.
- 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.
- SPEAR_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
For spear tools, like Minecraft's tridents.
- SPEARS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.For throwable weapons, like Minecraft tridents.
- SPEARS_TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- 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.
- sprite(int, int, float, float) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Deprecated.Use
MutableQuadView.uv(int, float, float)
instead. - sprite(int, int, float, float) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
-
Deprecated.
- sprite(int, int, Vec2f) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Deprecated.Use
MutableQuadView.uv(int, Vector2f)
instead. - sprite(int, int, Vec2f) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
-
Deprecated.
- spriteBake(int, Sprite, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Deprecated.Use
MutableQuadView.spriteBake(Sprite, int)
instead. - spriteBake(int, Sprite, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
-
Deprecated.
- spriteBake(Sprite, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Assigns sprite atlas u,v coordinates to this quad for the given sprite.
- spriteBake(Sprite, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- spriteColor(int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Deprecated.Use
QuadView.color(int)
instead. - spriteColor(int, int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Deprecated.Use
MutableQuadView.color(int, int)
instead. - spriteColor(int, int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
-
Deprecated.
- spriteColor(int, int, int, int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Deprecated.Use
MutableQuadView.color(int, int, int, int)
instead. - spriteColor(int, int, int, int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
-
Deprecated.
- spriteDepth() - Method in interface net.fabricmc.fabric.api.renderer.v1.material.RenderMaterial
-
Deprecated.
- spriteDepth(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
-
Deprecated.
- SpriteFinder - Interface in net.fabricmc.fabric.api.renderer.v1.model
-
Indexes a texture atlas to allow fast lookup of Sprites from baked vertex coordinates.
- sprites - Variable in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
- spriteU(int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Deprecated.Use
QuadView.u(int)
instead. - spriteUnitSquare(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
-
Deprecated.Use
QuadEmitter.uvUnitSquare()
instead. - spriteV(int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Deprecated.Use
QuadView.v(int)
instead. - square(Direction, float, float, float, float, float) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
-
Helper method to assign vertex coordinates for a square aligned with the given face.
- 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 - Static variable in class net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents
-
Called before world rendering executes.
- 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_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 before player starts tracking an entity.
- START_WORLD_TICK - Static variable in class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents
-
Called at the start of a ClientWorld's tick.
- START_WORLD_TICK - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents
-
Called at the start of a ServerWorld's tick.
- startDataPackReload(MinecraftServer, LifecycledResourceManager) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.StartDataPackReload
- startRiding(Entity, boolean) - Method in class net.fabricmc.fabric.api.entity.FakePlayer
- 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.
- STONY_SHORES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- 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 after a player has stopped 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_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
Storage
s. - StorageView<T> - Interface in net.fabricmc.fabric.api.transfer.v1.storage
-
A view of a single stored resource in a
Storage
, for use withStorage.iterator()
. - stream() - Method in interface net.fabricmc.fabric.api.event.registry.DynamicRegistryView
- strength(float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- strength(float, float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- 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.
- STYLING_PHASE - Static variable in class net.fabricmc.fabric.api.message.v1.ServerMessageDecoratorEvent
-
The styling phase of the event, passed when registering a message decorator.
- suffocates(AbstractBlock.ContextPredicate) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- SUGAR_CANE_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- supports(E) - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.EnumRule
- 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, net.fabricmc.fabric.api.transfer.v1.transaction.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, net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext)
will absolutely always return 0, or true otherwise or in doubt. - SWAMP - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- switchToNextPage() - Method in interface net.fabricmc.fabric.api.client.itemgroup.v1.FabricCreativeInventoryScreen
-
Switches to the next page if it exists.
- switchToPage(int) - Method in interface net.fabricmc.fabric.api.client.itemgroup.v1.FabricCreativeInventoryScreen
-
Switches to the page with the given index if it exists.
- switchToPreviousPage() - Method in interface net.fabricmc.fabric.api.client.itemgroup.v1.FabricCreativeInventoryScreen
-
Switches to the previous page if it exists.
- SWORDS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with
ItemTags.SWORDS
. - 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 - Search tag in class net.fabricmc.fabric.api.event.registry.DynamicRegistries
- Section
T
- tag() - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Retrieves the integer tag encoded with this quad via
MutableQuadView.tag(int)
. - tag(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Encodes an integer tag with this quad that can later be retrieved via
QuadView.tag()
. - tag(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- tag(TagKey<Biome>) - 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 - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
- TAGS_LOADED - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.CommonLifecycleEvents
-
Called when tags are loaded or updated.
- tagsPopulated(RegistryKey<? extends Registry<T>>, TagKey<T>...) - Static method in class net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditions
- tagsPopulated(TagKey<T>...) - 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.v1
-
Deprecated.Please use
TagUtil
- TagUtil - Class in net.fabricmc.fabric.api.tag.convention.v2
-
A Helper class for checking whether a
TagKey
contains some entry. - TAIGA - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- 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(ItemStack) - Method in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient
-
Checks if a stack matches this ingredient.
- test(RegistryWrapper.WrapperLookup) - Method in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceCondition
-
Tests the condition.
- textureGetter() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.AfterBake.Context
-
The function that can be used to retrieve sprites.
- textureGetter() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.BeforeBake.Context
-
The function that can be used to retrieve sprites.
- TEXTURES - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
- TheEndBiomes - Class in net.fabricmc.fabric.api.biome.v1
-
API that exposes some internals of the minecraft default biome source for The End.
- tick() - Method in class net.fabricmc.fabric.api.entity.FakePlayer
- tickCounter() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
- ticksRandomly() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- 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
- toBakedQuad(int, Sprite, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Deprecated.Use
QuadView.toBakedQuad(Sprite)
instead. - toBakedQuad(Sprite) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Generates a new BakedQuad instance with texture coordinates and colors from the given sprite.
- toFaceIndex(Direction) - Static method in class net.fabricmc.fabric.api.renderer.v1.model.ModelHelper
-
Convenient way to encode faces that may be null.
- TOOLS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- TooltipComponentCallback - Interface in net.fabricmc.fabric.api.client.rendering.v1
-
Allows registering a mapping from
TooltipData
toTooltipComponent
. - topLevelId() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.AfterBake.Context
-
Models with a top-level ID are loaded from blockstate files,
BlockStateResolver
s, or by copying a previously loaded model. - topLevelId() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.BeforeBake.Context
-
Models with a top-level ID are loaded from blockstate files,
BlockStateResolver
s, or by copying a previously loaded model. - topLevelId() - Method in interface net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier.OnLoad.Context
-
Models with a top-level ID are loaded from blockstate files,
BlockStateResolver
s, or by copying a previously loaded model. - toQuadLists(Mesh) - Static method in class net.fabricmc.fabric.api.renderer.v1.model.ModelHelper
-
Converts a mesh into an array of lists of vanilla baked quads.
- 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.gamerule.v1.rule.EnumRule
- 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. - toVanilla(int[], int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Reads baked vertex data and outputs standard
baked quad vertex data
in the given array and location. - toVanilla(int, int[], int, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Deprecated.Use
QuadView.toVanilla(int[], int)
instead. - 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
-
Deprecated.
- tracking(BlockEntity) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
-
Gets all players tracking a block entity in a server world.
- tracking(Entity) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
-
Gets all players tracking an entity in a server world.
- tracking(ServerWorld, BlockPos) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
-
Gets all players tracking a block position in a server world.
- tracking(ServerWorld, ChunkPos) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
-
Gets all players tracking a chunk in a server world.
- 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
-
Deprecated.
- 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
-
Deprecated.
- TradeOfferHelper - Class in net.fabricmc.fabric.api.object.builder.v1.trade
-
Utilities to help with registration of trade offers.
- TradeOfferHelper.VillagerOffersAdder - Interface in net.fabricmc.fabric.api.object.builder.v1.trade
- TradeOfferHelper.WanderingTraderOffersBuilder - Interface in net.fabricmc.fabric.api.object.builder.v1.trade
-
A builder for rebalanced wandering trader offers.
- 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
orFluid
) and data components. - transform(MutableQuadView) - Method in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext.QuadTransform
-
Return false to filter out quads from rendering.
- TRANSFORM_BLOCK_1ST_PERSON_LEFT - Static variable in class net.fabricmc.fabric.api.renderer.v1.model.ModelHelper
- TRANSFORM_BLOCK_1ST_PERSON_RIGHT - Static variable in class net.fabricmc.fabric.api.renderer.v1.model.ModelHelper
- TRANSFORM_BLOCK_3RD_PERSON_RIGHT - Static variable in class net.fabricmc.fabric.api.renderer.v1.model.ModelHelper
- TRANSFORM_BLOCK_FIXED - Static variable in class net.fabricmc.fabric.api.renderer.v1.model.ModelHelper
- TRANSFORM_BLOCK_GROUND - Static variable in class net.fabricmc.fabric.api.renderer.v1.model.ModelHelper
- TRANSFORM_BLOCK_GUI - Static variable in class net.fabricmc.fabric.api.renderer.v1.model.ModelHelper
- TRANSLUCENT - Enum constant in enum class net.fabricmc.fabric.api.renderer.v1.material.BlendMode
-
Pixels are blended with the background according to alpha color values.
- 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.
- TREE_CONIFEROUS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- TREE_DECIDUOUS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- TREE_JUNGLE - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- TREE_SAVANNA - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- 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
. - tryInsertStacking(Storage<T>, 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_CODEC - Static variable in interface net.fabricmc.fabric.api.resource.conditions.v1.ResourceConditionType
-
A codec used to serialize the condition type.
U
- u(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Retrieve horizontal texture coordinates.
- UNCOLORED_SANDSTONE_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBlockTags
-
Deprecated.
- UNCOLORED_SANDSTONE_BLOCKS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalBlockTags
-
Deprecated.
- UNCOLORED_SANDSTONE_SLABS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.v1.ConventionalBlockTags
-
Deprecated.
- UNCOLORED_SANDSTONE_STAIRS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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
- UNDERGROUND - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- UNLOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerWorldEvents
-
Called before a world is unloaded by a Minecraft server.
- UNREGISTER - Static variable in class net.fabricmc.fabric.api.client.networking.v1.C2SConfigurationChannelEvents
-
An event for the client configuration network handler 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.C2SPlayChannelEvents
-
An event for the client play network handler 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.S2CConfigurationChannelEvents
-
An event for the server configuration network handler 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.S2CPlayChannelEvents
-
An event for the server play network handler receiving an update indicating the connected client's lack of ability to receive packets in certain channels.
- unregisterGlobalReceiver(CustomPayload.Id<?>) - 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(ServerConfigurationNetworkHandler, Identifier) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerConfigurationNetworking
-
Removes the handler for a payload type.
- unregisterReceiver(ServerLoginNetworkHandler, Identifier) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking
-
Removes the handler of a query response channel.
- unregisterReceiver(ServerPlayNetworkHandler, Identifier) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
-
Removes the handler for a packet 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.
- unwrap(BakedModel) - Static method in interface net.fabricmc.fabric.api.renderer.v1.model.WrapperBakedModel
-
Fully unwrap a model, i.e.
- 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 - Search tag in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup
- Section
- Usage Example - Search tag in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiLookupMap
- Section
- Usage Example - Search tag in interface net.fabricmc.fabric.api.lookup.v1.entity.EntityApiLookup
- Section
- Usage Example - Search tag in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
- Section
- Usage Example - Search tag in net.fabricmc.fabric.api.client.sound.v1.FabricSoundInstance.getAudioStream(SoundLoader, Identifier, boolean)
- Section
- useAmbientOcclusion() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
- 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.
- useCustomElytra(LivingEntity, ItemStack, boolean) - Method in interface net.fabricmc.fabric.api.entity.event.v1.FabricElytraItem
-
Try to use this custom elytra.
- 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.
- uv(int, float, float) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Set texture coordinates.
- uv(int, float, float) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- uv(int, Vector2f) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Set texture coordinates.
- uv(int, Vector2f) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- uv(int, Vector2fc) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
-
Set texture coordinates.
- uv(int, Vector2fc) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
- uvUnitSquare() - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
V
- v(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Retrieve vertical texture coordinates.
- validate(String) - Method in class net.fabricmc.fabric.api.gamerule.v1.rule.DoubleRule
- validate(String) - Method in interface net.fabricmc.fabric.api.gamerule.v1.rule.ValidateableRule
-
Validates if a rule can accept the input.
- ValidateableRule - Interface in net.fabricmc.fabric.api.gamerule.v1.rule
-
A type of game rule which can validate an input.
- validForStructure(RegistryKey<Structure>) - 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 world-save.
- 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.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.v2.LootTableSource
-
Deprecated.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.renderer.v1.material.BlendMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.fabricmc.fabric.api.renderer.v1.material.ShadeMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.fabricmc.fabric.api.resource.ResourcePackActivationType
-
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.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.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.v2.LootTableSource
-
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.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.renderer.v1.material.BlendMode
-
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.renderer.v1.material.ShadeMode
-
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
-
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.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.v2.LootTableSource
-
Deprecated.A loot table loaded from the default 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 - Enum constant in enum class net.fabricmc.fabric.api.renderer.v1.material.ShadeMode
-
Conveys the intent that shading should mimic vanilla results, potentially to preserve certain visuals produced by resource packs that modify models.
- VANILLA_QUAD_STRIDE - Static variable in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Count of integers in a conventional (un-modded) block or item quad.
- VANILLA_VERTEX_STRIDE - Static variable in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Count of integers in a conventional (un-modded) block or item vertex.
- 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.
- VEGETABLES_FOODS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Deprecated.
- VEGETATION_DENSE - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- VEGETATION_SPARSE - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- velocityMultiplier(float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
-
Deprecated.
- vertexConsumer() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext.BlockOutlineContext
-
Deprecated.Use
WorldRenderContext.consumers()
directly. - VILLAGER_JOB_SITES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBlockTags
-
Deprecated.
- VILLAGER_JOB_SITES - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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.
- VillagerProfessionBuilder - Class in net.fabricmc.fabric.api.object.builder.v1.villager
-
Deprecated.Replaced by access widener for
VillagerProfession(java.lang.String, java.util.function.Predicate<net.minecraft.registry.entry.RegistryEntry<net.minecraft.world.poi.PointOfInterestType>>, java.util.function.Predicate<net.minecraft.registry.entry.RegistryEntry<net.minecraft.world.poi.PointOfInterestType>>, com.google.common.collect.ImmutableSet<net.minecraft.item.Item>, com.google.common.collect.ImmutableSet<net.minecraft.block.Block>, net.minecraft.sound.SoundEvent)
in Fabric Transitive Access Wideners (v1). - VillagerTypeHelper - Class in net.fabricmc.fabric.api.object.builder.v1.villager
-
Deprecated.Replaced by access wideners for
VillagerType.create(java.lang.String)
andVillagerType.BIOME_TO_TYPE
in Fabric Transitive Access Wideners (v1). - VISCOSITY_RATIO - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
-
For flowable fluids, the viscosity should match
VISCOSITY_RATIO
*invalid reference
FlowableFluid#getFlowSpeed
- visitDouble(GameRules.Key<DoubleRule>, GameRules.Type<DoubleRule>) - Method in interface net.fabricmc.fabric.api.gamerule.v1.FabricGameRuleVisitor
-
Visit a double rule.
- visitEnum(GameRules.Key<EnumRule<E>>, GameRules.Type<EnumRule<E>>) - Method in interface net.fabricmc.fabric.api.gamerule.v1.FabricGameRuleVisitor
-
Visit an enum rule.
- VOID - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
W
- waitFor(Future<?>) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking.LoginSynchronizer
-
Allows blocking client log-in until the
future
isdone
. - 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
- WASTELAND - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.Barren biomes that lack vegetation.
- WATER - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalFluidTags
-
Deprecated.
- WATER - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
- WATER_BUCKET - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with
ConventionalItemTags.WATER_BUCKETS
. - WATER_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.Does not include entity water buckets.
- WATER_BUCKETS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
-
Does not include entity water buckets.
- WATER_FLOWING - Static variable in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
-
The vanilla flowing water texture identifier.
- WATER_OVERLAY - Static variable in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
-
The vanilla water overlay texture identifier.
- WATER_STILL - Static variable in class net.fabricmc.fabric.api.client.render.fluid.v1.SimpleFluidRenderHandler
-
The vanilla still water texture identifier.
- 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
- WEAPON_DAMAGE_ENHANCEMENT - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalEnchantmentTags
-
Deprecated.For enchantments that increase the damage dealt by an item.
- 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.
- What is GameTest? - Search tag in package net.fabricmc.fabric.api.gametest.v1
- Section
- WHEAT_CROPS - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- 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.v1.ConventionalItemTags
-
Deprecated.
- WHITE_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
- WINDSWEPT - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBiomeTags
-
Deprecated.
- with(Collection<? extends LootPoolEntry>) - Method in interface net.fabricmc.fabric.api.loot.v2.FabricLootPoolBuilder
-
Deprecated.Please use
FabricLootPoolBuilder.with(LootPoolEntry)
instead. - with(Collection<? extends LootPoolEntry>) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootPoolBuilder
-
Adds entries to this builder.
- with(LootPoolEntry) - Method in interface net.fabricmc.fabric.api.loot.v2.FabricLootPoolBuilder
-
Deprecated.Please use
FabricLootPoolBuilder.with(LootPoolEntry)
instead. - with(LootPoolEntry) - Method in interface net.fabricmc.fabric.api.loot.v3.FabricLootPoolBuilder
-
Adds an entry to this builder.
- withComponentChanges(ComponentChanges) - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
-
Creates a copy of this FluidVariant with the provided component changes applied.
- withComponentChanges(ComponentChanges) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
-
Creates a copy of this ItemVariant with the provided component changes applied.
- withComponentChanges(ComponentChanges) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
-
Creates a copy of this TransferVariant with the provided component changes applied.
- withConditions(BiConsumer<RegistryKey<LootTable>, LootTable.Builder>, ResourceCondition...) - Method in interface net.fabricmc.fabric.api.datagen.v1.provider.FabricLootTableProvider
-
Return a new exporter that applies the specified conditions to any loot table it receives.
- withConditions(Consumer<AdvancementEntry>, 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.FabricBlockLootTableGenerator
-
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(RecipeExporter, 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.
- 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.
- WOODEN_BARRELS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalBlockTags
-
Deprecated.
- WOODEN_BARRELS - Static variable in class net.fabricmc.fabric.api.tag.convention.v1.ConventionalItemTags
-
Deprecated.
- 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_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
WoodType
s. - WoodTypeBuilder() - Constructor for class net.fabricmc.fabric.api.object.builder.v1.block.type.WoodTypeBuilder
- workSound(SoundEvent) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
-
Deprecated.Provides the sound made when a Villager works.
- workstation(Predicate<RegistryEntry<PointOfInterestType>>) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
-
Deprecated.The
PointOfInterestType
the Villager of this profession will search for when finding a workstation. - workstation(RegistryKey<PointOfInterestType>) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
-
Deprecated.The
PointOfInterestType
the Villager of this profession will search for when finding a workstation. - world() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
-
Convenient access to {WorldRenderer.world}.
- world(ServerWorld) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
-
Gets all the players in a server world.
- WorldRenderContext - Interface in net.fabricmc.fabric.api.client.rendering.v1
-
Except as noted below, the properties exposed here match the parameters passed to
WorldRenderer.render(net.minecraft.client.render.RenderTickCounter, boolean, net.minecraft.client.render.Camera, net.minecraft.client.render.GameRenderer, net.minecraft.client.render.LightmapTextureManager, org.joml.Matrix4f, org.joml.Matrix4f)
. - WorldRenderContext.BlockOutlineContext - Interface in net.fabricmc.fabric.api.client.rendering.v1
-
Used in
BLOCK_OUTLINE
to convey the parameters normally sent toWorldRenderer.drawBlockOutline
. - worldRenderer() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
-
The world renderer instance doing the rendering and invoking the event.
- WorldRenderEvents - Class in net.fabricmc.fabric.api.client.rendering.v1
-
Mods should use these events to introduce custom rendering during
WorldRenderer.render(net.minecraft.client.render.RenderTickCounter, boolean, net.minecraft.client.render.Camera, net.minecraft.client.render.GameRenderer, net.minecraft.client.render.LightmapTextureManager, org.joml.Matrix4f, org.joml.Matrix4f)
without adding complicated and conflict-prone injections there. - WorldRenderEvents.AfterEntities - Interface in net.fabricmc.fabric.api.client.rendering.v1
- WorldRenderEvents.AfterSetup - Interface in net.fabricmc.fabric.api.client.rendering.v1
- WorldRenderEvents.AfterTranslucent - Interface in net.fabricmc.fabric.api.client.rendering.v1
- WorldRenderEvents.BeforeBlockOutline - Interface in net.fabricmc.fabric.api.client.rendering.v1
- WorldRenderEvents.BeforeEntities - Interface in net.fabricmc.fabric.api.client.rendering.v1
- WorldRenderEvents.BlockOutline - Interface in net.fabricmc.fabric.api.client.rendering.v1
- WorldRenderEvents.DebugRender - Interface in net.fabricmc.fabric.api.client.rendering.v1
- WorldRenderEvents.End - Interface in net.fabricmc.fabric.api.client.rendering.v1
- WorldRenderEvents.Last - Interface in net.fabricmc.fabric.api.client.rendering.v1
- WorldRenderEvents.Start - Interface in net.fabricmc.fabric.api.client.rendering.v1
- WRAP_LAST_PHASE - Static variable in class net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier
-
Recommended phase to use when wrapping models with transformations that want to happen last, e.g.
- WRAP_PHASE - Static variable in class net.fabricmc.fabric.api.client.model.loading.v1.ModelModifier
-
Recommended phase to use when wrapping models.
- wrapped - Variable in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
-
implementations must set this somehow.
- WrapperBakedModel - Interface in net.fabricmc.fabric.api.renderer.v1.model
-
An interface to be implemented by models that wrap and replace another model, such as
ForwardingBakedModel
. - writeNbt(SingleVariantStorage<T>, Codec<T>, NbtCompound, RegistryWrapper.WrapperLookup) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
-
Write a
SingleVariantStorage
to NBT. - writeNbt(NbtCompound, RegistryWrapper.WrapperLookup) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
-
Simple implementation of writing to NBT.
- writeNbt(NbtCompound, RegistryWrapper.WrapperLookup) - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleItemStorage
-
Simple implementation of writing to NBT.
X
- x(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Retrieve geometric position, x coordinate.
Y
- y(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Retrieve geometric position, y coordinate.
- 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.v1.ConventionalItemTags
-
Deprecated.
- YELLOW_DYES - Static variable in class net.fabricmc.fabric.api.tag.convention.v2.ConventionalItemTags
Z
- z(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
-
Retrieve geometric position, z coordinate.
All Classes and Interfaces|All Packages|Constant Field Values
BlockEntityType.Builder.create(BlockEntityType.BlockEntityFactory, Block...)
.