Index

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

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 net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.Result
 
accept(Collection<Identifier>) - Method in interface net.fabricmc.fabric.api.event.network.S2CPacketTypeCallback
Deprecated.
Accept a collection of types.
accept(PacketContext, PacketByteBuf) - Method in interface net.fabricmc.fabric.api.network.PacketConsumer
Deprecated.
Receive a CustomPayload-based packet.
accept(PlayerEntity, Collection<Identifier>) - Method in interface net.fabricmc.fabric.api.event.network.C2SPacketTypeCallback
Deprecated.
Accept a collection of types.
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, V) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
 
add(ItemConvertible, V) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
 
add(Tag<Block>, int, int) - Method in interface net.fabricmc.fabric.api.registry.FlammableBlockRegistry
 
add(Tag<Block>, V) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
 
add(Tag<Item>, V) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
 
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.
addBiomeVariant(RegistryKey<Biome>, RegistryKey<Biome>, double, OverworldClimate...) - Static method in class net.fabricmc.fabric.api.biome.v1.OverworldBiomes
Adds a 'variant' biome which replaces another biome on occasion.
addBuiltInCarver(GenerationStep.Carver, ConfiguredCarver<?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Adds a configured carver from BuiltinRegistries.CONFIGURED_CARVER to this biome.
addBuiltInFeature(GenerationStep.Feature, ConfiguredFeature<?, ?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Adds a configured feature from BuiltinRegistries.CONFIGURED_FEATURE to this biome.
addBuiltInStructure(ConfiguredStructureFeature<?, ?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Allows a configured structure from BuiltinRegistries.CONFIGURED_STRUCTURE_FEATURE to start in this biome.
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.
addContinentalBiome(RegistryKey<Biome>, OverworldClimate, double) - Static method in class net.fabricmc.fabric.api.biome.v1.OverworldBiomes
Adds the biome to the specified climate group, with the specified weight.
addEdgeBiome(RegistryKey<Biome>, RegistryKey<Biome>, double) - Static method in class net.fabricmc.fabric.api.biome.v1.OverworldBiomes
Adds the biome as an an edge biome (excluding as a beach) of the parent biome, with the specified weight.
addFeature(Predicate<BiomeSelectionContext>, GenerationStep.Feature, RegistryKey<ConfiguredFeature<?, ?>>) - 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<ConfiguredFeature<?, ?>>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Adds a feature to one of this biomes generation steps, identified by the configured 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.
addHillsBiome(RegistryKey<Biome>, RegistryKey<Biome>, double) - Static method in class net.fabricmc.fabric.api.biome.v1.OverworldBiomes
Adds the biome as a hills variant of the parent biome, with the specified weight.
ADDITIONS - Enum constant in enum 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.
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.
addNetherBiome(RegistryKey<Biome>, Biome.MixedNoisePoint) - Static method in class net.fabricmc.fabric.api.biome.v1.NetherBiomes
Adds a biome to the Nether generator.
addOptionalObject(Identifier) - Method in interface net.fabricmc.fabric.api.tag.FabricDataGeneratorTagBuilder
Add an optional entry of type <T> to the tag.
addOptionalTag(Identifier) - Method in interface net.fabricmc.fabric.api.tag.FabricDataGeneratorTagBuilder
Add an optional tag entry to the 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.
addReloadListener(IdentifiableResourceReloadListener) - Method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
addShoreBiome(RegistryKey<Biome>, RegistryKey<Biome>, double) - Static method in class net.fabricmc.fabric.api.biome.v1.OverworldBiomes
Adds the biome as a shore/beach biome for the parent biome, with the specified weight.
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.
addStructure(Predicate<BiomeSelectionContext>, RegistryKey<ConfiguredStructureFeature<?, ?>>) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeModifications
Convenience method to add a structure to one or more biomes.
addStructure(RegistryKey<ConfiguredStructureFeature<?, ?>>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Allows a configured structure to start in this biome.
addVillagerTypeToBiome(RegistryKey<Biome>, VillagerType) - Static method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerTypeHelper
Sets the biome a villager type can spawn in.
adjustsSurface() - Method in class net.fabricmc.fabric.api.structure.v1.FabricStructureBuilder
Causes structure pieces of this structure to adjust the surface of the world to fit them, so that they don't stick out of or into the ground.
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.player.PlayerBlockBreakEvents
Callback after a block is broken.
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 it's 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_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(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.
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, MatrixStack, 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
 
all() - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Matches all Biomes.
all(MinecraftServer) - Static method in class net.fabricmc.fabric.api.networking.v1.PlayerLookup
Gets all the players on the minecraft server.
all(MinecraftServer) - Static method in class net.fabricmc.fabric.api.server.PlayerStream
Deprecated.
 
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_DEATH - Static variable in class net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents
An event that is called when a player takes fatal damage.
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.
allowDeath(ServerPlayerEntity, DamageSource, float) - Method in interface net.fabricmc.fabric.api.entity.event.v1.ServerPlayerEvents.AllowDeath
Called when a player takes fatal damage (before totems of undying can take effect).
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.
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.
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.
allowsMovement() - Method in class net.fabricmc.fabric.api.block.FabricMaterialBuilder
Deprecated.
 
allowsMovement() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricMaterialBuilder
 
allowsSpawning(AbstractBlock.TypedContextPredicate<EntityType<?>>) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
ALWAYS_ENABLED - Enum constant in enum net.fabricmc.fabric.api.resource.ResourcePackActivationType
Always enabled.
alwaysUpdateVelocity() - Method in class net.fabricmc.fabric.api.entity.EntityTrackingRegistry.Entry
Deprecated.
 
amount - Variable in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Deprecated.
 
amount - Variable in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
amount() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.ResourceAmount
 
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.item.ItemApiLookup
Return the API class of this lookup.
ApiLookupMap<L> - Interface in net.fabricmc.fabric.api.lookup.v1.custom
A a map meant to be used as the backing storage for custom ApiLookup instances, to implement a custom equivalent of BlockApiLookup#get.
ApiLookupMap.LookupFactory<L> - Interface in net.fabricmc.fabric.api.lookup.v1.custom
 
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.
appendAll(ResourceManager, Consumer<ModelIdentifier>) - Method in interface net.fabricmc.fabric.api.client.model.ModelAppender
Deprecated.
appendItems(BiConsumer<List<ItemStack>, ItemGroup>) - Method in class net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder
Set the item stacks of this item group, by having the consumer add them to the passed list.
appendItems(Consumer<List<ItemStack>>) - Method in class net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder
Set the item stacks of this item group, by having the consumer add them to the passed list.
appendTooltip(FluidVariant, List<Text>, TooltipContext) - 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(LootFunction.Builder) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder
 
apply(LootFunction.Builder) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootSupplierBuilder
 
apply(T, ResourceManager, Profiler, Executor) - Method in interface net.fabricmc.fabric.api.resource.SimpleResourceReloadListener
Synchronously apply loaded data to the game state.
argument(String, ArgumentType<T>) - Static method in class net.fabricmc.fabric.api.client.command.v1.ClientCommandManager
Creates a required argument builder.
ArmorRenderingRegistry - Class in net.fabricmc.fabric.api.client.rendering.v1
A class for registering custom armor models and textures for Item, to be provided by a ArmorRenderingRegistry.ModelProvider or ArmorRenderingRegistry.TextureProvider.
ArmorRenderingRegistry.ModelProvider - Interface in net.fabricmc.fabric.api.client.rendering.v1
 
ArmorRenderingRegistry.TextureProvider - Interface in net.fabricmc.fabric.api.client.rendering.v1
 
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.
around(World, BlockPos, double) - Static method in class net.fabricmc.fabric.api.server.PlayerStream
Deprecated.
 
around(World, Vec3d, double) - Static method in class net.fabricmc.fabric.api.server.PlayerStream
Deprecated.
 
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.
asVanilla() - Method in interface net.fabricmc.fabric.api.loot.v1.FabricLootPool
 
asVanilla() - Method in interface net.fabricmc.fabric.api.loot.v1.FabricLootSupplier
 
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 Type 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.FabricItemTags
Deprecated.
 
AXES - Static variable in class net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags
 
AXES - Static variable in class net.fabricmc.fabric.api.tools.FabricToolTags
Deprecated.
 

B

backingStorage - Variable in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
 
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.
BakedModelManagerHelper - Class in net.fabricmc.fabric.api.client.model
 
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_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 it's default state.
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
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, MatrixStack, 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
 
binding - Variable in class net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.Builder
Deprecated.
 
BiomeModification - Class in net.fabricmc.fabric.api.biome.v1
 
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.
BiomeModifications() - Constructor for class net.fabricmc.fabric.api.biome.v1.BiomeModifications
 
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.
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 extends TransferVariant<?>> - 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.
blendMode(int, BlendMode) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
Defines how sprite pixels will be blended with the scene.
blendMode(int, RenderLayer) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
Deprecated.
Use BlendMode version instead.
BlendMode - Enum in net.fabricmc.fabric.api.renderer.v1.material
Defines how sprite pixels will be blended with the scene.
block(Identifier) - Static method in class net.fabricmc.fabric.api.tag.TagRegistry
 
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 a ServerWorld 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
Convienence interface for blocks which listen to "break interactions" (left-click).
BlockConstructedCallback - Interface in net.fabricmc.fabric.api.event.registry
Deprecated.
Please migrate to v1. Please use registry events instead.
BlockEntityClientSerializable - Interface in net.fabricmc.fabric.api.block.entity
Implement this interface on a BlockEntity which you would like to be synchronized with the client side using the built-in engine methods.
BlockEntityRendererRegistry - Interface in net.fabricmc.fabric.api.client.rendereregistry.v1
Helper class for registering BlockEntityRenderers.
blockOutlines() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
 
BlockPickInteractionAware - Interface in net.fabricmc.fabric.api.block
 
blockPos() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext.BlockOutlineContext
 
blockRenderLayer - Variable in enum 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.
BlockSettingsExtensions - Class in net.fabricmc.fabric.api.block
Deprecated.
Please migrate to v1. Please use methods in FabricBlockSettings instead.
blocksPistons() - Method in class net.fabricmc.fabric.api.block.FabricMaterialBuilder
Deprecated.
 
blocksPistons() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricMaterialBuilder
 
blockState() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext.BlockOutlineContext
 
blockVision(AbstractBlock.ContextPredicate) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
BooleanFunction<R> - Interface in net.fabricmc.fabric.api.util
Represents a function that accepts an boolean-valued argument and produces a result.
BOTTLE - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
breakByHand(boolean) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
Makes the block breakable by any tool if breakByHand is set to true.
breakByHand(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
Makes the block breakable by any tool if breakByHand is set to true.
breakByHand(AbstractBlock.Settings, boolean) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
breakByTool(AbstractBlock.Settings, Tag<Item>, int) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
breakByTool(Tag<Item>) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
Please make the block require a tool if you plan to disable drops and slow the breaking down using the incorrect tool by using FabricBlockSettings.requiresTool().
breakByTool(Tag<Item>) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
Please make the block require a tool if you plan to disable drops and slow the breaking down using the incorrect tool by using FabricBlockSettings.requiresTool().
breakByTool(Tag<Item>, int) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
Please make the block require a tool if you plan to disable drops and slow the breaking down using the incorrect tool by using FabricBlockSettings.requiresTool().
breakByTool(Tag<Item>, int) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
Please make the block require a tool if you plan to disable drops and slow the breaking down using the incorrect tool by using FabricBlockSettings.requiresTool().
breakInstantly() - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
breakInstantly() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
breakInstantly(AbstractBlock.Settings) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
BUCKET - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
build() - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
build() - Method in class net.fabricmc.fabric.api.block.FabricMaterialBuilder
Deprecated.
 
build() - Method in class net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder
Create an instance of the ItemGroup.
build() - Method in class net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.Builder
Deprecated.
 
build() - Method in class net.fabricmc.fabric.api.entity.FabricEntityTypeBuilder
Deprecated.
 
build() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Creates the entity type.
build() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
 
build() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
build() - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
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(Function<AbstractBlock.Settings, T>) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
build(Identifier, Supplier<ItemStack>) - Static method in class net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder
This is a single method that makes creating an ItemGroup with an icon one call.
buildAndRegister() - Method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
Applies the attributes to the registry and registers it.
builder() - Static method in class net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder
 
builder() - Static method in class net.fabricmc.fabric.api.loot.v1.FabricLootSupplierBuilder
 
Builder(FabricKeyBinding) - Constructor for class net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.Builder
Deprecated.
 
building(AbstractBlock.Settings, Block) - Method in interface net.fabricmc.fabric.api.event.registry.BlockConstructedCallback
Deprecated.
 
building(Item.Settings, Item) - Method in interface net.fabricmc.fabric.api.event.registry.ItemConstructedCallback
Deprecated.
 
builtIn() - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Matches Biomes that have not been originally defined in a datapack, but that are defined in code.
BuiltinItemRenderer - Interface in net.fabricmc.fabric.api.client.rendering.v1
Deprecated.
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.
burnable() - Method in class net.fabricmc.fabric.api.block.FabricMaterialBuilder
Deprecated.
 
burnable() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricMaterialBuilder
 
BYTE - Static variable in class net.fabricmc.fabric.api.util.NbtType
 
BYTE_ARRAY - Static variable in class net.fabricmc.fabric.api.util.NbtType
 

C

C2SPacketTypeCallback - Interface in net.fabricmc.fabric.api.event.network
Deprecated.
Please migrate to S2CPlayChannelEvents since this was incorrectly named.
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
 
calculateComparatorOutput(Storage<T>, TransactionContext) - 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
 
CANCELED - Static variable in class net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents
Callback when a block break has been canceled.
canExtract(FluidVariant) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Deprecated.
 
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
 
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(FluidVariant) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Deprecated.
 
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
 
canPlayerReceive(PlayerEntity, Identifier) - Method in interface net.fabricmc.fabric.api.network.ServerSidePacketRegistry
Deprecated.
Check if a given client declared the ability to receive a given packet ID using the vanilla "register/unregister" protocol.
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, 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.ClientPlayNetworking
Checks if the connected server declared the ability to receive a packet on a specified channel name.
canServerReceive(Identifier) - Method in interface net.fabricmc.fabric.api.network.ClientSidePacketRegistry
Deprecated.
Check if the server declared the ability to receive a given packet ID using the vanilla "register/unregister" protocol.
categories(Biome.Category...) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Matches Biomes that have one of the given categories.
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 an 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 an 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(Tag<Block>) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
 
clear(Tag<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.
clearTagEntries() - Method in interface net.fabricmc.fabric.api.tag.FabricTagBuilder
Clear the contained entries and mark the tag as replaced.
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.v1
Manages client-sided commands and provides some related helper methods.
ClientEntityEvents - Class in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientEntityEvents() - Constructor for class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientEntityEvents
 
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
 
ClientPlayNetworking - Class in net.fabricmc.fabric.api.client.networking.v1
Offers access to play stage client-side networking functionalities.
ClientPlayNetworking.PlayChannelHandler - Interface in net.fabricmc.fabric.api.client.networking.v1
 
ClientSidePacketRegistry - Interface in net.fabricmc.fabric.api.network
Deprecated.
Please migrate to ClientPlayNetworking.
ClientSpriteRegistryCallback - Interface in net.fabricmc.fabric.api.event.client
 
ClientSpriteRegistryCallback.Registry - Class in net.fabricmc.fabric.api.event.client
 
ClientTickCallback - Interface in net.fabricmc.fabric.api.event.client
Deprecated.
ClientTickEvents - Class in net.fabricmc.fabric.api.client.event.lifecycle.v1
 
ClientTickEvents() - Constructor for class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents
 
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
 
close() - Method in interface net.fabricmc.fabric.api.transfer.v1.transaction.Transaction
Abort the current transaction if it was not closed already.
collidable(boolean) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
collidable(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
collidable(AbstractBlock.Settings, boolean) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
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.
ColorProviderRegistry<T,​Provider> - Interface in net.fabricmc.fabric.api.client.rendering.v1
 
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.
CombinedStorage<T,​S extends Storage<T>> - 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
 
CommandRegistrationCallback - Interface in net.fabricmc.fabric.api.command.v1
Callback for when a server registers all commands.
CommandRegistry - Class in net.fabricmc.fabric.api.registry
Deprecated.
Please migrate to v1. 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 net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.Result
 
complex(boolean, ParticleEffect.Factory<T>) - Static method in class net.fabricmc.fabric.api.particle.v1.FabricParticleTypes
Creates a new particle type with a custom factory for packet/data serialization.
complex(ParticleEffect.Factory<T>) - Static method in class net.fabricmc.fabric.api.particle.v1.FabricParticleTypes
Creates a new particle type with a custom factory for packet/data serialization.
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
 
conditionally(LootCondition.Builder) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder
 
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.
 
ContainerFactory<T> - Interface in net.fabricmc.fabric.api.container
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.
ContainerProviderRegistry - Interface in net.fabricmc.fabric.api.container
Deprecated.
ContainerScreenFactory<C extends net.minecraft.screen.ScreenHandler> - Interface in net.fabricmc.fabric.api.client.screen
Deprecated.
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.item.ItemApiLookup
Return the context class of this lookup.
COOL - Enum constant in enum net.fabricmc.fabric.api.biome.v1.OverworldClimate
Includes Forest, Taiga, Mountains, and Plains (all with weights of 1).
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(Block) - Static method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
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(LootPool) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder
Copies the entries, conditions and functions of the pool to this builder.
copyFrom(LootPool, boolean) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder
Copies the entries, conditions and functions of the pool to this builder.
copyFrom(LootTable) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootSupplierBuilder
Copies the pools and functions of the supplier to this builder.
copyFrom(LootTable, boolean) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootSupplierBuilder
Copies the pools and functions of the supplier to this builder.
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.
copyNbt() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
Return a copy of the tag of this variant, or null if this variant doesn't have a tag.
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(AbstractBlock) - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
copyOf(AbstractBlock.Settings) - Static method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
copyOf(AbstractBlock.Settings) - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
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
Extracts all quad properties except material to the given MutableQuadView instance.
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.entity.FabricEntityTypeBuilder
Creates an entity type builder.
create() - Static method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
Creates a builder instance to allow for creation of a VillagerProfession.
create(int, PlayerInventory) - Method in interface net.fabricmc.fabric.api.screenhandler.v1.ScreenHandlerRegistry.SimpleClientHandlerFactory
Creates a new client-sided screen handler.
create(int, PlayerInventory, PacketByteBuf) - Method in interface net.fabricmc.fabric.api.screenhandler.v1.ScreenHandlerRegistry.ExtendedClientHandlerFactory
Creates a new client-sided screen handler with additional screen opening data.
create(int, Identifier, PlayerEntity, PacketByteBuf) - Method in interface net.fabricmc.fabric.api.container.ContainerFactory
Deprecated.
Creates the new object.
create(C) - Method in interface net.fabricmc.fabric.api.client.screen.ContainerScreenFactory
Deprecated.
 
create(H, PlayerInventory, Text) - Method in interface net.fabricmc.fabric.api.client.screenhandler.v1.ScreenRegistry.Factory
Creates a new handled screen.
create(FabricSpriteProvider) - Method in interface net.fabricmc.fabric.api.client.particle.v1.ParticleFactoryRegistry.PendingParticleFactory
Called to create a new particle factory.
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.LookupFactory<L>) - Static method in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiLookupMap
Create a new instance.
create(StorageView<T>, TransactionContext) - Static method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleViewIterator
Create a new iterator for the passed storage view, tied to the passed transaction.
create(EntityRenderDispatcher, EntityRendererRegistry.Context) - Method in interface net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry.Factory
 
create(SpawnGroup) - Static method in class net.fabricmc.fabric.api.entity.FabricEntityTypeBuilder
Deprecated.
 
create(SpawnGroup) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Creates an entity type builder.
create(SpawnGroup, Function<? super World, ? extends T>) - Static method in class net.fabricmc.fabric.api.entity.FabricEntityTypeBuilder
create(SpawnGroup, EntityType.EntityFactory<T>) - Static method in class net.fabricmc.fabric.api.entity.FabricEntityTypeBuilder
Deprecated.
 
create(SpawnGroup, EntityType.EntityFactory<T>) - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Creates an entity type builder.
create(Identifier) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeModifications
Create a new biome modification which will be applied whenever biomes are loaded from datapacks.
create(Identifier) - Static method in class net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder
Create a new Item Group Builder.
create(Identifier, Supplier<TagGroup<T>>) - Static method in class net.fabricmc.fabric.api.tag.TagRegistry
 
create(Identifier, InputUtil.Type, int, String) - Static method in class net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding.Builder
Deprecated.
 
create(Identifier, S) - Static method in class net.fabricmc.fabric.api.structure.v1.FabricStructureBuilder
Creates a new FabricStructureBuilder for registering a structure.
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.
createC2SPacket(Identifier, PacketByteBuf) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Creates a packet which may be sent to a the connected server.
createDefaulted(Class<T>, Identifier, Identifier) - Static method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
Create a new FabricRegistryBuilder using a DefaultedRegistry, the registry has the RegistryAttribute.MODDED attribute by default.
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
Creates an entity type builder for a living entity.
createMob() - Static method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Creates an entity type builder for a mob entity.
createPacket(Identifier, PacketByteBuf) - Method in interface net.fabricmc.fabric.api.networking.v1.PacketSender
Makes a packet for a channel.
createS2CPacket(Identifier, PacketByteBuf) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Creates a packet which may be sent to a the connected client.
createSimple(Class<T>, Identifier) - Static method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
Create a new FabricRegistryBuilder using a SimpleRegistry, the registry has the RegistryAttribute.MODDED attribute by default.
createSnapshot() - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Deprecated.
 
createSnapshot() - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
 
createSnapshot() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
createSnapshot() - Method in class net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant
Return a new nonnull object containing the current state of this participant.
createWithPhases(Class<? 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.
CriterionRegistry - Class in net.fabricmc.fabric.api.object.builder.v1.advancement
Allows registering advancement criteria for triggers.
CriterionRegistry() - Constructor for class net.fabricmc.fabric.api.object.builder.v1.advancement.CriterionRegistry
 
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
 
customDamage(CustomDamageHandler) - Method in class net.fabricmc.fabric.api.item.v1.FabricItemSettings
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, Consumer) is called.
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.
CUTOUT - Enum constant in enum net.fabricmc.fabric.api.renderer.v1.material.BlendMode
Pixels with alpha > 0.5 are rendered as if SOLID.
CUTOUT_MIPPED - Enum constant in enum net.fabricmc.fabric.api.renderer.v1.material.BlendMode
Pixels with alpha > 0.5 are rendered as if SOLID.
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, Consumer<LivingEntity>) - Method in interface net.fabricmc.fabric.api.item.v1.CustomDamageHandler
Called to apply damage to the given stack.
DEFAULT - Enum constant in enum net.fabricmc.fabric.api.renderer.v1.material.BlendMode
Emulate blending behavior of BlockRenderLayer associated with the block.
DEFAULT - Enum constant in enum 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 net.fabricmc.fabric.api.resource.ResourcePackActivationType
Enabled by default.
DEFAULT_PHASE - Static variable in class net.fabricmc.fabric.api.event.Event
The identifier of the default phase.
defaultAttributes(Supplier<DefaultAttributeContainer.Builder>) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
Sets the default attributes for a type of living entity.
defaultAttributes(Supplier<DefaultAttributeContainer.Builder>) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
defaultConfig(int, int, int) - Method in class net.fabricmc.fabric.api.structure.v1.FabricStructureBuilder
Sets the default StructureConfig for this structure.
defaultConfig(StructureConfig) - Method in class net.fabricmc.fabric.api.structure.v1.FabricStructureBuilder
Sets the default StructureConfig for this structure.
delegate - Variable in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
DependentSprite - Interface in net.fabricmc.fabric.api.client.texture
Implement this interface on a Sprite to declare additional dependencies that should be processed prior to this sprite.
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
 
destroyedByPiston() - Method in class net.fabricmc.fabric.api.block.FabricMaterialBuilder
Deprecated.
 
destroyedByPiston() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricMaterialBuilder
 
dimensions(EntityDimensions) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Sets the dimensions of this entity type.
dimensions(EntityDimensions) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
 
dimensions(EntityDimensions) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
disableAo(int, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
Vertex color(s) will be modified for ambient occlusion unless disabled.
disableColorIndex(int, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
Vertex color(s) will be modified for quad color index unless disabled.
disableDiffuse(int, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
Vertex color(s) will be modified for diffuse shading unless disabled.
disableSaving() - Method in class net.fabricmc.fabric.api.entity.FabricEntityTypeBuilder
Deprecated.
 
disableSaving() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
 
disableSaving() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
 
disableSaving() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
disableSummon() - Method in class net.fabricmc.fabric.api.entity.FabricEntityTypeBuilder
Deprecated.
 
disableSummon() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Whether this entity type is summonable using the /summon command.
disableSummon() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
 
disableSummon() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
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.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.
DISPATCHER - Static variable in class net.fabricmc.fabric.api.client.command.v1.ClientCommandManager
The command dispatcher that handles client command registration and execution.
DOUBLE - Static variable in class net.fabricmc.fabric.api.util.NbtType
 
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!
drop(ItemVariant, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
Drop items in the world at the player's location.
DROPLET - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
drops(AbstractBlock.Settings, Identifier) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
drops(Identifier) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
drops(Identifier) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
dropsLike(Block) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
dropsLike(Block) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
dropsNothing() - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
dropsNothing() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
dropsNothing(AbstractBlock.Settings) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
DRY - Enum constant in enum net.fabricmc.fabric.api.biome.v1.OverworldClimate
Includes Desert (with a weight of 3), Savanna (with a weight of 2), and Plains (with a weight of 1).
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.
DynamicAttributeTool - Interface in net.fabricmc.fabric.api.tool.attribute.v1
Interface for adding various tool attributes to items.
dynamicBounds() - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
dynamicBounds() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
dynamicBounds(AbstractBlock.Settings) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
DynamicRegistrySetupCallback - Interface in net.fabricmc.fabric.api.event.registry
This event gets triggered when a new DynamicRegistryManager gets created, but before it gets filled.

E

emissive(int, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
When true, sprite texture and color will be rendered at full brightness.
emissiveLighting(AbstractBlock.ContextPredicate) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
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 - Static variable in interface net.fabricmc.fabric.api.tool.attribute.v1.DynamicAttributeTool
 
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.
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
 
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_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, ServerResourceManager, boolean) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.EndDataPackReload
Called after data packs on a Minecraft server have been reloaded.
entity() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext.BlockOutlineContext
 
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_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.
entityFactory(EntityType.EntityFactory<N>) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
 
entityFactory(EntityType.EntityFactory<N>) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
 
entityFactory(EntityType.EntityFactory<N>) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
EntityPickInteractionAware - Interface in net.fabricmc.fabric.api.entity
 
EntityRendererRegistry - Class in net.fabricmc.fabric.api.client.rendereregistry.v1
Helper class for registering EntityRenderers.
EntityRendererRegistry.Context - Class in net.fabricmc.fabric.api.client.rendereregistry.v1
 
EntityRendererRegistry.Factory - Interface in net.fabricmc.fabric.api.client.rendereregistry.v1
 
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.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
 
EntityTrackingRegistry - Class in net.fabricmc.fabric.api.entity
Deprecated.
Use FabricEntityTypeBuilder methods
EntityTrackingRegistry.Entry - Class in net.fabricmc.fabric.api.entity
Deprecated.
entityType(Identifier) - Static method in class net.fabricmc.fabric.api.tag.TagRegistry
 
Entry(int, int) - Constructor for class net.fabricmc.fabric.api.registry.FlammableBlockRegistry.Entry
 
Entry(int, int, boolean) - Constructor for class net.fabricmc.fabric.api.entity.EntityTrackingRegistry.Entry
Deprecated.
 
EnumRule<E extends Enum<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 class net.fabricmc.fabric.api.transfer.v1.storage.base.ResourceAmount
 
equipmentSlot(EquipmentSlotProvider) - Method in class net.fabricmc.fabric.api.item.v1.FabricItemSettings
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(Identifier) - Static method in interface net.fabricmc.fabric.api.event.client.ClientSpriteRegistryCallback
Get an event instance for a given atlas path.
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.RegistryEntryRemovedCallback
 
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.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
 
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.command.v1.CommandRegistrationCallback
 
EVENT - Static variable in interface net.fabricmc.fabric.api.event.client.ClientSpriteRegistryCallback
Deprecated.
Use the ClientSpriteRegistryCallback.event(Identifier) registration method. Since 1.14 started making use of multiple sprite atlases, it is unwise to register sprites to *all* of them.
EVENT - Static variable in interface net.fabricmc.fabric.api.event.client.ClientTickCallback
Deprecated.
EVENT - Static variable in interface net.fabricmc.fabric.api.event.client.ItemTooltipCallback
Deprecated.
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.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.BlockConstructedCallback
Deprecated.
 
EVENT - Static variable in interface net.fabricmc.fabric.api.event.registry.DynamicRegistrySetupCallback
 
EVENT - Static variable in interface net.fabricmc.fabric.api.event.registry.ItemConstructedCallback
Deprecated.
 
EVENT - Static variable in interface net.fabricmc.fabric.api.event.server.ServerStartCallback
Deprecated.
EVENT - Static variable in interface net.fabricmc.fabric.api.event.server.ServerStopCallback
EVENT - Static variable in interface net.fabricmc.fabric.api.event.server.ServerTickCallback
Deprecated.
EVENT - Static variable in interface net.fabricmc.fabric.api.event.world.WorldTickCallback
Deprecated.
The new WorldTickCallback has been split into a client and server callback. Please use the server or client callbacks.
EVENT - Static variable in interface net.fabricmc.fabric.api.loot.v1.event.LootTableLoadingCallback
 
EventFactory - Class in net.fabricmc.fabric.api.event
Helper for creating Event classes.
exactView(TransactionContext, T) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
 
exactView(TransactionContext, T) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Return a view over this storage, for a specific resource, or null if none is quickly available.
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 whos keys is in the given collection of keys.
excludeByKey(RegistryKey<Biome>...) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
 
ExtendedScreenHandlerFactory - Interface in net.fabricmc.fabric.api.screenhandler.v1
An extension of NamedScreenHandlerFactory that can write additional data to a screen opening packet.
extract(FluidVariant, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.FullItemFluidStorage
 
extract(FluidVariant, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Deprecated.
 
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.
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.
ExtraModelProvider - Interface in net.fabricmc.fabric.api.client.model
 

F

FabricBakedModel - Interface in net.fabricmc.fabric.api.renderer.v1.model
Interface for baked models that output meshes with enhanced rendering features.
FabricBlockSettings - Class in net.fabricmc.fabric.api.block
Deprecated.
Please migrate to v1. Please use FabricBlockSettings instead
FabricBlockSettings - Class in net.fabricmc.fabric.api.object.builder.v1.block
Fabric's version of Block.Settings.
FabricBlockSettings(AbstractBlock.Settings) - Constructor for class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
FabricBlockSettings(AbstractBlock.Settings) - Constructor for class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
FabricBlockSettings(Block) - Constructor for class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
FabricBlockSettings(Material, MaterialColor) - Constructor for class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
FabricBlockSettings(Material, MaterialColor) - Constructor for class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
FabricClientCommandSource - Interface in net.fabricmc.fabric.api.client.command.v1
Extensions to CommandSource for client-sided commands.
FabricDataGeneratorTagBuilder<T> - Interface in net.fabricmc.fabric.api.tag
Interface implemented by AbstractTagProvider.ObjectBuilder instances when Fabric API is present.
FabricDefaultAttributeRegistry - Class in net.fabricmc.fabric.api.entity
Deprecated.
Please use FabricDefaultAttributeRegistry instead.
FabricDefaultAttributeRegistry - Class in net.fabricmc.fabric.api.object.builder.v1.entity
Allows registering custom default attributes for living entities.
FabricDefaultAttributeRegistry() - Constructor for class net.fabricmc.fabric.api.entity.FabricDefaultAttributeRegistry
Deprecated.
 
FabricDefaultAttributeRegistry() - Constructor for class net.fabricmc.fabric.api.object.builder.v1.entity.FabricDefaultAttributeRegistry
 
FabricDimensions - Class in net.fabricmc.fabric.api.dimension.v1
This class consists exclusively of static methods that operate on world dimensions.
FabricEntityTypeBuilder<T extends net.minecraft.entity.Entity> - Class in net.fabricmc.fabric.api.entity
Deprecated.
Please migrate to v1. Please use FabricEntityTypeBuilder instead.
FabricEntityTypeBuilder<T extends net.minecraft.entity.Entity> - Class in net.fabricmc.fabric.api.object.builder.v1.entity
Extended version of EntityType.Builder with added registration for server->client entity tracking values.
FabricEntityTypeBuilder(SpawnGroup, EntityType.EntityFactory<T>) - Constructor for class net.fabricmc.fabric.api.entity.FabricEntityTypeBuilder
Deprecated.
 
FabricEntityTypeBuilder(SpawnGroup, EntityType.EntityFactory<T>) - Constructor for class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
 
FabricEntityTypeBuilder.Living<T extends net.minecraft.entity.LivingEntity> - Class in net.fabricmc.fabric.api.object.builder.v1.entity
An extended version of FabricEntityTypeBuilder with support for features on present on living entities, such as default attributes.
FabricEntityTypeBuilder.Mob<T extends net.minecraft.entity.mob.MobEntity> - Class in net.fabricmc.fabric.api.object.builder.v1.entity
An extended version of FabricEntityTypeBuilder with support for features on present on mob entities, such as spawn restrictions.
FabricGameRuleVisitor - Interface in net.fabricmc.fabric.api.gamerule.v1
An extended game rule visitor which supports Fabric's own rule types.
FabricItemGroupBuilder - Class in net.fabricmc.fabric.api.client.itemgroup
 
FabricItemSettings - Class in net.fabricmc.fabric.api.item.v1
Fabric's version of Item.Settings.
FabricItemSettings() - Constructor for class net.fabricmc.fabric.api.item.v1.FabricItemSettings
 
FabricItemTags - Class in net.fabricmc.fabric.api.tag
Deprecated.
Use dedicated classes, such as FabricToolTags
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.
FabricLootPool - Interface in net.fabricmc.fabric.api.loot.v1
An interface implemented by all net.minecraft.loot.LootPool instances when Fabric API is present.
FabricLootPoolBuilder - Class in net.fabricmc.fabric.api.loot.v1
 
FabricLootSupplier - Interface in net.fabricmc.fabric.api.loot.v1
An interface implemented by all net.minecraft.loot.LootSupplier instances when Fabric API is present.
FabricLootSupplierBuilder - Class in net.fabricmc.fabric.api.loot.v1
 
FabricLootSupplierBuilder() - Constructor for class net.fabricmc.fabric.api.loot.v1.FabricLootSupplierBuilder
 
FabricMaterialBuilder - Class in net.fabricmc.fabric.api.block
Deprecated.
Please migrate to v1. Please use FabricMaterialBuilder instead.
FabricMaterialBuilder - Class in net.fabricmc.fabric.api.object.builder.v1.block
 
FabricMaterialBuilder(MaterialColor) - Constructor for class net.fabricmc.fabric.api.block.FabricMaterialBuilder
Deprecated.
 
FabricMaterialBuilder(MaterialColor) - Constructor for class net.fabricmc.fabric.api.object.builder.v1.block.FabricMaterialBuilder
 
FabricMaterialBuilder(DyeColor) - Constructor for class net.fabricmc.fabric.api.block.FabricMaterialBuilder
Deprecated.
 
FabricMaterialBuilder(DyeColor) - Constructor for class net.fabricmc.fabric.api.object.builder.v1.block.FabricMaterialBuilder
 
FabricModelPredicateProviderRegistry - Class in net.fabricmc.fabric.api.object.builder.v1.client.model
Allows registering model predicate providers for item models.
FabricModelPredicateProviderRegistry() - Constructor for class net.fabricmc.fabric.api.object.builder.v1.client.model.FabricModelPredicateProviderRegistry
 
FabricParticleTypes - Class in net.fabricmc.fabric.api.particle.v1
Methods for creating particle types, both simple and using an existing attribute factory.
FabricRegistryBuilder<T,​R extends net.minecraft.util.registry.MutableRegistry<T>> - Class in net.fabricmc.fabric.api.event.registry
Used to create custom registries, with specified registry attributes.
FabricSpriteProvider - Interface in net.fabricmc.fabric.api.client.particle.v1
FabricSpriteProvider.
FabricStructureBuilder<FC extends net.minecraft.world.gen.feature.FeatureConfig,​S extends net.minecraft.world.gen.feature.StructureFeature<FC>> - Class in net.fabricmc.fabric.api.structure.v1
A builder for registering custom structures.
FabricTag<T> - Interface in net.fabricmc.fabric.api.tag
Interface implemented by Tag instances when Fabric API is present.
FabricTagBuilder<T> - Interface in net.fabricmc.fabric.api.tag
Interface implemented by Tag.Builder instances when Fabric API is present.
FabricToolTags - Class in net.fabricmc.fabric.api.tool.attribute.v1
Tool item tags provided by Fabric.
FabricToolTags - Class in net.fabricmc.fabric.api.tools
Deprecated.
Use the moved FabricToolTags class instead
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.
fallbackConsumer() - Method in interface net.fabricmc.fabric.api.renderer.v1.render.RenderContext
Fabric causes vanilla baked models to send themselves via this interface.
FALSE - Enum constant in enum net.fabricmc.fabric.api.util.TriState
Represents the boolean value of false.
fillsFromTop(FluidVariant) - Method in interface net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRenderHandler
Return true if this fluid should fill tanks from top.
fillsFromTop(FluidVariant) - Static method in class net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering
Return true if this fluid variant should be rendered as filling tanks from the top.
FilteringStorage<T> - Class in net.fabricmc.fabric.api.transfer.v1.storage.base
A base Storage implementation that delegates every call to another storage, except that it only allows insertion or extraction if FilteringStorage.canInsert(T) or FilteringStorage.canExtract(T) allows it respectively.
FilteringStorage(Supplier<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(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(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, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.model.SpriteFinder
Finds the atlas sprite containing the vertex centroid of the quad.
find(ContainerItemContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidStorage.CombinedItemApiProvider
Return a Storage<FluidVariant> if available in the given context, or null otherwise.
find(BlockEntity, C) - Method in interface net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup.BlockEntityApiProvider
Return an API of type A if available in the given block entity with the given context, or null otherwise.
find(ItemStack, C) - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
Attempt to retrieve an API from an item stack.
find(ItemStack, C) - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup.ItemApiProvider
Return an API of type A if available for the given item stack with the given context, or null otherwise.
find(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, 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, or null otherwise.
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.
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.
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.
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.
findStoredResource(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.
findStoredResource(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.
fireImmune() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Sets this entity type to be fire immune.
fireImmune() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
 
fireImmune() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
fireproof() - Method in class net.fabricmc.fabric.api.item.v1.FabricItemSettings
 
FlammableBlockRegistry - Interface in net.fabricmc.fabric.api.registry
 
FlammableBlockRegistry.Entry - Class in net.fabricmc.fabric.api.registry
 
FLOAT - Static variable in class net.fabricmc.fabric.api.util.NbtType
 
fluid(Identifier) - Static method in class net.fabricmc.fabric.api.tag.TagRegistry
 
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.
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
 
fluidVariant - Variable in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Deprecated.
 
FluidVariant - Interface in net.fabricmc.fabric.api.transfer.v1.fluid
An immutable association of a still fluid and an optional NBT tag.
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.
FluidVariantRendering() - Constructor for class net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering
 
FONTS - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
 
food(FoodComponent) - Method in class net.fabricmc.fabric.api.item.v1.FabricItemSettings
 
forceTrackedVelocityUpdates(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
 
forceTrackedVelocityUpdates(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
 
forceTrackedVelocityUpdates(boolean) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
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.
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 layered 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.
free(PacketByteBuf) - Static method in class net.fabricmc.fabric.api.networking.v1.FutureListeners
Returns a future listener that releases a packet byte buf when the buffer has been sent to a remote connection.
friction(float) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
from(R) - Static method in class net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
Create a new FabricRegistryBuilder, the registry has the RegistryAttribute.MODDED attribute by default.
fromBucketFraction(long, long) - Static method in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
Convert a fraction of buckets into droplets.
fromClientTag(CompoundTag) - Method in interface net.fabricmc.fabric.api.block.entity.BlockEntityClientSerializable
 
fromNbt(CompoundTag) - Static method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
Deserialize a variant from an NBT compound tag, assuming it was serialized using TransferVariant.toNbt().
fromNbt(CompoundTag) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
Deserialize a variant from an NBT compound tag, assuming it was serialized using TransferVariant.toNbt().
fromPacket(PacketByteBuf) - Static method in interface net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant
Read a variant from a packet byte buffer, assuming it was serialized using TransferVariant.toPacket(net.minecraft.network.PacketByteBuf).
fromPacket(PacketByteBuf) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.ItemVariant
Write a variant from a packet byte buffer, assuming it was serialized using TransferVariant.toPacket(net.minecraft.network.PacketByteBuf).
fromRenderLayer(RenderLayer) - Static method in enum net.fabricmc.fabric.api.renderer.v1.material.BlendMode
 
fromVanilla(int[], int, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
Deprecated.
Use #fromVanilla(BakedQuad, RenderMaterial, Direction, int[], int) which has better encapsulation and removed outdated item flag
fromVanilla(int[], int, boolean) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
 
fromVanilla(BakedQuad, RenderMaterial, Direction) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
Enables bulk vertex data transfer using the standard Minecraft vertex formats.
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
 
FutureListeners - Class in net.fabricmc.fabric.api.networking.v1
Utilities for working with netty's future listeners.

G

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.
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.
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 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
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(EntityType) - Method in class net.fabricmc.fabric.api.entity.EntityTrackingRegistry
Deprecated.
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.util.Item2ObjectMap
 
get(ResourceType) - Static method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
Get the ResourceManagerHelper instance for a given resource type.
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.item.ItemApiLookup
Retrieve the ItemApiLookup associated with an identifier, or create it if it didn't exist yet.
get(Registry<?>) - Static method in interface net.fabricmc.fabric.api.event.registry.RegistryAttributeHolder
 
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.
getAdditionalSlots() - Method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Get additional slots that may be available in this context.
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.fluid.base.SingleFluidStorage
Deprecated.
 
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 NBT of the passed variant.
getArmorModel(LivingEntity, ItemStack, EquipmentSlot, BipedEntityModel<LivingEntity>) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderingRegistry
Gets the model of the armor piece.
getArmorModel(LivingEntity, ItemStack, EquipmentSlot, BipedEntityModel<LivingEntity>) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderingRegistry.ModelProvider
Gets the model of the armor piece.
getArmorTexture(LivingEntity, ItemStack, EquipmentSlot, boolean, String, Identifier) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderingRegistry
Gets the armor texture Identifier.
getArmorTexture(LivingEntity, ItemStack, EquipmentSlot, boolean, String, Identifier) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderingRegistry.TextureProvider
Gets the armor texture Identifier.
getAtlas() - Method in interface net.fabricmc.fabric.api.client.particle.v1.FabricSpriteProvider
Returns the entire particles texture atlas.
getBiome() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Returns the biome with modifications by biome modifiers of higher priority already applied.
getBiomeKey() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
 
getBlankResource() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
Return the blank resource.
getBlankVariant() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
Return the blank variant.
getBlockEntityRenderAttachment(BlockPos) - Method in interface net.fabricmc.fabric.api.rendering.data.v1.RenderAttachedBlockView
For models associated with Block Entities that implement RenderAttachmentBlockEntity this will be the most recent value provided by that implementation for the 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 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.fluid.base.SingleFluidStorage
Deprecated.
 
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(FluidVariant) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Deprecated.
 
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.v1.FabricClientCommandSource
Gets the client instance used to run the command.
getClient(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.Screens
 
getColor(FluidVariant) - Method in interface net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRenderHandler
Deprecated.
Use and implement the other more general overload. This one will be removed in a future iteration of the API.
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 sprite 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
 
getConditions() - Method in interface net.fabricmc.fabric.api.loot.v1.FabricLootPool
 
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(PlayerEntity) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
Return a wrapper around the cursor slot of a player, i.e.
getCursorStorage(PlayerInventory) - Static method in interface net.fabricmc.fabric.api.transfer.v1.item.PlayerInventoryStorage
Return a wrapper around the cursor slot of a player inventory, i.e.
getDefaultInstance() - Static method in interface net.fabricmc.fabric.api.registry.FlammableBlockRegistry
 
getDependencies() - Method in interface net.fabricmc.fabric.api.client.texture.DependentSprite
 
getDynamicModifiers(EquipmentSlot, ItemStack, LivingEntity) - Method in interface net.fabricmc.fabric.api.tool.attribute.v1.DynamicAttributeTool
Add modifiers for any EntityAttributes your item should give when equipped, based on the stack.
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 emits directly to the render buffer.
getEntity() - Method in interface net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource
Gets the entity that used the command.
getEntries() - Method in interface net.fabricmc.fabric.api.loot.v1.FabricLootPool
 
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.
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.
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.
getFunctions() - Method in interface net.fabricmc.fabric.api.loot.v1.FabricLootPool
 
getFunctions() - Method in interface net.fabricmc.fabric.api.loot.v1.FabricLootSupplier
 
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.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.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.
getHandlerName(Object) - Static method in class net.fabricmc.fabric.api.event.EventFactory
Get the listener object name.
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.
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
 
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.
getItemRenderer() - Method in class net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry.Context
 
getItemRenderer(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.Screens
Gets a screen's item renderer.
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.
getLookup(Identifier, Class<?>, Class<?>) - Method in interface net.fabricmc.fabric.api.lookup.v1.custom.ApiLookupMap
Retrieve the API lookup associated with an identifier.
getMainSlot() - Method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Return the main slot of this context.
getMeta(String) - Method in interface net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource
Gets the meta property under key that was assigned to this source.
getMiningLevel(ItemStack, LivingEntity) - Method in interface net.fabricmc.fabric.api.tool.attribute.v1.DynamicAttributeTool
getMiningLevel(Tag<Item>, BlockState, ItemStack, LivingEntity) - Method in interface net.fabricmc.fabric.api.tool.attribute.v1.DynamicAttributeTool
Determines the mining level of the passed stack, which is used for calculating what blocks this tool is allowed to break.
getMiningSpeedMultiplier(ItemStack, LivingEntity) - Method in interface net.fabricmc.fabric.api.tool.attribute.v1.DynamicAttributeTool
getMiningSpeedMultiplier(Tag<Item>, BlockState, ItemStack, LivingEntity) - Method in interface net.fabricmc.fabric.api.tool.attribute.v1.DynamicAttributeTool
Determines the mining speed multiplier of the passed stack, which is one factor in overall mining speed.
getModel(BakedModelManager, Identifier) - Static method in class net.fabricmc.fabric.api.client.model.BakedModelManagerHelper
An alternative to BakedModelManager.getModel(ModelIdentifier) that accepts an Identifier instead.
getName() - Method in class net.fabricmc.fabric.api.gamerule.v1.CustomGameRuleCategory
 
getName(FluidVariant) - Method in interface net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRenderHandler
Return the name that should be used for the passed fluid variant.
getName(FluidVariant) - Static method in class net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRendering
Return the name of the passed fluid variant.
getNbt() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
Return the underlying tag.
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.
getOverrides() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
 
getPacketEnvironment() - Method in interface net.fabricmc.fabric.api.network.PacketContext
Deprecated.
Get the environment associated with the packet.
getPickedStack(PlayerEntity, HitResult) - Method in interface net.fabricmc.fabric.api.entity.EntityPickInteractionAware
 
getPickedStack(BlockState, BlockView, BlockPos, PlayerEntity, HitResult) - Method in interface net.fabricmc.fabric.api.block.BlockPickInteractionAware
 
getPlayer() - Method in interface net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource
Gets the player that used the command.
getPlayer() - Method in interface net.fabricmc.fabric.api.network.PacketContext
Deprecated.
Get the player associated with the packet.
getPools() - Method in interface net.fabricmc.fabric.api.loot.v1.FabricLootSupplier
 
getPosition() - Method in interface net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource
Gets the position from where the command has been executed.
getPreferredEquipmentSlot(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(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
 
getRawIdChangeMap() - Method in interface net.fabricmc.fabric.api.event.registry.RegistryIdRemapCallback.RemapState
 
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(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.
getRenderAttachmentData() - Method in interface net.fabricmc.fabric.api.rendering.data.v1.RenderAttachmentBlockEntity
 
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.fluid.base.SingleFluidStorage
Deprecated.
 
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 NBT of the passed variant.
getResourceManager() - Method in class net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry.Context
 
getRolls() - Method in interface net.fabricmc.fabric.api.loot.v1.FabricLootPool
 
getRotation() - Method in interface net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource
Gets the rotation of the entity that used the command.
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(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 the connected client declared the ability to receive a packets on.
getSender() - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Gets the packet sender which sends packets to the connected server.
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.
getServer(ServerLoginNetworkHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking
Returns the Minecraft Server of a server login network handler.
getServer(ServerPlayNetworkHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Returns the Minecraft Server of a server play network handler.
getSlot(int) - Method in interface net.fabricmc.fabric.api.transfer.v1.item.InventoryStorage
Retrieve a wrapper around a specific slot of the inventory.
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.
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() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
 
getSprite(FluidVariant) - Method in interface net.fabricmc.fabric.api.transfer.v1.client.fluid.FluidVariantRenderHandler
Deprecated.
Use and implement the other more general overload. This one will be removed in a future iteration of the API.
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(ConfiguredStructureFeature<?, ?>) - 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.
getSurfaceBuilderKey() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Tries to retrieve the registry key for this biomes current surface builder, which may be empty, if the surface builder is not registered.
getTaskQueue() - Method in interface net.fabricmc.fabric.api.network.PacketContext
Deprecated.
Get the task queue for a given side.
getTextRenderer(Screen) - Static method in class net.fabricmc.fabric.api.client.screen.v1.Screens
Gets a screen's text renderer.
getTextureManager() - Method in class net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry.Context
 
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, TooltipContext) - 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, TooltipContext, List<Text>) - Method in interface net.fabricmc.fabric.api.client.item.v1.ItemTooltipCallback
Called when an item stack's tooltip is rendered.
getTooltip(ItemStack, TooltipContext, List<Text>) - Method in interface net.fabricmc.fabric.api.event.client.ItemTooltipCallback
Deprecated.
Called when an item stack's tooltip is rendered.
getTrackingDistance() - Method in class net.fabricmc.fabric.api.entity.EntityTrackingRegistry.Entry
Deprecated.
 
getTransformation() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
 
getType() - Method in interface net.fabricmc.fabric.api.loot.v1.FabricLootSupplier
 
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.
getUpdateIntervalTicks() - Method in class net.fabricmc.fabric.api.entity.EntityTrackingRegistry.Entry
Deprecated.
 
getVersion() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
 
getVersion() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Return an integer representing the current version of this storage instance to allow for fast change detection: if the version hasn't changed since the last time, and the storage instance is the same, the storage has the same contents.
getWeather() - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext
Returns the modification context for the biomes weather properties.
getWorld() - Method in interface net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource
Gets the world where the player used the command.
group(ItemGroup) - Method in class net.fabricmc.fabric.api.item.v1.FabricItemSettings
 

H

handleBreakingSpeed(BlockState, ItemStack, LivingEntity) - Static method in class net.fabricmc.fabric.api.tool.attribute.v1.ToolManager
Handles the breaking speed breaking a block.
handleBreakingSpeedIgnoresVanilla(BlockState, ItemStack, LivingEntity) - Static method in class net.fabricmc.fabric.api.tool.attribute.v1.ToolManager
Handles the breaking speed breaking a block, ignores vanilla tools on vanilla blocks.
handleIsEffectiveOn(BlockState, ItemStack, LivingEntity) - Static method in class net.fabricmc.fabric.api.tool.attribute.v1.ToolManager
Handles if the tool is effective on a block.
handleIsEffectiveOnIgnoresVanilla(BlockState, ItemStack, LivingEntity) - Static method in class net.fabricmc.fabric.api.tool.attribute.v1.ToolManager
Handles if the tool is effective on a block, ignores vanilla tools on vanilla blocks.
handleIsEffectiveOnIgnoresVanilla(BlockState, ItemStack, LivingEntity, boolean) - Static method in class net.fabricmc.fabric.api.tool.attribute.v1.ToolManager
Handles if the tool is effective on a block, ignores vanilla tools on vanilla blocks.
hardness(float) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
hardness(float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
hardness(AbstractBlock.Settings, float) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
harvestableItems(Iterable<Item>) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
Items that a Villager may harvest in this profession.
harvestableItems(Item...) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
Items that a Villager may harvest in this profession.
hasAttribute(RegistryAttribute) - Method in interface net.fabricmc.fabric.api.event.registry.RegistryAttributeHolder
 
hasBeenReplaced() - Method in interface net.fabricmc.fabric.api.tag.FabricTag
 
hasBuiltInFeature(ConfiguredFeature<?, ?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Returns true if this biome has the given configured feature, which must be registered in the BuiltinRegistries.
hasBuiltInStructure(ConfiguredStructureFeature<?, ?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Returns true if the given built-in configured structure from BuiltinRegistries can start in this biome.
hasBuiltInSurfaceBuilder(ConfiguredSurfaceBuilder<?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Returns true if this biome uses the given built-in surface builder, which must be registered in the BuiltinRegistries.
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 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 class net.fabricmc.fabric.api.transfer.v1.storage.base.ResourceAmount
 
hasNbt() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
Return true if this variant has a tag, false otherwise.
hasNext() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleViewIterator
 
hasNormal(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
If false, no vertex normal was provided.
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.
hasStructure(RegistryKey<ConfiguredStructureFeature<?, ?>>) - 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.
hasSurfaceBuilder(RegistryKey<ConfiguredSurfaceBuilder<?>>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext
Returns true if this biome uses a surface builder that has the given key.
HOES - Static variable in class net.fabricmc.fabric.api.tag.FabricItemTags
Deprecated.
 
HOES - Static variable in class net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags
 
HOES - Static variable in class net.fabricmc.fabric.api.tools.FabricToolTags
Deprecated.
 
HudRenderCallback - Interface in net.fabricmc.fabric.api.client.rendering.v1
 

I

icon(Supplier<ItemStack>) - Method in class net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder
This is used to add an icon to to the item group.
id(Identifier) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
The Identifier used to identify this villager profession.
IdentifiableResourceReloadListener - Interface in net.fabricmc.fabric.api.resource
Interface for "identifiable" resource reload listeners.
includeByKey(Collection<RegistryKey<Biome>>) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
Returns a selector that will accept only biomes whos keys are in the given collection of keys.
includeByKey(RegistryKey<Biome>...) - Static method in class net.fabricmc.fabric.api.biome.v1.BiomeSelectors
 
INGOT - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
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.
initialize(EntityRenderDispatcher, TextureManager, ReloadableResourceManager, ItemRenderer, Map<EntityType<?>, EntityRenderer<?>>) - Method in class net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry
 
insert(FluidVariant, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.EmptyItemFluidStorage
 
insert(FluidVariant, long, TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Deprecated.
 
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.world.World, net.minecraft.item.ItemStack).
insertStacking(List<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.model.ModelLoadingRegistry
 
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
 
INSTANCE - Static variable in class net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry
 
INSTANCE - Static variable in interface net.fabricmc.fabric.api.client.rendering.v1.BuiltinItemRendererRegistry
The singleton instance of the renderer registry.
INSTANCE - Static variable in interface net.fabricmc.fabric.api.client.screen.ScreenProviderRegistry
Deprecated.
 
INSTANCE - Static variable in interface net.fabricmc.fabric.api.container.ContainerProviderRegistry
Deprecated.
 
INSTANCE - Static variable in class net.fabricmc.fabric.api.entity.EntityTrackingRegistry
Deprecated.
INSTANCE - Static variable in interface net.fabricmc.fabric.api.loot.v1.LootEntryTypeRegistry
 
INSTANCE - Static variable in interface net.fabricmc.fabric.api.network.ClientSidePacketRegistry
Deprecated.
 
INSTANCE - Static variable in interface net.fabricmc.fabric.api.network.ServerSidePacketRegistry
Deprecated.
 
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.registry.LootEntryTypeRegistry
Deprecated.
INSTANCE - Static variable in interface net.fabricmc.fabric.api.renderer.v1.RendererAccess
 
INT - Static variable in class net.fabricmc.fabric.api.util.NbtType
 
INT_ARRAY - Static variable in class net.fabricmc.fabric.api.util.NbtType
 
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
 
invalidate() - Static method in class net.fabricmc.fabric.api.event.EventFactory
Invalidate and re-create all existing "invoker" instances across events created by this EventFactory.
InvalidateRenderStateCallback - Interface in net.fabricmc.fabric.api.client.render
Deprecated.
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's Inventory, SidedInventory and PlayerInventory.
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.
isBlank() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
Return true if this variant is blank, and false otherwise.
isBuiltin() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
 
isEnabledByDefault() - Method in enum net.fabricmc.fabric.api.resource.ResourcePackActivationType
Returns whether this resource pack will be enabled by default or not.
isLocalChannel(Channel) - Static method in class net.fabricmc.fabric.api.networking.v1.FutureListeners
Returns whether a netty channel performs local transportation, or if the message objects in the channel are directly passed than written to and read from a byte buf.
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
 
isProfilingEnabled() - Static method in class net.fabricmc.fabric.api.event.EventFactory
 
isResourceBlank() - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.FullItemFluidStorage
 
isResourceBlank() - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Deprecated.
 
isResourceBlank() - Method in class net.fabricmc.fabric.api.transfer.v1.item.base.SingleStackStorage
 
isResourceBlank() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.BlankVariantView
 
isResourceBlank() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantItemStorage
 
isResourceBlank() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleVariantStorage
 
isResourceBlank() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.StorageView
Return true if the StorageView.getResource() contained in this storage view is blank, or false otherwise.
isSideLit() - Method in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
 
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(Identifier) - Static method in class net.fabricmc.fabric.api.tag.TagRegistry
 
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
 
ItemConstructedCallback - Interface in net.fabricmc.fabric.api.event.registry
Deprecated.
Please migrate to v1. Please use Please use registry events instead.
ItemStorage - Class in net.fabricmc.fabric.api.transfer.v1.item
Access to Storage<ItemVariant> instances.
ItemTooltipCallback - Interface in net.fabricmc.fabric.api.client.item.v1
 
ItemTooltipCallback - Interface in net.fabricmc.fabric.api.event.client
Deprecated.
ItemVariant - Interface in net.fabricmc.fabric.api.transfer.v1.item
An immutable count-less ItemStack, i.e.
iterable(TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Iterate through the contents of this storage, for the scope of the passed transaction.
iterator(TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.EmptyItemFluidStorage
 
iterator(TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage
 
iterator(TransactionContext) - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.FilteringStorage
 
iterator(TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.base.SingleSlotStorage
 
iterator(TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Iterate through the contents of this storage, for the scope of the passed transaction.

J

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.
jumpVelocityMultiplier(float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 

K

KeyBindingHelper - Class in net.fabricmc.fabric.api.client.keybinding.v1
Helper for registering key bindings.
KeyBindingRegistry - Interface in net.fabricmc.fabric.api.client.keybinding
Deprecated.
Please migrate to v1. Please use KeyBindingHelper instead.

L

LANGUAGES - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
 
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.
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.block.FabricBlockSettings
Deprecated.
 
lightLevel(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
Deprecated.
lightLevel(ToIntFunction<BlockState>) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
lightLevel(AbstractBlock.Settings, int) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
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
 
lightPassesThrough() - Method in class net.fabricmc.fabric.api.block.FabricMaterialBuilder
Deprecated.
 
lightPassesThrough() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricMaterialBuilder
 
limitTime() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
 
liquid() - Method in class net.fabricmc.fabric.api.block.FabricMaterialBuilder
Deprecated.
 
liquid() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricMaterialBuilder
 
LIST - Static variable in class net.fabricmc.fabric.api.util.NbtType
 
literal(String) - Static method in class net.fabricmc.fabric.api.client.command.v1.ClientCommandManager
Creates a literal argument builder.
Living(SpawnGroup, EntityType.EntityFactory<T>) - Constructor for class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
 
LivingEntityFeatureRendererRegistrationCallback - Interface in net.fabricmc.fabric.api.client.rendereregistry.v1
Called when feature renderers for a living entity renderer are registered.
LivingEntityFeatureRendererRegistrationCallback.RegistrationHelper - Interface in net.fabricmc.fabric.api.client.rendereregistry.v1
A delegate object used to help register feature renderers for an entity renderer.
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 when a world is loaded by a Minecraft server.
loadModel(Identifier) - Method in interface net.fabricmc.fabric.api.client.model.ModelProviderContext
Load a model using a Identifier, ModelIdentifier, ...
loadModelResource(Identifier, ModelProviderContext) - Method in interface net.fabricmc.fabric.api.client.model.ModelResourceProvider
 
loadModelVariant(ModelIdentifier, ModelProviderContext) - Method in interface net.fabricmc.fabric.api.client.model.ModelVariantProvider
 
LONG - Static variable in class net.fabricmc.fabric.api.util.NbtType
 
LONG_ARRAY - Static variable in class net.fabricmc.fabric.api.util.NbtType
 
LOOT_TABLES - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
 
LootEntryTypeRegistry - Interface in net.fabricmc.fabric.api.loot.v1
Fabric's extensions to net.minecraft.loot.entry.LootEntries for registering custom loot entry types.
LootEntryTypeRegistry - Interface in net.fabricmc.fabric.api.registry
Deprecated.
LootJsonParser - Class in net.fabricmc.fabric.api.loot.v1
 
LootTableLoadingCallback - Interface in net.fabricmc.fabric.api.loot.v1.event
An event handler that is called when loot tables are loaded.
LootTableLoadingCallback.LootTableSetter - Interface in net.fabricmc.fabric.api.loot.v1.event
 
luminance(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
luminance(ToIntFunction<BlockState>) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 

M

map(BooleanFunction<? extends T>) - Method in enum net.fabricmc.fabric.api.util.TriState
Maps the boolean value of this tri-state if it is TriState.TRUE or TriState.FALSE.
markDirty() - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Deprecated.
Implement if you want.
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(AbstractBlock.Settings, MaterialColor) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
materialColor(MaterialColor) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
materialColor(MaterialColor) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
materialColor(DyeColor) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
materialColor(DyeColor) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
materialFinder() - Method in interface net.fabricmc.fabric.api.renderer.v1.Renderer
Obtain a new MaterialFinder instance used to retrieve standard RenderMaterial instances.
MaterialFinder - Interface in net.fabricmc.fabric.api.renderer.v1.material
Finds standard RenderMaterial instances used to communicate quad rendering characteristics to a RenderContext.
matrixStack() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
 
maxCount(int) - Method in class net.fabricmc.fabric.api.item.v1.FabricItemSettings
 
maxDamage(int) - Method in class net.fabricmc.fabric.api.item.v1.FabricItemSettings
 
maxDamageIfAbsent(int) - Method in class net.fabricmc.fabric.api.item.v1.FabricItemSettings
 
Mesh - Interface in net.fabricmc.fabric.api.renderer.v1.mesh
A bundle of one or more QuadView instances encoded by the renderer, typically via Renderer.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
Used by models to send vertex data previously baked via MeshBuilder.
Mob(SpawnGroup, EntityType.EntityFactory<T>) - Constructor for class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
MODDED - Enum constant in enum net.fabricmc.fabric.api.event.registry.RegistryAttribute
Registry has been modded.
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.
ModelAppender - Interface in net.fabricmc.fabric.api.client.model
Deprecated.
use ExtraModelProvider, which supports loading of plain Identifiers
ModelHelper - Class in net.fabricmc.fabric.api.renderer.v1.model
Collection of utilities for model implementations.
ModelLoadingRegistry - Interface in net.fabricmc.fabric.api.client.model
 
ModelProviderContext - Interface in net.fabricmc.fabric.api.client.model
The model loading context used during model providing.
ModelProviderException - Exception in net.fabricmc.fabric.api.client.model
 
ModelProviderException(String) - Constructor for exception net.fabricmc.fabric.api.client.model.ModelProviderException
 
ModelProviderException(String, Throwable) - Constructor for exception net.fabricmc.fabric.api.client.model.ModelProviderException
 
ModelResourceProvider - Interface in net.fabricmc.fabric.api.client.model
Interface for model resource providers.
MODELS - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
 
ModelVariantProvider - Interface in net.fabricmc.fabric.api.client.model
Interface for model variant providers.
ModificationPhase - Enum 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_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.
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.
ModResourcePack - Interface in net.fabricmc.fabric.api.resource
Interface implemented by mod-provided resource packs.
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.
MutableQuadView - Interface in net.fabricmc.fabric.api.renderer.v1.mesh
A mutable QuadView instance.

N

nbtMatches(CompoundTag) - 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.
NbtType - Class in net.fabricmc.fabric.api.util
NBT type ID constants.
nestingDepth() - Method in interface net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext
 
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.entity - package net.fabricmc.fabric.api.block.entity
 
net.fabricmc.fabric.api.blockrenderlayer.v1 - package net.fabricmc.fabric.api.blockrenderlayer.v1
 
net.fabricmc.fabric.api.client.command.v1 - package net.fabricmc.fabric.api.client.command.v1
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 - package net.fabricmc.fabric.api.client.itemgroup
 
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.model - package net.fabricmc.fabric.api.client.model
 
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 - package net.fabricmc.fabric.api.client.screen
 
net.fabricmc.fabric.api.client.screen.v1 - package net.fabricmc.fabric.api.client.screen.v1
Fabric Screen API v1.
net.fabricmc.fabric.api.client.screenhandler.v1 - package net.fabricmc.fabric.api.client.screenhandler.v1
API for working with screen handlers on the client.
net.fabricmc.fabric.api.client.texture - package net.fabricmc.fabric.api.client.texture
 
net.fabricmc.fabric.api.command.v1 - package net.fabricmc.fabric.api.command.v1
 
net.fabricmc.fabric.api.container - package net.fabricmc.fabric.api.container
 
net.fabricmc.fabric.api.dimension.v1 - package net.fabricmc.fabric.api.dimension.v1
 
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 - package net.fabricmc.fabric.api.event.client
 
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.network - package net.fabricmc.fabric.api.event.network
 
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.event.server - package net.fabricmc.fabric.api.event.server
 
net.fabricmc.fabric.api.event.world - package net.fabricmc.fabric.api.event.world
 
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.item.v1 - package net.fabricmc.fabric.api.item.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.item - package net.fabricmc.fabric.api.lookup.v1.item
 
net.fabricmc.fabric.api.loot.v1 - package net.fabricmc.fabric.api.loot.v1
 
net.fabricmc.fabric.api.loot.v1.event - package net.fabricmc.fabric.api.loot.v1.event
 
net.fabricmc.fabric.api.network - package net.fabricmc.fabric.api.network
 
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.advancement - package net.fabricmc.fabric.api.object.builder.v1.advancement
 
net.fabricmc.fabric.api.object.builder.v1.block - package net.fabricmc.fabric.api.object.builder.v1.block
 
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.registry - package net.fabricmc.fabric.api.registry
 
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.screenhandler.v1 - package net.fabricmc.fabric.api.screenhandler.v1
The Fabric screen handler API for creating screen handlers.
net.fabricmc.fabric.api.server - package net.fabricmc.fabric.api.server
 
net.fabricmc.fabric.api.structure.v1 - package net.fabricmc.fabric.api.structure.v1
 
net.fabricmc.fabric.api.tag - package net.fabricmc.fabric.api.tag
 
net.fabricmc.fabric.api.tool.attribute.v1 - package net.fabricmc.fabric.api.tool.attribute.v1
 
net.fabricmc.fabric.api.tools - package net.fabricmc.fabric.api.tools
 
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
 
NetherBiomes - Class in net.fabricmc.fabric.api.biome.v1
API that exposes the internals of Minecraft's nether biome code.
next() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.SingleViewIterator
 
noCollision() - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
noCollision() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
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
 
nonOpaque() - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
nonOpaque() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
normal(int, float, float, float) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
Adds a vertex normal.
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 - Enum constant in enum net.fabricmc.fabric.api.resource.ResourcePackActivationType
Normal activation.
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.
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.block.FabricMaterialBuilder
Deprecated.
 
notSolid() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricMaterialBuilder
 
NUGGET - Static variable in class net.fabricmc.fabric.api.transfer.v1.fluid.FluidConstants
 
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
Any numeric value: byte, short, int, long, float, double.

O

of(boolean) - Static method in enum net.fabricmc.fabric.api.util.TriState
Gets the corresponding tri-state from a boolean value.
of(Boolean) - Static method in enum 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(Material) - Static method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
of(Material) - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
of(Material, MaterialColor) - Static method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
of(Material, MaterialColor) - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
of(Material, DyeColor) - Static method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
of(Material, DyeColor) - Static method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
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, CompoundTag) - 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, CompoundTag) - 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.
of(LootPool) - Static method in class net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder
 
of(LootTable) - Static method in class net.fabricmc.fabric.api.loot.v1.FabricLootSupplierBuilder
 
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.
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.world.World, net.minecraft.item.ItemStack).
ofPlayerCursor(PlayerEntity) - 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.
onAttackInteraction(BlockState, World, BlockPos, PlayerEntity, Hand, Direction) - Method in interface net.fabricmc.fabric.api.block.BlockAttackInteractionAware
 
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
 
onChannelRegister(ClientPlayNetworkHandler, PacketSender, MinecraftClient, List<Identifier>) - Method in interface net.fabricmc.fabric.api.client.networking.v1.C2SPlayChannelEvents.Register
 
onChannelRegister(ServerPlayNetworkHandler, PacketSender, MinecraftServer, List<Identifier>) - Method in interface net.fabricmc.fabric.api.networking.v1.S2CPlayChannelEvents.Register
 
onChannelUnregister(ClientPlayNetworkHandler, PacketSender, MinecraftClient, List<Identifier>) - Method in interface net.fabricmc.fabric.api.client.networking.v1.C2SPlayChannelEvents.Unregister
 
onChannelUnregister(ServerPlayNetworkHandler, PacketSender, MinecraftServer, List<Identifier>) - Method in interface net.fabricmc.fabric.api.networking.v1.S2CPlayChannelEvents.Unregister
 
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
 
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.storage.base.SingleViewIterator
 
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.
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
 
onEntryRemoved(int, Identifier, T) - Method in interface net.fabricmc.fabric.api.event.registry.RegistryEntryRemovedCallback
 
onFinalCommit() - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Deprecated.
 
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.
onHudRender(MatrixStack, float) - 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.
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, PacketSender, ServerLoginNetworking.LoginSynchronizer) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerLoginConnectionEvents.QueryStart
 
onLootTableLoading(ResourceManager, LootManager, Identifier, FabricLootSupplierBuilder, LootTableLoadingCallback.LootTableSetter) - Method in interface net.fabricmc.fabric.api.loot.v1.event.LootTableLoadingCallback
 
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
 
onRegistrySetup(DynamicRegistryManager) - 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
 
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
 
onStartServer(MinecraftServer) - Method in interface net.fabricmc.fabric.api.event.server.ServerStartCallback
Deprecated.
 
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.
onStopServer(MinecraftServer) - Method in interface net.fabricmc.fabric.api.event.server.ServerStopCallback
Deprecated.
 
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.
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
 
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
 
openContainer(Identifier, PlayerEntity, Consumer<PacketByteBuf>) - Method in interface net.fabricmc.fabric.api.container.ContainerProviderRegistry
Deprecated.
Open a modded container.
openContainer(Identifier, ServerPlayerEntity, Consumer<PacketByteBuf>) - Method in interface net.fabricmc.fabric.api.container.ContainerProviderRegistry
Deprecated.
Open a modded container.
openNested() - Method in interface net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext
Open a new nested transaction.
openNested(TransactionContext) - Static method in interface net.fabricmc.fabric.api.transfer.v1.transaction.Transaction
Open a nested transaction if maybeParent is non null, or an outer transaction if maybeParent is null.
openOuter() - Static method in interface net.fabricmc.fabric.api.transfer.v1.transaction.Transaction
Open a new outer transaction.
orElse(boolean) - Method in enum net.fabricmc.fabric.api.util.TriState
Gets the value of this tri-state.
orElseGet(BooleanSupplier) - Method in enum net.fabricmc.fabric.api.util.TriState
Gets the value of this tri-state.
orElseThrow(Supplier<X>) - Method in enum 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.
OverworldBiomes - Class in net.fabricmc.fabric.api.biome.v1
API that exposes some internals of the minecraft default biome source for the overworld.
OverworldClimate - Enum in net.fabricmc.fabric.api.biome.v1
Represents the climates of biomes on the overworld continents.

P

PacketByteBufs - Class in net.fabricmc.fabric.api.networking.v1
Helper methods for working with and creating PacketByteBufs.
PacketConsumer - Interface in net.fabricmc.fabric.api.network
Deprecated.
See the corresponding play packet handler in ClientPlayNetworking or ServerPlayNetworking
PacketContext - Interface in net.fabricmc.fabric.api.network
Deprecated.
PacketRegistry - Interface in net.fabricmc.fabric.api.network
Deprecated.
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 extends net.minecraft.particle.ParticleEffect> - Interface in net.fabricmc.fabric.api.client.particle.v1
A pending particle factory.
parts - Variable in class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage
 
PERSISTED - Enum constant in enum net.fabricmc.fabric.api.event.registry.RegistryAttribute
Registry will be saved to disk when modded.
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.FabricItemTags
Deprecated.
 
PICKAXES - Static variable in class net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags
 
PICKAXES - Static variable in class net.fabricmc.fabric.api.tools.FabricToolTags
Deprecated.
 
pistonBehavior(PistonBehavior) - Method in class net.fabricmc.fabric.api.block.FabricMaterialBuilder
Deprecated.
 
pistonBehavior(PistonBehavior) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricMaterialBuilder
 
PlayerBlockBreakEvents - Class in net.fabricmc.fabric.api.event.player
 
PlayerBlockBreakEvents.After - Interface in net.fabricmc.fabric.api.event.player
 
PlayerBlockBreakEvents.Before - Interface in net.fabricmc.fabric.api.event.player
 
PlayerBlockBreakEvents.Canceled - Interface in net.fabricmc.fabric.api.event.player
 
PlayerInventoryStorage - Interface in net.fabricmc.fabric.api.transfer.v1.item
A Storage<ItemVariant> implementation for a PlayerInventory.
PlayerLookup - Class in net.fabricmc.fabric.api.networking.v1
For example, a block entity may use the methods in this class to send a packet to all clients which can see the block entity in order notify clients about a change.
PlayerStream - Class in net.fabricmc.fabric.api.server
Deprecated.
Please use PlayerLookup instead.
PointOfInterestHelper - Class in net.fabricmc.fabric.api.object.builder.v1.world.poi
This class provides utilities to create a PointOfInterestType.
pool(LootPool.Builder) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootSupplierBuilder
 
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.
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
 
posByIndex(int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
Convenience: access x, y, z by index 0-2.
POST_PROCESSING - Enum constant in enum 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
 
postProcessMiningSpeed(Tag<Item>, BlockState, ItemStack, LivingEntity, float, boolean) - Method in interface net.fabricmc.fabric.api.tool.attribute.v1.DynamicAttributeTool
Post process the mining speed, this takes place after the mining speed has been calculated.
profiler() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
Convenient access to game performance profiler.
projectionMatrix() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
 
provideExtraModels(ResourceManager, Consumer<Identifier>) - Method in interface net.fabricmc.fabric.api.client.model.ExtraModelProvider
Provides an opportunity inform the game that you would like it to load and bake a model, even if that model is not used by any blocks or items.
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
Map (or re-map) a item with a render layer.
putItems(RenderLayer, Item...) - Method in interface net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap
Map (or re-map) multiple items with a render layer.

Q

QuadEmitter - Interface in net.fabricmc.fabric.api.renderer.v1.mesh
Specialized MutableQuadView obtained via MeshBuilder.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.
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.

R

rarity(Rarity) - Method in class net.fabricmc.fabric.api.item.v1.FabricItemSettings
 
read(Reader, Class<T>) - Static method in class net.fabricmc.fabric.api.loot.v1.LootJsonParser
 
read(String, Class<T>) - Static method in class net.fabricmc.fabric.api.loot.v1.LootJsonParser
 
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.
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<FluidVariant>) - Method in class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Deprecated.
 
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().
receive(MinecraftClient, ClientLoginNetworkHandler, PacketByteBuf, Consumer<GenericFutureListener<? extends Future<? super Void>>>) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientLoginNetworking.LoginQueryRequestHandler
Handles an incoming query request from a server.
receive(MinecraftClient, ClientPlayNetworkHandler, PacketByteBuf, PacketSender) - Method in interface net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking.PlayChannelHandler
Handles an incoming packet.
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(MinecraftServer, ServerPlayerEntity, ServerPlayNetworkHandler, PacketByteBuf, PacketSender) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.PlayChannelHandler
Handles an incoming packet.
recipeRemainder(Item) - Method in class net.fabricmc.fabric.api.item.v1.FabricItemSettings
 
RECIPES - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
 
refreshOffers() - Static method in class net.fabricmc.fabric.api.object.builder.v1.trade.TradeOfferHelper
Deprecated.
This never did anything useful.
register() - Method in class net.fabricmc.fabric.api.structure.v1.FabricStructureBuilder
Registers this structure and applies the other changes from the FabricStructureBuilder.
register(boolean, Consumer<CommandDispatcher<ServerCommandSource>>) - Method in class net.fabricmc.fabric.api.registry.CommandRegistry
Deprecated.
Register a command provider.
register(ItemConvertible, BuiltinItemRendererRegistry.DynamicItemRenderer) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.BuiltinItemRendererRegistry
Registers the renderer for the item.
register(CommandDispatcher<ServerCommandSource>, boolean) - Method in interface net.fabricmc.fabric.api.command.v1.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(BlockEntityType<E>, Function<BlockEntityRenderDispatcher, BlockEntityRenderer<? super E>>) - Method in interface net.fabricmc.fabric.api.client.rendereregistry.v1.BlockEntityRendererRegistry
Register a BlockEntityRenderer for a BlockEntityType.
register(FeatureRenderer<T, ? extends EntityModel<T>>) - Method in interface net.fabricmc.fabric.api.client.rendereregistry.v1.LivingEntityFeatureRendererRegistrationCallback.RegistrationHelper
Adds a feature renderer to the entity renderer.
register(Sprite) - Method in class net.fabricmc.fabric.api.event.client.ClientSpriteRegistryCallback.Registry
Register a custom sprite to be added and loaded.
register(EntityType<?>, EntityRendererRegistry.Factory) - Method in class net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry
 
register(EntityType<? extends LivingEntity>, DefaultAttributeContainer.Builder) - Static method in class net.fabricmc.fabric.api.entity.FabricDefaultAttributeRegistry
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, int, int) - Method in class net.fabricmc.fabric.api.entity.EntityTrackingRegistry
Deprecated.
register(EntityType, int, int, boolean) - Method in class net.fabricmc.fabric.api.entity.EntityTrackingRegistry
Deprecated.
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(ItemConvertible, BuiltinItemRenderer) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.BuiltinItemRendererRegistry
register(Item, BuiltinItemRenderer) - Method in interface net.fabricmc.fabric.api.client.rendering.v1.BuiltinItemRendererRegistry
register(Item, Identifier, ModelPredicateProvider) - Static method in class net.fabricmc.fabric.api.object.builder.v1.client.model.FabricModelPredicateProviderRegistry
Registers a model predicate provider to a specific item.
register(LootPoolEntry.Serializer<?>) - Method in interface net.fabricmc.fabric.api.registry.LootEntryTypeRegistry
Deprecated.
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(ScreenHandlerType<? extends H>, ScreenRegistry.Factory<H, S>) - Static method in class net.fabricmc.fabric.api.client.screenhandler.v1.ScreenRegistry
Registers a new screen factory for a screen handler type.
register(Identifier) - Method in class net.fabricmc.fabric.api.event.client.ClientSpriteRegistryCallback.Registry
Register a sprite to be loaded using the default implementation.
register(Identifier) - Static method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerTypeHelper
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, int, Predicate<PointOfInterestType>, 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, Predicate<PointOfInterestType>, int, Block...) - Static method in class net.fabricmc.fabric.api.object.builder.v1.world.poi.PointOfInterestHelper
Creates and registers a PointOfInterestType.
register(Identifier, PacketConsumer) - Method in interface net.fabricmc.fabric.api.network.PacketRegistry
Deprecated.
Register a packet.
register(Identifier, ModelPredicateProvider) - Static method in class net.fabricmc.fabric.api.object.builder.v1.client.model.FabricModelPredicateProviderRegistry
Registers a model predicate provider that is applicable for any item.
register(Identifier, JsonSerializer<? extends LootPoolEntry>) - Method in interface net.fabricmc.fabric.api.loot.v1.LootEntryTypeRegistry
Registers a loot entry type serializer by its ID.
register(Identifier, T) - Method in class net.fabricmc.fabric.api.event.Event
Register a listener to the event for the specified phase.
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(T) - Static method in class net.fabricmc.fabric.api.object.builder.v1.advancement.CriterionRegistry
Registers a criterion for a trigger for advancements.
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.S2CPlayChannelEvents
An event for the server play network handler receiving an update indicating the connected client's ability to receive packets in certain channels.
registerAppender(ModelAppender) - Method in interface net.fabricmc.fabric.api.client.model.ModelLoadingRegistry
Deprecated.
Use ModelLoadingRegistry.registerModelProvider(ExtraModelProvider) instead, which supports loading of plain Identifiers
registerBlockAtlas(ClientSpriteRegistryCallback) - Static method in interface net.fabricmc.fabric.api.event.client.ClientSpriteRegistryCallback
Deprecated.
registerBuiltinResourcePack(Identifier, String, ModContainer, boolean) - Static method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
Deprecated.
Please use ResourceManagerHelper.registerBuiltinResourcePack(Identifier, ModContainer, ResourcePackActivationType) instead, the sub path should be removed in a future release in favor of the identifier path.
registerBuiltinResourcePack(Identifier, ModContainer, ResourcePackActivationType) - Static method in interface net.fabricmc.fabric.api.resource.ResourceManagerHelper
Registers a built-in resource pack.
REGISTERED - Static variable in interface net.fabricmc.fabric.api.event.network.C2SPacketTypeCallback
Deprecated.
REGISTERED - Static variable in interface net.fabricmc.fabric.api.event.network.S2CPacketTypeCallback
Deprecated.
registerExtended(Identifier, ScreenHandlerRegistry.ExtendedClientHandlerFactory<T>) - Static method in class net.fabricmc.fabric.api.screenhandler.v1.ScreenHandlerRegistry
Creates and registers a new ScreenHandlerType that creates client-sided screen handlers with additional networked opening data.
registerFactory(Identifier, ContainerScreenFactory<C>) - Method in interface net.fabricmc.fabric.api.client.screen.ScreenProviderRegistry
Deprecated.
Register a "Container -> ContainerScreen" factory.
registerFactory(Identifier, ContainerFactory<HandledScreen>) - Method in interface net.fabricmc.fabric.api.client.screen.ScreenProviderRegistry
Deprecated.
Register a "packet -> ContainerScreen" factory.
registerFactory(Identifier, ContainerFactory<ScreenHandler>) - Method in interface net.fabricmc.fabric.api.container.ContainerProviderRegistry
Deprecated.
Register a "packet buffer -> container" factory.
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(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.
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.
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, ClientPlayNetworking.PlayChannelHandler) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Registers a handler to a channel.
registerGlobalReceiver(Identifier, ServerLoginNetworking.LoginQueryResponseHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking
Registers a handler to a query response channel.
registerGlobalReceiver(Identifier, ServerPlayNetworking.PlayChannelHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Registers a handler to a channel.
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.
registerModel(ArmorRenderingRegistry.ModelProvider, Iterable<Item>) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderingRegistry
Registers a provider for custom armor models for an item.
registerModel(ArmorRenderingRegistry.ModelProvider, Item...) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderingRegistry
Registers a provider for custom armor models for an item.
registerModelProvider(ExtraModelProvider) - Method in interface net.fabricmc.fabric.api.client.model.ModelLoadingRegistry
Register a model provider, which can request loading additional models.
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, Identifier, ServerPlayNetworking.PlayChannelHandler) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Registers a handler to a channel.
registerReceiver(Identifier, ClientLoginNetworking.LoginQueryRequestHandler) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientLoginNetworking
Registers a handler to a query request channel.
registerReceiver(Identifier, ClientPlayNetworking.PlayChannelHandler) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Registers a handler to a channel.
registerReloadListener(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) - Method in interface net.fabricmc.fabric.api.client.rendereregistry.v1.LivingEntityFeatureRendererRegistrationCallback
Called when feature renderers may be registered.
registerResourceProvider(Function<ResourceManager, ModelResourceProvider>) - Method in interface net.fabricmc.fabric.api.client.model.ModelLoadingRegistry
Register a ModelResourceProvider supplier.
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(ItemConvertible...) - Method in interface net.fabricmc.fabric.api.lookup.v1.item.ItemApiLookup
Expose the API for the passed items directly implementing it.
registerSimple(Identifier, ScreenHandlerRegistry.SimpleClientHandlerFactory<T>) - Static method in class net.fabricmc.fabric.api.screenhandler.v1.ScreenHandlerRegistry
Creates and registers a new ScreenHandlerType that creates client-sided screen handlers using the factory.
registerSimpleTexture(Identifier, Item...) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderingRegistry
Register simple armor items to use the vanilla armor file name under the mods namespace.
registerSprites(SpriteAtlasTexture, ClientSpriteRegistryCallback.Registry) - Method in interface net.fabricmc.fabric.api.event.client.ClientSpriteRegistryCallback
 
registerTexture(ArmorRenderingRegistry.TextureProvider, Iterable<Item>) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderingRegistry
Registers a provider for custom texture models for an item.
registerTexture(ArmorRenderingRegistry.TextureProvider, Item...) - Static method in class net.fabricmc.fabric.api.client.rendering.v1.ArmorRenderingRegistry
Registers a provider for custom texture models for an item.
registerVariantProvider(Function<ResourceManager, ModelVariantProvider>) - Method in interface net.fabricmc.fabric.api.client.model.ModelLoadingRegistry
Register a ModelVariantProvider supplier.
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.
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.
Registry(Map<Identifier, Sprite>, Consumer<Identifier>) - Constructor for class net.fabricmc.fabric.api.event.client.ClientSpriteRegistryCallback.Registry
 
RegistryAttribute - Enum in net.fabricmc.fabric.api.event.registry
 
RegistryAttributeHolder - Interface in net.fabricmc.fabric.api.event.registry
 
RegistryEntryAddedCallback<T> - Interface in net.fabricmc.fabric.api.event.registry
 
RegistryEntryRemovedCallback<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(ResourceReloadListener.Synchronizer, ResourceManager, Profiler, Profiler, Executor, Executor) - Method in interface net.fabricmc.fabric.api.resource.SimpleResourceReloadListener
 
REMOVALS - Enum constant in enum 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(Tag<Block>) - Method in interface net.fabricmc.fabric.api.util.Block2ObjectMap
 
remove(Tag<Item>) - Method in interface net.fabricmc.fabric.api.util.Item2ObjectMap
 
removeBuiltInCarver(ConfiguredCarver<?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
removeBuiltInCarver(GenerationStep.Carver, ConfiguredCarver<?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
removeBuiltInFeature(ConfiguredFeature<?, ?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
removeBuiltInFeature(GenerationStep.Feature, ConfiguredFeature<?, ?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
removeBuiltInStructure(ConfiguredStructureFeature<?, ?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
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<ConfiguredFeature<?, ?>>) - 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<ConfiguredFeature<?, ?>>) - 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.
removeStructure(RegistryKey<ConfiguredStructureFeature<?, ?>>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Removes a configured structure from the structures that are allowed to start in this biome.
removeStructure(StructureFeature<?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Removes a structure from the structures that are allowed to start in this biome.
render(ItemStack, ModelTransformation.Mode, 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
BlockView-extending interface to be used by FabricBakedModel for dynamic model customization.
RenderAttachmentBlockEntity - Interface in net.fabricmc.fabric.api.rendering.data.v1
Interface for BlockEntitys which provide dynamic model state data.
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.QuadTransform - Interface in net.fabricmc.fabric.api.renderer.v1.render
 
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.
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.
replaceable() - Method in class net.fabricmc.fabric.api.block.FabricMaterialBuilder
Deprecated.
 
replaceable() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricMaterialBuilder
 
REPLACEMENTS - Enum constant in enum net.fabricmc.fabric.api.biome.v1.ModificationPhase
The appropriate phase for modifiers that replace existing features with modified features.
requiresTool() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
Make the block require tool to drop and slows down mining speed if the incorrect tool is used.
resistance(float) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
resistance(float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
resistance(AbstractBlock.Settings, float) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
resource() - Method in class net.fabricmc.fabric.api.transfer.v1.storage.base.ResourceAmount
 
ResourceAmount<T> - 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 class net.fabricmc.fabric.api.transfer.v1.storage.base.ResourceAmount
 
ResourceManagerHelper - Interface in net.fabricmc.fabric.api.resource
Helper for working with ResourceManager instances, and other resource loader generalities.
ResourcePackActivationType - Enum in net.fabricmc.fabric.api.resource
Represents the resource pack activation type.
ResourceReloadListenerKeys - Class in net.fabricmc.fabric.api.resource
This class contains default keys for various Minecraft resource reload listeners.
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.
rolls(LootTableRange) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder
 

S

S2CPacketTypeCallback - Interface in net.fabricmc.fabric.api.event.network
Deprecated.
Please migrate to C2SPlayChannelEvents since this was incorrectly named.
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
 
ScreenEvents - Class in net.fabricmc.fabric.api.client.screen.v1
Holds events related to Screens.
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
 
ScreenHandlerRegistry - Class in net.fabricmc.fabric.api.screenhandler.v1
An API for creating and registering screen handler types.
ScreenHandlerRegistry.ExtendedClientHandlerFactory<T extends net.minecraft.screen.ScreenHandler> - Interface in net.fabricmc.fabric.api.screenhandler.v1
A factory for client-sided screen handler instances with additional screen opening data.
ScreenHandlerRegistry.SimpleClientHandlerFactory<T extends net.minecraft.screen.ScreenHandler> - Interface in net.fabricmc.fabric.api.screenhandler.v1
A factory for client-sided screen handler instances.
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
 
ScreenProviderRegistry - Interface in net.fabricmc.fabric.api.client.screen
Deprecated.
Use ScreenRegistry instead.
ScreenRegistry - Class in net.fabricmc.fabric.api.client.screenhandler.v1
An API for registering handled screens that represent screen handlers on the client.
ScreenRegistry.Factory<H extends net.minecraft.screen.ScreenHandler,​S extends net.minecraft.client.gui.screen.Screen & net.minecraft.client.gui.screen.ingame.ScreenHandlerProvider<H>> - Interface in net.fabricmc.fabric.api.client.screenhandler.v1
A factory for handled screens.
Screens - Class in net.fabricmc.fabric.api.client.screen.v1
Utility methods related to screens.
secondaryJobSites(Iterable<Block>) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
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
A collection of blocks blocks which may suffice as a secondary job site for a Villager.
send(ServerPlayerEntity, Identifier, PacketByteBuf) - Static method in class net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
Sends a packet to a player.
send(Identifier, PacketByteBuf) - Static method in class net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
Sends a packet to the connected server.
sendError(Text) - Method in interface net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource
Sends an error message to the player.
sendFeedback(Text) - Method in interface net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource
Sends a feedback message to the player.
sendPacket(Packet<?>) - Method in interface net.fabricmc.fabric.api.networking.v1.PacketSender
Sends a packet.
sendPacket(Packet<?>, GenericFutureListener<? extends Future<? super Void>>) - 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.PacketSender
Sends a packet to a channel.
sendPacket(Identifier, PacketByteBuf, GenericFutureListener<? extends Future<? super Void>>) - Method in interface net.fabricmc.fabric.api.networking.v1.PacketSender
Sends a packet to a channel.
sendToPlayer(PlayerEntity, Packet<?>) - Method in interface net.fabricmc.fabric.api.network.ServerSidePacketRegistry
Deprecated.
Send a packet to a given client.
sendToPlayer(PlayerEntity, Packet<?>, GenericFutureListener<? extends Future<? super Void>>) - Method in interface net.fabricmc.fabric.api.network.ServerSidePacketRegistry
Deprecated.
Send a packet to a given client.
sendToPlayer(PlayerEntity, Identifier, PacketByteBuf) - Method in interface net.fabricmc.fabric.api.network.ServerSidePacketRegistry
Deprecated.
Send an identifier/buffer-based packet to a given client.
sendToPlayer(PlayerEntity, Identifier, PacketByteBuf, GenericFutureListener<? extends Future<? super Void>>) - Method in interface net.fabricmc.fabric.api.network.ServerSidePacketRegistry
Deprecated.
Send an identifier/buffer-based packet to a given client.
sendToServer(Packet<?>) - Method in interface net.fabricmc.fabric.api.network.ClientSidePacketRegistry
Deprecated.
Send a packet to the server.
sendToServer(Packet<?>, GenericFutureListener<? extends Future<? super Void>>) - Method in interface net.fabricmc.fabric.api.network.ClientSidePacketRegistry
Deprecated.
Send a packet to the server.
sendToServer(Identifier, PacketByteBuf) - Method in interface net.fabricmc.fabric.api.network.ClientSidePacketRegistry
Deprecated.
Send an identifier/buffer-based packet to the server.
sendToServer(Identifier, PacketByteBuf, GenericFutureListener<? extends Future<? super Void>>) - Method in interface net.fabricmc.fabric.api.network.ClientSidePacketRegistry
Deprecated.
Send an identifier/buffer-based packet to the server.
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_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
 
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.Load - 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.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
 
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 all futures passed into ServerLoginNetworking.LoginSynchronizer.waitFor(Future) are completed.
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
 
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.PlayChannelHandler - Interface in net.fabricmc.fabric.api.networking.v1
 
ServerSidePacketRegistry - Interface in net.fabricmc.fabric.api.network
Deprecated.
Please migrate to ServerPlayNetworking.
ServerStartCallback - Interface in net.fabricmc.fabric.api.event.server
Deprecated.
ServerStopCallback - Interface in net.fabricmc.fabric.api.event.server
Deprecated.
ServerTickCallback - Interface in net.fabricmc.fabric.api.event.server
Deprecated.
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(LootTable) - Method in interface net.fabricmc.fabric.api.loot.v1.event.LootTableLoadingCallback.LootTableSetter
 
setAdditionsSound(BiomeAdditionsSound) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setAdditionsSound(Optional<BiomeAdditionsSound>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setAmbientSound(SoundEvent) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setAmbientSound(Optional<SoundEvent>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setBuiltInSurfaceBuilder(ConfiguredSurfaceBuilder<?>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Sets the biomes surface builder to a surface builder registered in BuiltinRegistries.CONFIGURED_SURFACE_BUILDER.
setCategory(Biome.Category) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext
 
setCreatureSpawnProbability(float) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.SpawnSettingsContext
Associated JSON property: creature_spawn_probability.
setDepth(float) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext
 
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
 
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
 
setGrassColorModifier(BiomeEffects.GrassColorModifier) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setImmuneToFire() - Method in class net.fabricmc.fabric.api.entity.FabricEntityTypeBuilder
Deprecated.
 
setMoodSound(BiomeMoodSound) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setMoodSound(Optional<BiomeMoodSound>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setMusic(MusicSound) - 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
 
setParticleConfig(BiomeParticleConfig) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setParticleConfig(Optional<BiomeParticleConfig>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.EffectsContext
 
setPlayerSpawnFriendly(boolean) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.SpawnSettingsContext
Associated JSON property: player_spawn_friendly.
setPrecipitation(Biome.Precipitation) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.WeatherContext
 
setRiverBiome(RegistryKey<Biome>, RegistryKey<Biome>) - Static method in class net.fabricmc.fabric.api.biome.v1.OverworldBiomes
Sets the river type that will generate in the biome.
setScale(float) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext
 
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.
setSurfaceBuilder(RegistryKey<ConfiguredSurfaceBuilder<?>>) - Method in interface net.fabricmc.fabric.api.biome.v1.BiomeModificationContext.GenerationSettingsContext
Sets the biomes surface builder to the surface builder identified by the given key.
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
 
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
 
SHEARS - Static variable in class net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags
 
SHORT - Static variable in class net.fabricmc.fabric.api.util.NbtType
 
SHOVELS - Static variable in class net.fabricmc.fabric.api.tag.FabricItemTags
Deprecated.
 
SHOVELS - Static variable in class net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags
 
SHOVELS - Static variable in class net.fabricmc.fabric.api.tools.FabricToolTags
Deprecated.
 
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.
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.
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(T, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Convenient helper to simulate an extraction, i.e.
simulateInsert(T, long, TransactionContext) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
Convenient helper to simulate an insertion, i.e.
SingleFluidStorage - Class in net.fabricmc.fabric.api.transfer.v1.fluid.base
Deprecated.
Superseded by SingleVariantStorage. Will be removed in a future iteration of the API.
SingleFluidStorage() - Constructor for class net.fabricmc.fabric.api.transfer.v1.fluid.base.SingleFluidStorage
Deprecated.
 
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 extends TransferVariant<?>> - 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 extends TransferVariant<?>> - 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
 
SingleViewIterator<T> - Class in net.fabricmc.fabric.api.transfer.v1.storage.base
An iterator for a single StorageView, tied to a transaction.
size(float, float) - Method in class net.fabricmc.fabric.api.entity.FabricEntityTypeBuilder
size(EntityDimensions) - Method in class net.fabricmc.fabric.api.entity.FabricEntityTypeBuilder
Deprecated.
 
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.
slipperiness(float) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
slipperiness(float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
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 - Enum constant in enum net.fabricmc.fabric.api.biome.v1.OverworldClimate
Includes Snowy Tundra (with a weight of 3) and Snowy Taiga (with a weight of 1).
SOLID - Enum constant in enum 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
 
sounds(AbstractBlock.Settings, BlockSoundGroup) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
sounds(BlockSoundGroup) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
sounds(BlockSoundGroup) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
SOUNDS - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
 
spawnableFarFromPlayer() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
 
spawnableFarFromPlayer() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
spawnableFarFromPlayer() - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Sets whether this entity type can be spawned far away from a player.
spawnGroup(SpawnGroup) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
 
spawnGroup(SpawnGroup) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
spawnGroup(SpawnGroup) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
 
spawnRestriction(SpawnRestriction.Location, Heightmap.Type, SpawnRestriction.SpawnPredicate<T>) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
Registers a spawn restriction for this entity.
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.
specificSpawnBlocks(Block...) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
 
specificSpawnBlocks(Block...) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
specificSpawnBlocks(Block...) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Sets the ImmutableSet of blocks this entity can spawn on.
sprite(int, int, float, float) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
Set sprite atlas coordinates.
sprite(int, int, float, float) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
 
sprite(int, int, Vec2f) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
Set sprite atlas coordinates.
sprite(int, int, Vec2f) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
Set sprite atlas coordinates.
spriteBake(int, 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(int, 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
Retrieve vertex color.
spriteColor(int, int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
Set sprite color.
spriteColor(int, int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
 
spriteColor(int, int, int, int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.MutableQuadView
Convenience: set sprite color for all vertices at once.
spriteColor(int, int, int, int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
 
spriteDepth() - Method in interface net.fabricmc.fabric.api.renderer.v1.material.RenderMaterial
How many sprite color/uv coordinates are in the material.
spriteDepth(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.material.MaterialFinder
Reserved for future use.
SpriteFinder - Interface in net.fabricmc.fabric.api.renderer.v1.model
Indexes a texture atlas to allow fast lookup of Sprites from baked vertex coordinates.
spriteU(int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
Retrieve horizontal sprite atlas coordinates.
spriteUnitSquare(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadEmitter
 
spriteV(int, int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
Retrieve vertical sprite atlas coordinates.
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.
stacksForDisplay(Consumer<List<ItemStack>>) - Method in class net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder
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, ServerResourceManager) - Method in interface net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.StartDataPackReload
 
step(GenerationStep.Feature) - Method in class net.fabricmc.fabric.api.structure.v1.FabricStructureBuilder
Sets the generation step of this structure.
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.
StoragePreconditions - Class in net.fabricmc.fabric.api.transfer.v1.storage
Preconditions that can be used when working with storages.
StorageUtil - Class in net.fabricmc.fabric.api.transfer.v1.storage
Helper functions to work with Storages.
StorageUtil() - Constructor for class net.fabricmc.fabric.api.transfer.v1.storage.StorageUtil
 
StorageView<T> - Interface in net.fabricmc.fabric.api.transfer.v1.storage
strength(float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
strength(float, float) - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
strength(float, float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
strength(AbstractBlock.Settings, float) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
STRING - Static variable in class net.fabricmc.fabric.api.util.NbtType
 
suffocates(AbstractBlock.ContextPredicate) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
superflatFeature(FC) - Method in class net.fabricmc.fabric.api.structure.v1.FabricStructureBuilder
Sets the structure configuration which spawns in superflat worlds.
superflatFeature(ConfiguredStructureFeature<FC, ? extends StructureFeature<FC>>) - Method in class net.fabricmc.fabric.api.structure.v1.FabricStructureBuilder
Sets the structure configuration which spawns in superflat worlds.
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.
SWORDS - Static variable in class net.fabricmc.fabric.api.tag.FabricItemTags
Deprecated.
 
SWORDS - Static variable in class net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags
 
SWORDS - Static variable in class net.fabricmc.fabric.api.tools.FabricToolTags
Deprecated.
 
sync() - Method in interface net.fabricmc.fabric.api.block.entity.BlockEntityClientSerializable
When called on the server, schedules a BlockEntity sync to client.
SYNCED - Enum constant in enum net.fabricmc.fabric.api.event.registry.RegistryAttribute
Registry will be synced to the client when modded.

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
 
TagRegistry - Class in net.fabricmc.fabric.api.tag
Helper methods for registering Tags.
TAGS - Static variable in class net.fabricmc.fabric.api.resource.ResourceReloadListenerKeys
 
teleport(E, ServerWorld, TeleportTarget) - Static method in class net.fabricmc.fabric.api.dimension.v1.FabricDimensions
Teleports an entity to a different dimension, placing it at the specified destination.
TEMPERATE - Enum constant in enum net.fabricmc.fabric.api.biome.v1.OverworldClimate
Includes Forest, Dark Forest, Mountains, Plains, Birch Forest, and Swamp (all with weights of 1).
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(MinecraftClient) - Method in interface net.fabricmc.fabric.api.event.client.ClientTickCallback
Deprecated.
 
tick(MinecraftServer) - Method in interface net.fabricmc.fabric.api.event.server.ServerTickCallback
Deprecated.
 
tick(World) - Method in interface net.fabricmc.fabric.api.event.world.WorldTickCallback
Deprecated.
 
tickDelta() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext
 
ticksRandomly() - Method in class net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
 
ticksRandomly() - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
ticksRandomly(AbstractBlock.Settings) - Static method in class net.fabricmc.fabric.api.block.BlockSettingsExtensions
Deprecated.
 
toBakedQuad(int, Sprite, boolean) - 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.
toClientTag(CompoundTag) - Method in interface net.fabricmc.fabric.api.block.entity.BlockEntityClientSerializable
 
toFaceIndex(Direction) - Static method in class net.fabricmc.fabric.api.renderer.v1.model.ModelHelper
Convenient way to encode faces that may be null.
toNbt() - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
Save this variant into an NBT compound tag.
ToolManager - Class in net.fabricmc.fabric.api.tool.attribute.v1
API facing part to register tool handlers and get information about how tools are handled.
toPacket(PacketByteBuf) - Method in interface net.fabricmc.fabric.api.transfer.v1.storage.TransferVariant
Write this variant into a packet byte buffer.
toPacket(Identifier, PacketByteBuf) - Method in interface net.fabricmc.fabric.api.network.PacketRegistry
Deprecated.
Turn a (identifier, byte buffer) pair into a "custom payload" packet suitable for sending in the PacketRegistry's sending direction.
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
 
toVanilla(int, int[], int, boolean) - 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.
trackable(int, int) - Method in class net.fabricmc.fabric.api.entity.FabricEntityTypeBuilder
Deprecated.
 
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.entity.FabricEntityTypeBuilder
Deprecated.
 
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
 
trackedUpdateRate(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
trackedUpdateRate(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
 
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
 
trackRangeBlocks(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
trackRangeBlocks(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Sets the maximum block range at which players can see this entity type.
trackRangeChunks(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living
 
trackRangeChunks(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Mob
 
trackRangeChunks(int) - Method in class net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder
Sets the maximum chunk tracking range of this entity type.
TradeOfferHelper - Class in net.fabricmc.fabric.api.object.builder.v1.trade
Utilities to help with registration of trade 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.
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 in net.fabricmc.fabric.api.transfer.v1.transaction
The result of a transaction operation.
TransferVariant<O> - Interface in net.fabricmc.fabric.api.transfer.v1.storage
An immutable association of an immutable object instance (for example Item or Fluid) and an optional NBT tag.
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 net.fabricmc.fabric.api.renderer.v1.material.BlendMode
Pixels are blended with the background according to alpha color values.
TriState - Enum 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 net.fabricmc.fabric.api.util.TriState
Represents the boolean value of true.
type(LootContextType) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootSupplierBuilder
 

U

union(GenericFutureListener<A>, GenericFutureListener<B>) - Static method in class net.fabricmc.fabric.api.networking.v1.FutureListeners
Combines two future listeners.
UNLOAD - Static variable in class net.fabricmc.fabric.api.event.lifecycle.v1.ServerWorldEvents
Called before a world is unloaded by a Minecraft server.
unregister(Identifier) - Method in interface net.fabricmc.fabric.api.network.PacketRegistry
Deprecated.
Unregister a packet.
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.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.
UNREGISTERED - Static variable in interface net.fabricmc.fabric.api.event.network.C2SPacketTypeCallback
Deprecated.
UNREGISTERED - Static variable in interface net.fabricmc.fabric.api.event.network.S2CPacketTypeCallback
Deprecated.
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 of a channel.
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 of a channel.
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 of a channel.
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 of a channel.
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.
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.
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.

V

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.
valueOf(String) - Static method in enum net.fabricmc.fabric.api.biome.v1.ModificationPhase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.fabricmc.fabric.api.biome.v1.OverworldClimate
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.fabricmc.fabric.api.event.registry.RegistryAttribute
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.fabricmc.fabric.api.renderer.v1.material.BlendMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.fabricmc.fabric.api.resource.ResourcePackActivationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.Result
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.fabricmc.fabric.api.util.TriState
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.fabricmc.fabric.api.biome.v1.ModificationPhase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.fabricmc.fabric.api.biome.v1.OverworldClimate
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.fabricmc.fabric.api.event.registry.RegistryAttribute
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.fabricmc.fabric.api.renderer.v1.material.BlendMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.fabricmc.fabric.api.resource.ResourcePackActivationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.Result
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.fabricmc.fabric.api.util.TriState
Returns an array containing the constants of this enum type, 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_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
 
velocityMultiplier(float) - Method in class net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings
 
vertexConsumer() - Method in interface net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext.BlockOutlineContext
Deprecated.
VillagerProfessionBuilder - Class in net.fabricmc.fabric.api.object.builder.v1.villager
Allows for the creation of new VillagerProfessions.
VillagerTypeHelper - Class in net.fabricmc.fabric.api.object.builder.v1.villager
Utilities related to the creation of VillagerTypes.
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.

W

waitFor(Future<?>) - Method in interface net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking.LoginSynchronizer
Allows blocking client log-in until the future is done.
wasAborted() - Method in enum net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.Result
 
wasCommitted() - Method in enum net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext.Result
 
watching(BlockEntity) - Static method in class net.fabricmc.fabric.api.server.PlayerStream
Deprecated.
 
watching(Entity) - Static method in class net.fabricmc.fabric.api.server.PlayerStream
Deprecated.
Warning: If the provided entity is a PlayerEntity themselves, it is not guaranteed by the contract that said PlayerEntity is included in the resulting stream.
watching(World, BlockPos) - Static method in class net.fabricmc.fabric.api.server.PlayerStream
Deprecated.
 
watching(World, ChunkPos) - Static method in class net.fabricmc.fabric.api.server.PlayerStream
Deprecated.
 
with(LootPoolEntry.Builder<?>) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder
 
withCondition(LootCondition) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder
 
withEntry(LootPoolEntry) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder
 
withFunction(LootFunction) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder
 
withFunction(LootFunction) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootSupplierBuilder
 
withFunctions(Collection<LootFunction>) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootSupplierBuilder
 
withInitial(ItemVariant, long) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Return a context that can accept anything, and will accept (and destroy) any overflow items, with some initial variant and amount.
withInitial(ItemStack) - Static method in interface net.fabricmc.fabric.api.transfer.v1.context.ContainerItemContext
Return a context that can accept anything, and will accept (and destroy) any overflow items, with some initial content.
withPool(LootPool) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootSupplierBuilder
 
withPools(Collection<LootPool>) - Method in class net.fabricmc.fabric.api.loot.v1.FabricLootSupplierBuilder
 
workSound(SoundEvent) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
Provides the sound made when a Villager works.
workstation(PointOfInterestType) - Method in class net.fabricmc.fabric.api.object.builder.v1.villager.VillagerProfessionBuilder
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.
world(World) - Static method in class net.fabricmc.fabric.api.server.PlayerStream
Deprecated.
 
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(MatrixStack, float, long, boolean, Camera, GameRenderer, LightmapTextureManager, Matrix4f).
WorldRenderContext.BlockOutlineContext - Interface in net.fabricmc.fabric.api.client.rendering.v1
Used in BLOCK_OUTLINE to convey the parameters normally sent to WorldRenderer.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.util.math.MatrixStack, float, long, boolean, net.minecraft.client.render.Camera, net.minecraft.client.render.GameRenderer, net.minecraft.client.render.LightmapTextureManager, net.minecraft.util.math.Matrix4f) without adding complicated and conflict-prone injections there.
WorldRenderEvents.AfterEntities - 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
 
WorldTickCallback - Interface in net.fabricmc.fabric.api.event.world
Deprecated.
wrapped - Variable in class net.fabricmc.fabric.api.renderer.v1.model.ForwardingBakedModel
implementations must set this somehow.
writeScreenOpeningData(ServerPlayerEntity, PacketByteBuf) - Method in interface net.fabricmc.fabric.api.screenhandler.v1.ExtendedScreenHandlerFactory
Writes additional server -> client screen opening data to the buffer.

X

x(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
Geometric position, x coordinate.

Y

y(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
Geometric position, y coordinate.

Z

z(int) - Method in interface net.fabricmc.fabric.api.renderer.v1.mesh.QuadView
Geometric position, z coordinate.
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes|All Packages|Constant Field Values|Deprecated API|Serialized Form