Index

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

A

abbreviated() - Method in interface net.darkhax.bookshelf.common.api.text.unit.IUnit
Gets the abbreviated name of the unit.
AbstractPacket<T> - Class in net.darkhax.bookshelf.common.api.network
A basic packet implementation.
AbstractPacket(Identifier, StreamCodec) - Constructor for class net.darkhax.bookshelf.common.api.network.AbstractPacket
A packet that is sent from the server to the client.
AbstractPacket(Identifier, StreamCodec, Destination) - Constructor for class net.darkhax.bookshelf.common.api.network.AbstractPacket
A simple packet type.
accept(P1, P2, P3) - Method in interface net.darkhax.bookshelf.common.api.function.TriConsumer
 
accept(P1, P2, P3, P4) - Method in interface net.darkhax.bookshelf.common.api.function.QuadConsumer
Consumes the parameters.
AccessorBannerBlockEntity - Interface in net.darkhax.bookshelf.common.mixin.access.block
 
AccessorBaseContainerBlockEntity - Interface in net.darkhax.bookshelf.common.mixin.access.block
 
AccessorBlockEntityRenderers - Interface in net.darkhax.bookshelf.common.mixin.access.block
 
AccessorCompositeEntryBase - Interface in net.darkhax.bookshelf.common.mixin.access.loot
 
AccessorCropBlock - Interface in net.darkhax.bookshelf.common.mixin.access.block
 
AccessorDynamicLoot - Interface in net.darkhax.bookshelf.common.mixin.access.loot
 
AccessorEntity - Interface in net.darkhax.bookshelf.common.mixin.access.entity
 
AccessorFontManager - Interface in net.darkhax.bookshelf.common.mixin.access.client
 
AccessorLootItem - Interface in net.darkhax.bookshelf.common.mixin.access.loot
 
AccessorLootPool - Interface in net.darkhax.bookshelf.common.mixin.access.loot
 
AccessorLootPoolSingletonContainer - Interface in net.darkhax.bookshelf.common.mixin.access.loot
 
AccessorLootTable - Interface in net.darkhax.bookshelf.common.mixin.access.loot
 
AccessorMinecraft - Interface in net.darkhax.bookshelf.common.mixin.access.client
 
AccessorNestedLootTable - Interface in net.darkhax.bookshelf.common.mixin.access.loot
 
AccessorRecipeManager - Interface in net.darkhax.bookshelf.common.mixin.access.level
 
AccessorRecipeMap - Interface in net.darkhax.bookshelf.common.mixin.access.level
 
AccessorTagEntry - Interface in net.darkhax.bookshelf.common.mixin.access.loot
 
AccessSimpleParticleType - Interface in net.darkhax.bookshelf.common.mixin.access.particles
 
ACTIVITY - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
add(String) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.PotPatternAdapter
Adds a new decorated pot pattern to the game registry.
add(String) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.RecipeTypeAdapter
 
add(String, MapCodec, StreamCodec) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.IngredientTypeAdapter
Adds a new type of ingredient to the game.
add(String, Class, ArgumentTypeInfo) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.CommandArgumentAdapter
 
add(String, Consumer) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.CreativeModeTabAdapter
Adds a new creative mode tab to the game.
add(String, Function) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.ItemRegistryAdapter
 
add(String, Function, UnaryOperator) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.ItemRegistryAdapter
 
add(String, Supplier, CreativeModeTab.DisplayItemsGenerator) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.CreativeModeTabAdapter
Adds a new creative mode tab to the game.
add(String, Supplier) - Method in class net.darkhax.bookshelf.common.api.registry.adapters.GameRegistryAdapter
 
add(String, Supplier) - Method in class net.darkhax.bookshelf.common.api.registry.adapters.GenericRegistryAdapter
 
add(String, Supplier) - Method in interface net.darkhax.bookshelf.common.api.registry.adapters.RegistryAdapter
Adds a value to the registry.
add(String, UnaryOperator) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.ItemRegistryAdapter
 
add(String, PoolTarget, Item, int) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
 
add(String, PoolTarget, ItemStackTemplate, int) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
 
add(String, PoolTarget, LootPoolEntryContainer) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
 
add(String, LootPoolEntryDescriber) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootDescriptionAdapter
 
add(String, Identifier, int, int, Item, int) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
 
add(String, Identifier, int, int, ItemStackTemplate, int) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
 
add(String, Identifier, int, int, LootPoolEntryContainer) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
 
add(String, ResourceKey, int, int, Item, int) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
 
add(String, ResourceKey, int, int, ItemStackTemplate, int) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
 
add(String, ResourceKey, int, int, LootPoolEntryContainer) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
 
add(String, V) - Method in interface net.darkhax.bookshelf.common.api.registry.adapters.RegistryAdapter
Adds a value to the registry.
add(IPacket) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.PacketAdapter
 
add(Identifier, Supplier) - Method in class net.darkhax.bookshelf.common.api.registry.adapters.GenericRegistryAdapter
Adds a value to the registry.
add(Identifier, LootPoolEntryDescriber) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootDescriptionAdapter
 
add(Identifier, V) - Method in class net.darkhax.bookshelf.common.api.registry.adapters.GenericRegistryAdapter
Adds a value to the registry.
addCreativeTabForms(CreativeModeTab, Consumer) - Method in interface net.darkhax.bookshelf.common.api.item.IItemHooks
 
addItem(ItemStack, NonNullList, int[]) - Method in interface net.darkhax.bookshelf.common.api.util.IGameplayHelper
Attempts to add an item to a list based inventory.
addPlaceable(String, Supplier) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.BlockRegistryAdapter
Adds a new block to the block registry and queues up a BlockItem to be registered automatically during item registration.
addPlaceable(String, Supplier, Function) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.BlockRegistryAdapter
Adds a new block to the block registry and queues up a custom placer item to be registered automatically during item registry.
addPlaceableBlock(RegistryReference, Function) - Method in class net.darkhax.bookshelf.common.api.registry.RegistrationContext
Associates a block with a factory that provides its corresponding item form.
addPotPatternItem(Item, ResourceKey) - Method in class net.darkhax.bookshelf.common.api.registry.RegistrationContext
Associates an item with a decorated pot pattern.
addUnique(Collection, Component) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Adds a component to a list, only if the list does not already contain that component.
addWithItem(String, Supplier) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.PotPatternAdapter
Adds a new decorated pot pattern to the game registry and associates it with an item.
addWithItem(String, Item) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.PotPatternAdapter
Adds a new decorated pot pattern to the game registry and associates it with an item.
ADMIN - Enum constant in enum class net.darkhax.bookshelf.common.api.commands.PermissionLevel
These players can use commands related to player management.
advancementIds() - Method in record class net.darkhax.bookshelf.common.impl.data.criterion.trigger.AdvancementTrigger.Instance
Returns the value of the advancementIds record component.
AdvancementTrigger - Class in net.darkhax.bookshelf.common.impl.data.criterion.trigger
 
AdvancementTrigger() - Constructor for class net.darkhax.bookshelf.common.impl.data.criterion.trigger.AdvancementTrigger
 
AdvancementTrigger.Instance - Record Class in net.darkhax.bookshelf.common.impl.data.criterion.trigger
 
AllOfIngredient - Class in net.darkhax.bookshelf.common.impl.data.ingredient
 
AllOfIngredient(List) - Constructor for class net.darkhax.bookshelf.common.impl.data.ingredient.AllOfIngredient
 
allowLoading() - Method in interface net.darkhax.bookshelf.common.api.data.conditions.ILoadCondition
Tests if the condition has been met or not.
allowLoading() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.And
 
allowLoading() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.ModLoaded
 
allowLoading() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.Not
 
allowLoading() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.OnPlatform
 
allowLoading() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.Or
 
allowLoading() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.RegistryContains
 
ALT - Enum constant in enum class net.darkhax.bookshelf.common.api.text.font.BuiltinFonts
A magical font based on the Standard Galactic Alphabet.
ALWAYS_FALSE - Static variable in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
 
ALWAYS_TRUE - Static variable in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
 
and(ComposableEntryContainer) - Method in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
 
And - Class in net.darkhax.bookshelf.common.impl.data.conditions
This load condition will test an array of sub-conditions and make sure all of them are met.
andThen(Function) - Method in interface net.darkhax.bookshelf.common.api.function.TriFunction
 
andThen(QuadConsumer) - Method in interface net.darkhax.bookshelf.common.api.function.QuadConsumer
Chains another consumer on to this one.
andThen(TriConsumer) - Method in interface net.darkhax.bookshelf.common.api.function.TriConsumer
 
apply(Consumer) - Method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
Invokes the consumer with the cached value.
apply(P1, P2, P3) - Method in interface net.darkhax.bookshelf.common.api.function.TriFunction
 
applyFont(Component, Identifier) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Recursively applies a font to text and all of its subcomponents.
ARCHAEOLOGY_DESERT_WELL - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
ARCHAEOLOGY_OCEAN_RUIN_COLD - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
ARCHAEOLOGY_OCEAN_RUIN_WARM - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
ARCHAEOLOGY_PYRAMID - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
ARCHAEOLOGY_TRAIL_RUINS_COMMON - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
ARCHAEOLOGY_TRAIL_RUINS_RARE - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
arg(CommandBuildContext, ResourceKey) - Static method in class net.darkhax.bookshelf.common.api.commands.args.TagArgument
 
ArgTemplate(ArgumentSerializer, V) - Constructor for class net.darkhax.bookshelf.common.api.commands.args.ArgumentSerializer.ArgTemplate
 
argType() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.CommandArgumentAdapter.TypeInfo
Returns the value of the argType record component.
argument() - Static method in class net.darkhax.bookshelf.common.api.commands.args.FontArgument
 
argument(String) - Static method in class net.darkhax.bookshelf.common.api.commands.args.FontArgument
 
ARGUMENT - Static variable in class net.darkhax.bookshelf.common.api.commands.args.FontArgument
 
ArgumentSerializer<T,V> - Class in net.darkhax.bookshelf.common.api.commands.args
 
ArgumentSerializer(MapCodec, StreamCodec, BiFunction, Function) - Constructor for class net.darkhax.bookshelf.common.api.commands.args.ArgumentSerializer
 
ArgumentSerializer.ArgTemplate<T,V> - Class in net.darkhax.bookshelf.common.api.commands.args
 
arrayCodec() - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
Gets a codec that can read and write an array.
arrayCodec(String, Function) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
A helper for defining a field for an array of this type in a RecordCodecBuilder.
arrayCodec(String, Function, T...) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
A helper for defining a field for an array of this type in a RecordCodecBuilder.
ATTRIBUTE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
ATTRIBUTE_MODIFIER - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
ATTRIBUTE_OPERATION - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
average(int...) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Calculates the average of many integers.
AXIS - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 

B

BIDIRECTIONAL - Enum constant in enum class net.darkhax.bookshelf.common.api.network.Destination
Describes a situation where the packet can originate from and be handled by a client or a server.
bind(MenuType, MenuScreenAdapter.ScreenFactory) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.MenuScreenAdapter
 
bind(BlockEntityType, BlockEntityRendererProvider) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.BlockEntityRendererAdapter
 
bindFunc() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.BlockEntityRendererAdapter
Returns the value of the bindFunc record component.
BIOME_SOURCE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
BLOCK - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
BLOCK - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.RegistryContains
 
BLOCK_ENTITY - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.RegistryContains
 
BLOCK_ENTITY_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
BLOCK_POS - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
BLOCK_PREDICATE_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
BLOCK_STATE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
BLOCK_STATE_MAP_CODEC - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
BLOCK_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
BlockEntityRendererAdapter - Record Class in net.darkhax.bookshelf.common.impl.registry.adapter
 
BlockEntityRendererAdapter(BiConsumer) - Constructor for record class net.darkhax.bookshelf.common.impl.registry.adapter.BlockEntityRendererAdapter
Creates an instance of a BlockEntityRendererAdapter record class.
BlockPosData - Class in net.darkhax.bookshelf.common.api.menu.data
Allows a block position to be kept in sync using the container system.
BlockPosData(BlockPos) - Constructor for class net.darkhax.bookshelf.common.api.menu.data.BlockPosData
 
BlockPosData(BlockPos, boolean) - Constructor for class net.darkhax.bookshelf.common.api.menu.data.BlockPosData
 
BlockRegistryAdapter - Class in net.darkhax.bookshelf.common.impl.registry.adapter
A registry adapter for the block registry.
BlockRegistryAdapter(RegistrationContext, ResourceKey, BiConsumer) - Constructor for class net.darkhax.bookshelf.common.impl.registry.adapter.BlockRegistryAdapter
 
blockSprite(Identifier) - Method in interface net.darkhax.bookshelf.common.api.util.IRenderHelper
 
BLOCKSTATE_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
BlockTagIngredient - Class in net.darkhax.bookshelf.common.impl.data.ingredient
 
BlockTagIngredient(List) - Constructor for class net.darkhax.bookshelf.common.impl.data.ingredient.BlockTagIngredient
 
bookshelf$bonusRolls() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootPool
 
bookshelf$byType() - Method in interface net.darkhax.bookshelf.common.mixin.access.level.AccessorRecipeMap
 
bookshelf$children() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorCompositeEntryBase
 
bookshelf$conditions() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootPool
 
bookshelf$contents() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorNestedLootTable
 
bookshelf$create(Holder, int, int, List, List) - Static method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootItem
 
bookshelf$createHoverEvent() - Method in interface net.darkhax.bookshelf.common.mixin.access.entity.AccessorEntity
 
bookshelf$entries() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootPool
 
bookshelf$expand() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorTagEntry
 
bookshelf$functions() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootTable
 
bookshelf$getFontManager() - Method in interface net.darkhax.bookshelf.common.mixin.access.client.AccessorMinecraft
 
bookshelf$getFonts() - Method in interface net.darkhax.bookshelf.common.mixin.access.client.AccessorFontManager
 
bookshelf$getHash() - Method in interface net.darkhax.bookshelf.common.impl.data.loot.modifiers.ILootPoolHooks
 
bookshelf$getHash() - Method in class net.darkhax.bookshelf.common.mixin.patch.loot.MixinLootPool
 
bookshelf$getRecipes() - Method in interface net.darkhax.bookshelf.common.mixin.access.level.AccessorRecipeManager
 
bookshelf$getSeed() - Method in interface net.darkhax.bookshelf.common.mixin.access.block.AccessorCropBlock
 
bookshelf$item() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootItem
 
bookshelf$matches(int) - Method in interface net.darkhax.bookshelf.common.impl.data.loot.modifiers.ILootPoolHooks
 
bookshelf$name() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorDynamicLoot
 
bookshelf$name(Component) - Method in interface net.darkhax.bookshelf.common.mixin.access.block.AccessorBaseContainerBlockEntity
 
bookshelf$pools() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootTable
 
bookshelf$quality() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootPoolSingletonContainer
 
bookshelf$randomSequence() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootTable
 
bookshelf$register(BlockEntityType, BlockEntityRendererProvider) - Static method in interface net.darkhax.bookshelf.common.mixin.access.block.AccessorBlockEntityRenderers
 
bookshelf$rolls() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootPool
 
bookshelf$setEntries(List) - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootPool
 
bookshelf$setHash(int) - Method in interface net.darkhax.bookshelf.common.impl.data.loot.modifiers.ILootPoolHooks
 
bookshelf$setHash(int) - Method in class net.darkhax.bookshelf.common.mixin.patch.loot.MixinLootPool
 
bookshelf$tag() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorTagEntry
 
bookshelf$weight() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootPoolSingletonContainer
 
BookshelfContent - Class in net.darkhax.bookshelf.common.impl
 
BookshelfContent() - Constructor for class net.darkhax.bookshelf.common.impl.BookshelfContent
 
BookshelfMod - Class in net.darkhax.bookshelf.common.impl
 
BookshelfMod() - Constructor for class net.darkhax.bookshelf.common.impl.BookshelfMod
 
BookshelfTags - Class in net.darkhax.bookshelf.common.api.data
 
BookshelfTags() - Constructor for class net.darkhax.bookshelf.common.api.data.BookshelfTags
 
BOOLEAN - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
boundsForPixels(int, int, int, int, int, int) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Creates an Axis Aligned Bounding Box from a series of pixel measurements.
build() - Static method in class net.darkhax.bookshelf.common.impl.command.FontCommand
 
build() - Static method in class net.darkhax.bookshelf.common.impl.command.StructureCommand
 
build(CommandBuildContext) - Static method in enum class net.darkhax.bookshelf.common.impl.command.DebugCommands
 
build(CommandBuildContext) - Static method in class net.darkhax.bookshelf.common.impl.command.EnchantCommand
 
build(CommandBuildContext) - Static method in enum class net.darkhax.bookshelf.common.impl.command.HandCommand
 
build(CommandBuildContext) - Static method in class net.darkhax.bookshelf.common.impl.command.RenameCommand
 
build(CommandBuildContext) - Static method in class net.darkhax.bookshelf.common.impl.command.TranslateCommand
 
buildFromEnum(ArgumentBuilder, Class) - Static method in class net.darkhax.bookshelf.common.api.util.CommandHelper
Creates branching command paths that represent the values of an enum.
buildFromEnum(String, Class) - Static method in class net.darkhax.bookshelf.common.api.util.CommandHelper
Creates a command with branching paths that represent the values of an enum.
BuiltinFonts - Enum Class in net.darkhax.bookshelf.common.api.text.font
Constant references to all built-in Minecraft fonts.
BYTE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 

C

cache(Supplier) - Static method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
Creates a cached supplier that will cache a value from the supplied delegate when queried.
CachedSupplier<T> - Class in net.darkhax.bookshelf.common.api.function
A Supplier implementation that will cache the result of an internal delegate supplier.
CachedSupplier(Supplier) - Constructor for class net.darkhax.bookshelf.common.api.function.CachedSupplier
 
canLoad() - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Checks if content from the provider should be loaded or not.
canLoad(JsonObject) - Static method in class net.darkhax.bookshelf.common.api.data.conditions.LoadConditions
Tests if a raw JSON element can be loaded.
canSendPacket(ServerPlayer, IPacket) - Method in interface net.darkhax.bookshelf.common.api.network.INetworkHandler
Tests if a payload type can be sent to a player.
canSendPacket(ServerPlayer, CustomPacketPayload) - Method in interface net.darkhax.bookshelf.common.api.network.INetworkHandler
Tests if a payload type can be sent to a player.
canSendPacket(ServerPlayer, Identifier) - Method in interface net.darkhax.bookshelf.common.api.network.INetworkHandler
Tests if a payload type can be sent to a player.
CARVER - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
cast() - Method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
Performs an unsafe cast to the expected type.
CAT_GIFT - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
CENTER - Enum constant in enum class net.darkhax.bookshelf.common.api.text.format.PropertyFormat
Formats a property with the separator aligned in the center.
chargeExperiencePoints(Player, int) - Static method in class net.darkhax.bookshelf.common.api.util.ExperienceHelper
Attempts to charge the player an experience point cost.
check() - Method in enum class net.darkhax.bookshelf.common.api.commands.PermissionLevel
 
CHUNK_GENERATOR - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
CHUNK_STATUS - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
CLIENT - Enum constant in enum class net.darkhax.bookshelf.common.api.PhysicalSide
A physical client.
CLIENT_TO_SERVER - Enum constant in enum class net.darkhax.bookshelf.common.api.network.Destination
Describes a situation where the client has a payload that will be sent to a server.
codec() - Method in record class net.darkhax.bookshelf.common.api.data.conditions.ConditionType
Returns the value of the codec record component.
codec() - Method in class net.darkhax.bookshelf.common.impl.data.criterion.trigger.AdvancementTrigger
 
codec() - Method in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
 
codec() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.IngredientTypeAdapter.IngredientType
Returns the value of the codec record component.
CODEC - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.And
 
CODEC - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.ModLoaded
 
CODEC - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.Not
 
CODEC - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.OnPlatform
 
CODEC - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.Or
 
CODEC - Static variable in class net.darkhax.bookshelf.common.impl.data.ingredient.AllOfIngredient
 
CODEC - Static variable in class net.darkhax.bookshelf.common.impl.data.ingredient.BlockTagIngredient
 
CODEC - Static variable in class net.darkhax.bookshelf.common.impl.data.ingredient.EitherIngredient
 
CODEC - Static variable in class net.darkhax.bookshelf.common.impl.data.ingredient.FalseIngredient
 
CODEC - Static variable in class net.darkhax.bookshelf.common.impl.data.ingredient.ModIdIngredient
 
CODEC - Static variable in class net.darkhax.bookshelf.common.mixin.patch.loot.MixinLootPool
 
CODEC_HELPER - Static variable in class net.darkhax.bookshelf.common.api.data.conditions.LoadConditions
 
COMMAND_ARGUMENT_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
CommandArgumentAdapter - Class in net.darkhax.bookshelf.common.impl.registry.adapter
 
CommandArgumentAdapter(RegistrationContext, BiConsumer) - Constructor for class net.darkhax.bookshelf.common.impl.registry.adapter.CommandArgumentAdapter
 
CommandArgumentAdapter.TypeInfo<A> - Record Class in net.darkhax.bookshelf.common.impl.registry.adapter
 
CommandHelper - Class in net.darkhax.bookshelf.common.api.util
 
CommandHelper() - Constructor for class net.darkhax.bookshelf.common.api.util.CommandHelper
 
COMPONENTS - Enum constant in enum class net.darkhax.bookshelf.common.impl.command.HandCommand
 
COMPOSITE - Static variable in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
 
COMPOUND_TAG - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
CONDITION_CODEC - Static variable in class net.darkhax.bookshelf.common.api.data.conditions.LoadConditions
 
ConditionType - Record Class in net.darkhax.bookshelf.common.api.data.conditions
Represents a type of load condition that Bookshelf can process and test.
ConditionType(Identifier, MapCodec) - Constructor for record class net.darkhax.bookshelf.common.api.data.conditions.ConditionType
Creates an instance of a ConditionType record class.
containerSubList(ListTag, Predicate) - Static method in class net.darkhax.bookshelf.common.api.util.DataHelper
Creates a sublist of an inventory tag based on a predicate on the slot indexes.
CONTENT - Static variable in class net.darkhax.bookshelf.common.api.service.Services
 
ContentProvider - Interface in net.darkhax.bookshelf.common.api.registry
An interface for adding custom game content such as blocks and items during the appropriate stages of the game's lifecycle.
context - Variable in class net.darkhax.bookshelf.common.api.registry.adapters.GameRegistryAdapter
Context that is shared by all registry adapters owned by the same namespace.
context - Variable in class net.darkhax.bookshelf.common.api.registry.adapters.GenericRegistryAdapter
Context that is shared by all registry adapters owned by the same namespace.
context() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.PacketAdapter
Returns the value of the context record component.
copyText(String) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Creates a text component that will copy the value to the players clipboard when they click it.
create(int, Inventory) - Method in interface net.darkhax.bookshelf.common.impl.registry.adapter.MenuTypeAdapter.ClientMenuFactory
 
create(Registry) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.RegistryMapCodecHelper
Creates a Codec helper for a builtin registry.
create(ResourceKey) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.RegistryMapCodecHelper
Creates a Codec helper for a datapack registry.
create(T, Inventory, Component) - Method in interface net.darkhax.bookshelf.common.impl.registry.adapter.MenuScreenAdapter.ScreenFactory
 
createHorizontalShapes(double, double, double, double, double, double) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Creates horizontally rotated variants of a VoxelShape.
createItemStack(Consumer, LootContext) - Method in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
 
CREATIVE_MODE_TAB - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
CreativeModeTabAdapter - Class in net.darkhax.bookshelf.common.impl.registry.adapter
 
CreativeModeTabAdapter(RegistrationContext, ResourceKey, BiConsumer) - Constructor for class net.darkhax.bookshelf.common.impl.registry.adapter.CreativeModeTabAdapter
 
CUMULATIVE - Enum constant in enum class net.darkhax.bookshelf.common.api.data.enchantment.EnchantmentLevel
Returns the combined level of all matching enchantments.

D

DATA_COMPONENT_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
DataHelper - Class in net.darkhax.bookshelf.common.api.util
 
DataHelper() - Constructor for class net.darkhax.bookshelf.common.api.util.DataHelper
 
DAY - Enum constant in enum class net.darkhax.bookshelf.common.api.text.unit.Units
 
DebugCommands - Enum Class in net.darkhax.bookshelf.common.impl.command
 
DebugCommands.DebugTask - Interface in net.darkhax.bookshelf.common.impl.command
 
DECIMAL_2 - Static variable in class net.darkhax.bookshelf.common.api.util.MathsHelper
A decimal format that will only preserve two decimal places.
decode(DynamicOps, T1) - Method in class net.darkhax.bookshelf.common.impl.data.loot.modifiers.FingerprintCodec
 
decode(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.common.api.data.codecs.EnumStreamCodec
 
decodeBytesFromInt(int[]) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Decodes an array of bytes from an array of integers.
DECORATED_POT_PATTERN - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
DEFAULT - Enum constant in enum class net.darkhax.bookshelf.common.api.text.font.BuiltinFonts
The default pixel font that appears in the game.
defineAttributes(GameRegistryAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new attributes with the game.
defineBlockEntities(GameRegistryAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new block entities with the game.
defineBlockRenderers(BlockEntityRendererAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Associates a block entity with a block entity renderer.
defineBlocks(BlockRegistryAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new blocks with the game.
defineBrews(PotionBrewing.Builder) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new potion brewing recipes with the game.
defineCommandArguments(CommandArgumentAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new command argument types with the game.
defineCommandArguments(CommandArgumentAdapter) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
 
defineCommands(CommandDispatcher, CommandBuildContext, Commands.CommandSelection) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new commands with the game.
defineCommands(CommandDispatcher, CommandBuildContext, Commands.CommandSelection) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
 
defineCreativeTabs(CreativeModeTabAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new creative mode tabs with the game.
defineCriteriaTriggers(GameRegistryAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new criteria triggers with the game.
defineCriteriaTriggers(GameRegistryAdapter) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
 
defineEnchantmentComponents(GameRegistryAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new enchantment components with the game.
defineEntities(GameRegistryAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers entity types with the game.
defineIngredientTypes(IngredientTypeAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new ingredient types with the game.
defineIngredientTypes(IngredientTypeAdapter) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
 
defineItemComponents(GameRegistryAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new item components with the game.
defineItems(ItemRegistryAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new items with the game.
defineLoadConditions(GenericRegistryAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers a new bookshelf load condition for JSON resources.
defineLoadConditions(GenericRegistryAdapter) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
 
defineLootDescriptions(LootDescriptionAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers a new descriptor for loot entries.
defineLootDescriptions(LootDescriptionAdapter) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
 
defineLootEntryTypes(GameRegistryAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new loot entry types with the game.
defineLootEntryTypes(GameRegistryAdapter) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
 
defineLootPoolAdditions(LootPoolAdditionAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Inject entries into existing loot pools.
defineMenuScreens(MenuScreenAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Associates menu types with screens.
defineMenuType(MenuTypeAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new menu types with the game.
defineMobEffects(GameRegistryAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new mob effects with the game.
definePackets(PacketAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new packets with the game.
definePotions(GameRegistryAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers potions with the game.
definePotPatterns(PotPatternAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new decorated pot patterns with the game, and create associations between items and patterns.
defineRecipeSerializers(GameRegistryAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new recipe serializers with the game.
defineRecipeTypes(RecipeTypeAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new recipe types with the game.
defineSounds(SoundEventAdapter) - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Registers new sound events with the game.
DENSITY_FUNCTION_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
description() - Method in record class net.darkhax.bookshelf.common.api.ModEntry
Returns the value of the description record component.
description() - Method in interface net.darkhax.bookshelf.common.api.text.font.IFontEntry
Gets a description of the font.
deserializeFromNetwork(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.common.api.commands.args.ArgumentSerializer
 
deserializeFromNetwork(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.common.api.commands.args.SingletonArgumentInfo
 
destination() - Method in class net.darkhax.bookshelf.common.api.network.AbstractPacket
 
destination() - Method in interface net.darkhax.bookshelf.common.api.network.IPacket
Defines how the packet is meant to be sent and where it should be handled.
Destination - Enum Class in net.darkhax.bookshelf.common.api.network
Determines where the packet will be resolved.
DIFFICULTY - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
DIRECTION - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
displayName() - Method in interface net.darkhax.bookshelf.common.api.text.font.IFontEntry
Gets the localized name of the font.
distance(Vec3, Vec3) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Calculates the distance between two points.
DOUBLE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
dropRemainders(Level, BlockPos, ItemStack) - Method in interface net.darkhax.bookshelf.common.api.util.IGameplayHelper
Drops the crafting remainder of an item into the world if the item has one.
DYE_COLOR - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
DYNAMIC - Static variable in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
 

E

EFFECT_INSTANCE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
EitherIngredient - Class in net.darkhax.bookshelf.common.impl.data.ingredient
 
EitherIngredient(List) - Constructor for class net.darkhax.bookshelf.common.impl.data.ingredient.EitherIngredient
 
EMPTY - Static variable in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
 
EnchantCommand - Class in net.darkhax.bookshelf.common.impl.command
 
EnchantCommand() - Constructor for class net.darkhax.bookshelf.common.impl.command.EnchantCommand
 
ENCHANTMENT_EFFECT_COMPONENT_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
ENCHANTMENT_ENTITY_EFFECT_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
ENCHANTMENT_LEVEL_BASED_VALUE_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
ENCHANTMENT_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
ENCHANTMENT_VALUE_EFFECT_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
EnchantmentLevel - Enum Class in net.darkhax.bookshelf.common.api.data.enchantment
Calculates enchantment levels using different methods.
encode(FriendlyByteBuf, T) - Method in class net.darkhax.bookshelf.common.api.data.codecs.EnumStreamCodec
 
encode(T, DynamicOps, T1) - Method in class net.darkhax.bookshelf.common.impl.data.loot.modifiers.FingerprintCodec
 
encodeBytesToInt(byte[]) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Encodes an array of bytes into an array of integers.
ENTITY - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.RegistryContains
 
ENTITY_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
entry() - Method in record class net.darkhax.bookshelf.common.api.data.loot.modifiers.LootPoolAddition
Returns the value of the entry record component.
enumerable(Class) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
Creates a Codec that handles enum values by using their enum constant names.
EnumStreamCodec<T> - Class in net.darkhax.bookshelf.common.api.data.codecs
 
EnumStreamCodec(Class) - Constructor for class net.darkhax.bookshelf.common.api.data.codecs.EnumStreamCodec
 
equals(Object) - Method in record class net.darkhax.bookshelf.common.api.data.conditions.ConditionType
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.darkhax.bookshelf.common.api.data.loot.modifiers.LootPoolAddition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.darkhax.bookshelf.common.api.ModEntry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.RegistryReference
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.darkhax.bookshelf.common.impl.data.criterion.trigger.AdvancementTrigger.Instance
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.darkhax.bookshelf.common.impl.recipe.RecipeTypeImpl
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.BlockEntityRendererAdapter
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.CommandArgumentAdapter.TypeInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.IngredientTypeAdapter.IngredientType
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootDescriptionAdapter
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.MenuScreenAdapter
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.PacketAdapter
Indicates whether some other object is "equal to" this one.
EQUIPMENT_SLOT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
ExperienceHelper - Class in net.darkhax.bookshelf.common.api.util
 
ExperienceHelper() - Constructor for class net.darkhax.bookshelf.common.api.util.ExperienceHelper
 
ExtendedText - Class in net.darkhax.bookshelf.common.impl.resources
 

F

FAKE_PLAYER_DAMAGE - Static variable in class net.darkhax.bookshelf.common.api.data.BookshelfTags
 
fallback(Codec, String, Supplier) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
Creates a Codec that will use a fallback value if no other value is specified.
fallback(Codec, String, Supplier, boolean) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
Creates a Codec that will use a fallback value if no other value is specified.
FalseIngredient - Class in net.darkhax.bookshelf.common.impl.data.ingredient
 
FalseIngredient() - Constructor for class net.darkhax.bookshelf.common.impl.data.ingredient.FalseIngredient
 
FEATURE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
FEATURE_SIZE_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
findServices(String) - Static method in class net.darkhax.bookshelf.common.api.service.Services
Finds implementations of a service without initializing or classloading them.
FingerprintCodec<T> - Class in net.darkhax.bookshelf.common.impl.data.loot.modifiers
A codec wrapper that adds functionality to compute and set a fingerprint hash for certain objects during decoding.
FingerprintCodec(Codec) - Constructor for class net.darkhax.bookshelf.common.impl.data.loot.modifiers.FingerprintCodec
 
FIRST - Enum constant in enum class net.darkhax.bookshelf.common.api.data.enchantment.EnchantmentLevel
Returns the level of the first matching enchantment.
FISHING - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
FISHING_FISH - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
FISHING_JUNK - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
FISHING_TREASURE - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
fixedRange(String, float) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.SoundEventAdapter
 
flexibleArray(Codec, IntFunction) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
Creates a Codec that can flexibly read both individual values and arrays of values as an array.
flexibleList(Codec) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
Creates a Codec that can flexibly read individual values as a list in addition to traditional lists.
flexibleSet(Codec) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
Creates a Codec that can flexibly read both individual values and arrays of values as a set.
FLOAT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
FLUID - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
FOLIAGE_PLACER_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
FONT_IDS - Static variable in enum class net.darkhax.bookshelf.common.api.text.font.BuiltinFonts
 
FontArgument - Class in net.darkhax.bookshelf.common.api.commands.args
 
FontArgument() - Constructor for class net.darkhax.bookshelf.common.api.commands.args.FontArgument
 
FontCommand - Class in net.darkhax.bookshelf.common.impl.command
 
FontCommand() - Constructor for class net.darkhax.bookshelf.common.impl.command.FontCommand
 
format(int) - Method in interface net.darkhax.bookshelf.common.api.text.unit.IUnit
Formats an amount of the unit as a text component.
format(int, PropertyFormat) - Method in interface net.darkhax.bookshelf.common.api.text.unit.IUnit
Formats an amount of the unit as a text component.
format(Component, Component) - Method in interface net.darkhax.bookshelf.common.api.text.format.IPropertyFormat
Formats a property and value using the alignment.
formatCollection(Collection) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Formats a collection of values to a string using Object.toString().
formatCollection(Collection, Function, String) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Formats a collection of values to a string.
formatDuration(int) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Formats a duration of time in ticks into its real world time counterpart.
formatDuration(int, boolean, float) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Formats a duration of time in ticks into its real world time counterpart.
formatDuration(int, boolean, Level) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Formats a duration of time in ticks into its real world time counterpart.
formatDuration(int, Level) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Formats a duration of time in ticks into its real world time counterpart.
formatKey() - Method in interface net.darkhax.bookshelf.common.api.text.format.IPropertyFormat
A namespaced identifier that is used to derive localization keys for the format.
formatKey() - Method in enum class net.darkhax.bookshelf.common.api.text.format.PropertyFormat
 
fromIdentifier(String, String, Identifier, Object...) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Creates translated text from a resource location.
func() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.MenuScreenAdapter
Returns the value of the func record component.
FunctionHelper - Class in net.darkhax.bookshelf.common.api.util
 
FunctionHelper() - Constructor for class net.darkhax.bookshelf.common.api.util.FunctionHelper
 
functions() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootPool
 

G

GAME_EVENT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
GAMEMASTER - Enum constant in enum class net.darkhax.bookshelf.common.api.commands.PermissionLevel
These players can execute commands that modify the world and player data.
GAMEPLAY - Static variable in class net.darkhax.bookshelf.common.api.service.Services
 
GameRegistryAdapter<V> - Class in net.darkhax.bookshelf.common.api.registry.adapters
A basic registry adapter that can register into most vanilla style registries.
GameRegistryAdapter(RegistrationContext, ResourceKey, BiConsumer) - Constructor for class net.darkhax.bookshelf.common.api.registry.adapters.GameRegistryAdapter
 
GenericRegistryAdapter<V> - Class in net.darkhax.bookshelf.common.api.registry.adapters
A basic registry adapter that can register into registries that are not standard vanilla registries.
GenericRegistryAdapter(RegistrationContext, BiConsumer) - Constructor for class net.darkhax.bookshelf.common.api.registry.adapters.GenericRegistryAdapter
 
get() - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
Gets a codec that can read and write single instances of the element.
get() - Method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
 
get(int) - Method in class net.darkhax.bookshelf.common.api.menu.data.BlockPosData
 
get(CommandContext) - Static method in class net.darkhax.bookshelf.common.api.commands.args.FontArgument
 
get(String) - Method in class net.darkhax.bookshelf.common.impl.resources.ExtendedText
 
get(String, CommandContext) - Static method in class net.darkhax.bookshelf.common.api.commands.args.FontArgument
 
get(String, CommandContext, ResourceKey) - Static method in class net.darkhax.bookshelf.common.api.commands.args.TagArgument
 
get(String, Function) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
A helper for defining a field of this type in a RecordCodecBuilder.
get(String, Function, T) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
A helper for defining a field of this type in a RecordCodecBuilder.
get(TagKey, ItemStack) - Method in enum class net.darkhax.bookshelf.common.api.data.enchantment.EnchantmentLevel
Gets the level of matching enchantments based on the calculation type.
GET - Static variable in interface net.darkhax.bookshelf.common.api.util.IRenderHelper
 
getAllMatchingStacks() - Method in interface net.darkhax.bookshelf.common.api.data.ingredient.IngredientLogic
 
getAllMatchingStacks() - Method in class net.darkhax.bookshelf.common.impl.data.ingredient.BlockTagIngredient
 
getArgument(String, CommandContext, Class, Supplier) - Static method in class net.darkhax.bookshelf.common.api.util.CommandHelper
 
getBooleanArg(String, CommandContext) - Static method in class net.darkhax.bookshelf.common.api.util.CommandHelper
 
getBooleanArg(String, CommandContext, Supplier) - Static method in class net.darkhax.bookshelf.common.api.util.CommandHelper
 
getCommandName() - Method in interface net.darkhax.bookshelf.common.api.commands.IEnumCommand
Gets the name of the command.
getCommandName() - Method in enum class net.darkhax.bookshelf.common.impl.command.DebugCommands
 
getCommandName() - Method in enum class net.darkhax.bookshelf.common.impl.command.HandCommand
 
getConditions() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.And
 
getConditions() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.Not
 
getConditions() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.Or
 
getConditions(JsonElement) - Static method in class net.darkhax.bookshelf.common.api.data.conditions.LoadConditions
Reads one or more conditions from a JSON element.
getConfigDirectory() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
Gets the specified configuration directory as a file reference.
getConfigPath() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
Gets the specified configuration path for the game.
getContainer(ServerLevel, BlockPos) - Method in interface net.darkhax.bookshelf.common.api.util.IGameplayHelper
Gets a vanilla container for a given position.
getCount() - Method in class net.darkhax.bookshelf.common.api.menu.data.BlockPosData
 
getCraftingRemainder(ItemStack) - Method in interface net.darkhax.bookshelf.common.api.util.IGameplayHelper
Gets the crafting remainder for a given item.
getDebugOutput(MinecraftServer, StringJoiner) - Method in interface net.darkhax.bookshelf.common.impl.command.DebugCommands.DebugTask
 
getEntity(String, CommandContext, Supplier) - Static method in class net.darkhax.bookshelf.common.api.util.CommandHelper
 
getEntityOrSender(String, CommandContext) - Static method in class net.darkhax.bookshelf.common.api.util.CommandHelper
 
getExamples() - Method in class net.darkhax.bookshelf.common.api.commands.args.FontArgument
 
getExamples() - Method in class net.darkhax.bookshelf.common.api.commands.args.TagArgument
 
getExperiencePoints(Player) - Static method in class net.darkhax.bookshelf.common.api.util.ExperienceHelper
Calculates the amount of experience points the player currently has.
getGameDirectory() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
Gets the working directory of the game as a File.
getGamePath() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
Gets the working directory path of the game directory.
getLoadedMods() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
Gets a set of every loaded modId.
getLowestLevel(Class) - Static method in class net.darkhax.bookshelf.common.api.util.CommandHelper
Gets the lowest required permission level for an enum command.
getMatchingItems() - Method in interface net.darkhax.bookshelf.common.api.data.ingredient.IngredientLogic
 
getMaxStackSize() - Method in class net.darkhax.bookshelf.common.api.menu.slot.InputSlot
 
getModsDirectory() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
Gets the primary directory that the current loader will load mods from.
getModsPath() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
Gets the primary path that the current loader will load mods from.
getName() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
Gets the name of the platform.
getNoItemIcon() - Method in class net.darkhax.bookshelf.common.api.menu.slot.InputSlot
 
getOrDefault(String, String, CallbackInfoReturnable) - Method in class net.darkhax.bookshelf.common.mixin.patch.locale.MixinClientLanguage
 
getOrStartProgress(AdvancementHolder) - Method in class net.darkhax.bookshelf.common.mixin.patch.advancement.MixinPlayerAdvancements
 
getPathfindingType(BlockState, BlockGetter, BlockPos) - Method in interface net.darkhax.bookshelf.common.api.block.IBlockHooks
Allows the block to determine its own pathfinding type.
getPhysicalSide() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
Gets the physical environment that the code is running on.
getPlaceableBlocks() - Method in class net.darkhax.bookshelf.common.api.registry.RegistrationContext
Provides an unmodifiable view of placeable blocks and their associated item factories.
getPointForLevel(int) - Static method in class net.darkhax.bookshelf.common.api.util.ExperienceHelper
Calculates the amount of additional experience points required to reach the given level when starting from the previous level.
getPointsForLevel(int, int) - Static method in class net.darkhax.bookshelf.common.api.util.ExperienceHelper
Calculates the amount of additional experience points required to reach the target level when starting from the starting level.
getPos() - Method in class net.darkhax.bookshelf.common.api.menu.data.BlockPosData
Gets the BlockPos currently held by the container data.
getPossibleMatches(String, Iterable) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Finds a set of possible matches within an iterable group of strings.
getPossibleMatches(String, Iterable, int) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Finds a set of possible matches within an iterable group of strings.
getPotentialDrops(MinecraftServer, LootPoolEntryContainer, Consumer) - Method in interface net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriber
Describes items that may potentially be dropped by a loot pool entry.
getPotentialItems(MinecraftServer, Either, Consumer) - Static method in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
Gets potential drops for a loot table.
getPotentialItems(MinecraftServer, List, Consumer) - Static method in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
Gets potential drops for a list of loot pool entries.
getPotentialItems(MinecraftServer, LootPoolEntryContainer, Consumer) - Static method in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
Gets potential drops from a loot pool entry.
getPotentialItems(MinecraftServer, LootTable, Consumer) - Static method in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
Gets potential drops for a loot table.
getRegisteredFonts() - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
 
getRequiredEntries() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.RegistryContains
 
getRequiredMods() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.ModLoaded
 
getRequiredPlatform() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.OnPlatform
 
getTagName(TagKey) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Creates a translation key that should map to a display name for the tag.
getTagOrEmpty(HolderLookup.Provider, ResourceKey, TagKey) - Static method in class net.darkhax.bookshelf.common.api.util.DataHelper
 
getTemplate() - Method in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
 
getTicks() - Method in class net.darkhax.bookshelf.common.api.util.TickAccumulator
Get the current amount of ticks.
getTotalPointsForLevel(int) - Static method in class net.darkhax.bookshelf.common.api.util.ExperienceHelper
Calculates the total amount of experience points required to reach a given level when starting at level 0.
getType() - Method in interface net.darkhax.bookshelf.common.api.data.conditions.ILoadCondition
Gets the type of the condition.
getType() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.And
 
getType() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.ModLoaded
 
getType() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.Not
 
getType() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.OnPlatform
 
getType() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.Or
 
getType() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.RegistryContains
 
getType(Identifier) - Static method in class net.darkhax.bookshelf.common.api.data.conditions.LoadConditions
 
getUniqueItems(MinecraftServer, LootTable) - Static method in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
Generates a list of unique items that can generate from a loot table.
GSON_PRETTY - Static variable in class net.darkhax.bookshelf.common.impl.BookshelfMod
 

H

HandCommand - Enum Class in net.darkhax.bookshelf.common.impl.command
 
handle(ServerPlayer, boolean, T) - Method in interface net.darkhax.bookshelf.common.api.network.IPacket
This method will be called when the custom payload is received.
handledByClient() - Method in enum class net.darkhax.bookshelf.common.api.network.Destination
Checks if the payload can be handled on a client.
handledByServer() - Method in enum class net.darkhax.bookshelf.common.api.network.Destination
Checks if the payload can be handled on a server.
HANDLER - Static variable in class net.darkhax.bookshelf.common.impl.data.loot.modifiers.LootModificationHandler
 
has(String) - Method in class net.darkhax.bookshelf.common.impl.resources.ExtendedText
 
has(String, CallbackInfoReturnable) - Method in class net.darkhax.bookshelf.common.mixin.patch.locale.MixinClientLanguage
 
hasArgument(String, CommandContext, Class) - Static method in class net.darkhax.bookshelf.common.api.util.CommandHelper
 
hasArgument(String, CommandContext) - Static method in class net.darkhax.bookshelf.common.api.util.CommandHelper
Deprecated.
This only works on Fabric.
hash() - Method in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
Returns the value of the hash record component.
hashCode() - Method in record class net.darkhax.bookshelf.common.api.data.conditions.ConditionType
Returns a hash code value for this object.
hashCode() - Method in record class net.darkhax.bookshelf.common.api.data.loot.modifiers.LootPoolAddition
Returns a hash code value for this object.
hashCode() - Method in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
Returns a hash code value for this object.
hashCode() - Method in record class net.darkhax.bookshelf.common.api.ModEntry
Returns a hash code value for this object.
hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.RegistryReference
Returns a hash code value for this object.
hashCode() - Method in record class net.darkhax.bookshelf.common.impl.data.criterion.trigger.AdvancementTrigger.Instance
Returns a hash code value for this object.
hashCode() - Method in record class net.darkhax.bookshelf.common.impl.recipe.RecipeTypeImpl
Returns a hash code value for this object.
hashCode() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.BlockEntityRendererAdapter
Returns a hash code value for this object.
hashCode() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.CommandArgumentAdapter.TypeInfo
Returns a hash code value for this object.
hashCode() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.IngredientTypeAdapter.IngredientType
Returns a hash code value for this object.
hashCode() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootDescriptionAdapter
Returns a hash code value for this object.
hashCode() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
Returns a hash code value for this object.
hashCode() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.MenuScreenAdapter
Returns a hash code value for this object.
hashCode() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.PacketAdapter
Returns a hash code value for this object.
HEIGHT_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
HIGHEST - Enum constant in enum class net.darkhax.bookshelf.common.api.data.enchantment.EnchantmentLevel
Returns the highest level among all matching enchantments.
HOUR - Enum constant in enum class net.darkhax.bookshelf.common.api.text.unit.Units
 
hoverEvent(Entity) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Creates a new hover event for an entity.

I

IBlockHooks - Interface in net.darkhax.bookshelf.common.api.block
 
id() - Method in record class net.darkhax.bookshelf.common.api.data.conditions.ConditionType
Returns the value of the id record component.
id() - Method in record class net.darkhax.bookshelf.common.api.data.loot.modifiers.LootPoolAddition
Returns the value of the id record component.
id() - Method in record class net.darkhax.bookshelf.common.impl.recipe.RecipeTypeImpl
Returns the value of the id record component.
id(String) - Method in class net.darkhax.bookshelf.common.api.registry.adapters.GameRegistryAdapter
Creates a new Identifier using the current namespace.
id(String) - Static method in class net.darkhax.bookshelf.common.impl.BookshelfMod
 
ID - Enum constant in enum class net.darkhax.bookshelf.common.impl.command.HandCommand
 
identifier() - Method in enum class net.darkhax.bookshelf.common.api.text.font.BuiltinFonts
 
identifier() - Method in interface net.darkhax.bookshelf.common.api.text.font.IFontEntry
Gets the ID of the font.
IEnumCommand - Interface in net.darkhax.bookshelf.common.api.commands
Allows an enum to be used as a branching command path.
ifCached(Consumer) - Method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
Safely attempts to invoke a consumer with the cached value.
IFontEntry - Interface in net.darkhax.bookshelf.common.api.text.font
 
ifPresent(Consumer) - Method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
Safely attempts to invoke a consumer with the cached value.
IGameplayHelper - Interface in net.darkhax.bookshelf.common.api.util
 
IItemHooks - Interface in net.darkhax.bookshelf.common.api.item
 
ILLAGER - Enum constant in enum class net.darkhax.bookshelf.common.api.text.font.BuiltinFonts
A rune font that is used by the Illagers in Minecraft Dungeons.
ILoadCondition - Interface in net.darkhax.bookshelf.common.api.data.conditions
Load conditions allow JSON entries in data/resource packs to define optional conditions in order for them to load.
ILootPoolHooks - Interface in net.darkhax.bookshelf.common.impl.data.loot.modifiers
Internal hooks related to loot pools.
index() - Method in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
Returns the value of the index record component.
INetworkHandler - Interface in net.darkhax.bookshelf.common.api.network
Provides platform specific implementations of network related code.
INGREDIENT - Enum constant in enum class net.darkhax.bookshelf.common.impl.command.HandCommand
 
INGREDIENT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
INGREDIENT_NON_EMPTY - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.stream.StreamCodecs
 
IngredientLogic<T> - Interface in net.darkhax.bookshelf.common.api.data.ingredient
 
IngredientType(MapCodec, StreamCodec) - Constructor for record class net.darkhax.bookshelf.common.impl.registry.adapter.IngredientTypeAdapter.IngredientType
Creates an instance of a IngredientType record class.
IngredientTypeAdapter - Class in net.darkhax.bookshelf.common.impl.registry.adapter
A registry adapter that can register new types of ingredients.
IngredientTypeAdapter(RegistrationContext, BiConsumer) - Constructor for class net.darkhax.bookshelf.common.impl.registry.adapter.IngredientTypeAdapter
 
IngredientTypeAdapter.IngredientType<T> - Record Class in net.darkhax.bookshelf.common.impl.registry.adapter
An internal type that holds a map codec and the ByteBuf codec for a custom ingredient type.
init(boolean) - Static method in interface net.darkhax.bookshelf.common.mixin.access.particles.AccessSimpleParticleType
 
InputSlot - Class in net.darkhax.bookshelf.common.api.menu.slot
A basic input slot implementation.
InputSlot(Container, int, int, int, Identifier) - Constructor for class net.darkhax.bookshelf.common.api.menu.slot.InputSlot
 
InputSlot(Container, int, int, int, Identifier, Predicate) - Constructor for class net.darkhax.bookshelf.common.api.menu.slot.InputSlot
 
inRange(double, double, double) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Checks if a double is within the given range.
Instance(Optional, Set) - Constructor for record class net.darkhax.bookshelf.common.impl.data.criterion.trigger.AdvancementTrigger.Instance
Creates an instance of a Instance record class.
INSTANCE - Static variable in class net.darkhax.bookshelf.common.impl.data.ingredient.FalseIngredient
 
INSTANCE - Static variable in class net.darkhax.bookshelf.common.impl.resources.ExtendedText
 
instantiate(CommandBuildContext) - Method in class net.darkhax.bookshelf.common.api.commands.args.ArgumentSerializer.ArgTemplate
 
instantiate(CommandBuildContext) - Method in class net.darkhax.bookshelf.common.api.commands.args.SingletonArgumentInfo.Template
 
INT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
InternalUse - Annotation Interface in net.darkhax.bookshelf.common.api.annotation
A visual indicator for members that may be visible for technical reasons or convenience but are not intended for general use.
invalidate() - Method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
Invalidates the cached value.
inventoryInsert(ServerLevel, BlockPos, Direction, ItemStack) - Method in interface net.darkhax.bookshelf.common.api.util.IGameplayHelper
If an inventory exists at the specified position, attempt to insert the item into all available slots until the item has been fully inserted or no more slots are available.
IPacket<T> - Interface in net.darkhax.bookshelf.common.api.network
Defines a custom payload packet.
IPlatformHelper - Interface in net.darkhax.bookshelf.common.api.util
The PlatformHelper provides useful context and information about the platform the game is running on.
IPropertyFormat - Interface in net.darkhax.bookshelf.common.api.text.format
 
IRenderHelper - Interface in net.darkhax.bookshelf.common.api.util
 
isCached() - Method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
Checks if this supplier has a cached value.
isClient() - Method in enum class net.darkhax.bookshelf.common.api.PhysicalSide
Checks if this is a physical client.
isDevelopmentEnvironment() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
Checks if the mod is running in a development environment.
isInvulnerableTo(ServerLevel, DamageSource) - Method in class net.darkhax.bookshelf.common.mixin.patch.entity.MixinLivingEntity
 
isModLoaded(String) - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
Checks if a given mod is loaded.
isPhysicalClient() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
Checks if the code is running on a physical client.
isServer() - Method in enum class net.darkhax.bookshelf.common.api.PhysicalSide
Checks if this is a physical server.
isTestingEnvironment() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
Checks if the mod is currently running in an environment with game tests enabled.
ITEM - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
ITEM - Static variable in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
 
ITEM - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.RegistryContains
 
ITEM_RARITY - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
ITEM_STACK - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
ITEM_STACK - Static variable in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
 
ITEM_STACK_LIST - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.stream.StreamCodecs
 
ItemRegistryAdapter - Class in net.darkhax.bookshelf.common.impl.registry.adapter
 
ItemRegistryAdapter(RegistrationContext, BiConsumer) - Constructor for class net.darkhax.bookshelf.common.impl.registry.adapter.ItemRegistryAdapter
 
IUnit - Interface in net.darkhax.bookshelf.common.api.text.unit
 

J

join(Component, Collection) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Joins several components together using a separator.
join(Component, Iterator) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Joins several components together using a separator.
join(Component, Component...) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Joins several components together using a separator.
joinUnique(Component, Collection) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Joins several components together using a separator.

K

key() - Method in record class net.darkhax.bookshelf.common.api.registry.RegistryReference
Returns the value of the key record component.

L

lastHurtByPlayerMemoryTime - Variable in class net.darkhax.bookshelf.common.mixin.patch.entity.MixinLivingEntity
 
LEFT - Enum constant in enum class net.darkhax.bookshelf.common.api.text.format.PropertyFormat
Formats a property with the separator aligned to the left.
level() - Method in enum class net.darkhax.bookshelf.common.api.commands.PermissionLevel
 
LIGHTNING_REDIRECTION_FACES - Static variable in interface net.darkhax.bookshelf.common.api.block.IBlockHooks
 
list(StreamCodec) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.stream.StreamCodecs
 
listCodec() - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
Gets a codec that can read and write a list.
listCodec(String, Function) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
A helper for defining a field for a list of this type in a RecordCodecBuilder.
listCodec(String, Function, List) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
A helper for defining a field for a list of this type in a RecordCodecBuilder.
listCodec(String, Function, T...) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
A helper for defining a field for a list of this type in a RecordCodecBuilder.
listSuggestions(CommandContext, SuggestionsBuilder) - Method in class net.darkhax.bookshelf.common.api.commands.args.FontArgument
 
listSuggestions(CommandContext, SuggestionsBuilder) - Method in class net.darkhax.bookshelf.common.api.commands.args.TagArgument
 
load(Class) - Static method in class net.darkhax.bookshelf.common.api.service.Services
 
LOAD_CONDITION - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
LOAD_CONDITION_TAG - Static variable in class net.darkhax.bookshelf.common.api.data.conditions.LoadConditions
 
LoadConditions - Class in net.darkhax.bookshelf.common.api.data.conditions
 
LoadConditions() - Constructor for class net.darkhax.bookshelf.common.api.data.conditions.LoadConditions
 
loadMany(Class) - Static method in class net.darkhax.bookshelf.common.api.service.Services
 
location(Identifier, CachedSupplier) - Static method in record class net.darkhax.bookshelf.common.api.registry.RegistryReference
A helper method that produces a reference for a registry that uses Identifier based keys.
LOG - Static variable in class net.darkhax.bookshelf.common.impl.BookshelfMod
 
LONG - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
lookupTranslation(String, Object...) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Attempts to localize text.
lookupTranslation(String, BiFunction, Object...) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Attempts to localize text.
lookupTranslation(String, MutableComponent, Object...) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Attempts to localize text.
lookupTranslationWithAlias(String[], Object...) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Attempts to localize several different translation keys and will return the first one that is available on the client.
lookupTranslationWithAlias(Identifier, String...) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Attempts to localize several different translation keys and will return the first one that is available on the client.
LOOT_POOL_HASH - Enum constant in enum class net.darkhax.bookshelf.common.impl.command.DebugCommands
 
LOOT_TABLE - Static variable in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
 
LootDescriptionAdapter - Record Class in net.darkhax.bookshelf.common.impl.registry.adapter
 
LootDescriptionAdapter(BiConsumer) - Constructor for record class net.darkhax.bookshelf.common.impl.registry.adapter.LootDescriptionAdapter
Creates an instance of a LootDescriptionAdapter record class.
LootItemStack - Class in net.darkhax.bookshelf.common.impl.data.loot.entries
A LootPool entry type that produces copies of predefined ItemStack.
LootModificationHandler - Class in net.darkhax.bookshelf.common.impl.data.loot.modifiers
Handles collecting loot pool modifications from various mods and then applying those modifications to loot tables.
LootModificationHandler() - Constructor for class net.darkhax.bookshelf.common.impl.data.loot.modifiers.LootModificationHandler
 
LootPoolAddition - Record Class in net.darkhax.bookshelf.common.api.data.loot.modifiers
Represents a loot pool entry that should be added to a loot pool.
LootPoolAddition(Identifier, LootPoolEntryContainer) - Constructor for record class net.darkhax.bookshelf.common.api.data.loot.modifiers.LootPoolAddition
Creates an instance of a LootPoolAddition record class.
LootPoolAdditionAdapter - Record Class in net.darkhax.bookshelf.common.impl.registry.adapter
Registers new LootPoolAddition from various mods to be applied by Bookshelf.
LootPoolAdditionAdapter(String, LootPoolAdditionAdapter.RegisterFunc) - Constructor for record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
Creates an instance of a LootPoolAdditionAdapter record class.
LootPoolAdditionAdapter.RegisterFunc - Interface in net.darkhax.bookshelf.common.impl.registry.adapter
 
LootPoolEntryDescriber - Interface in net.darkhax.bookshelf.common.api.loot
Describes the potential items that a loot pool entry can generate.
LootPoolEntryDescriptions - Class in net.darkhax.bookshelf.common.api.loot
Provides a system for describing what items can be dropped by a loot table.
LootPoolEntryDescriptions() - Constructor for class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
 
LOWEST - Enum constant in enum class net.darkhax.bookshelf.common.api.data.enchantment.EnchantmentLevel
Returns the lowest level among all matching enchantments.

M

MAP_CODEC - Static variable in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
 
MAP_DECORATION_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
MapCodecHelper<T> - Class in net.darkhax.bookshelf.common.api.data.codecs.map
A CodecHelper wraps a Codec to provide a large amount of helpers and utilities to make working with the Codec easier and more flexible.
MapCodecHelper(Codec, T...) - Constructor for class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
 
MapCodecs - Class in net.darkhax.bookshelf.common.api.data.codecs.map
 
MapCodecs() - Constructor for class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
MATERIAL_CONDITION - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
MATERIAL_RULE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
MathsHelper - Class in net.darkhax.bookshelf.common.api.util
 
MathsHelper() - Constructor for class net.darkhax.bookshelf.common.api.util.MathsHelper
 
mayPlace(ItemStack) - Method in class net.darkhax.bookshelf.common.api.menu.slot.InputSlot
 
mayPlace(ItemStack) - Method in class net.darkhax.bookshelf.common.api.menu.slot.OutputSlot
 
MEMORY_MODULE_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
MENU - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
MenuScreenAdapter - Record Class in net.darkhax.bookshelf.common.impl.registry.adapter
 
MenuScreenAdapter(BiConsumer) - Constructor for record class net.darkhax.bookshelf.common.impl.registry.adapter.MenuScreenAdapter
Creates an instance of a MenuScreenAdapter record class.
MenuScreenAdapter.ScreenFactory<T,U> - Interface in net.darkhax.bookshelf.common.impl.registry.adapter
 
MenuTypeAdapter - Class in net.darkhax.bookshelf.common.impl.registry.adapter
 
MenuTypeAdapter(RegistrationContext, BiConsumer) - Constructor for class net.darkhax.bookshelf.common.impl.registry.adapter.MenuTypeAdapter
 
MenuTypeAdapter.ClientMenuFactory<T> - Interface in net.darkhax.bookshelf.common.impl.registry.adapter
 
MILLISECOND - Enum constant in enum class net.darkhax.bookshelf.common.api.text.unit.Units
 
MINESHAFT_COMMON - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
MINESHAFT_RARE - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
MINESHAFT_UNCOMMON - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
MINUTE - Enum constant in enum class net.darkhax.bookshelf.common.api.text.unit.Units
 
MIRROR - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
MISSING_TAG_NAMES - Enum constant in enum class net.darkhax.bookshelf.common.impl.command.DebugCommands
 
MixinClientLanguage - Class in net.darkhax.bookshelf.common.mixin.patch.locale
 
MixinClientLanguage() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.locale.MixinClientLanguage
 
MixinCreativeModeTab - Class in net.darkhax.bookshelf.common.mixin.patch.item
 
MixinCreativeModeTab() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.item.MixinCreativeModeTab
 
MixinDecoratedPotPatterns - Class in net.darkhax.bookshelf.common.mixin.patch.block
 
MixinDecoratedPotPatterns() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.block.MixinDecoratedPotPatterns
 
MixinLightningBolt - Class in net.darkhax.bookshelf.common.mixin.patch.entity
 
MixinLightningBolt() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.entity.MixinLightningBolt
 
MixinLivingEntity - Class in net.darkhax.bookshelf.common.mixin.patch.entity
 
MixinLivingEntity() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.entity.MixinLivingEntity
 
MixinLootDataType - Class in net.darkhax.bookshelf.common.mixin.patch.loot
 
MixinLootDataType() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.loot.MixinLootDataType
 
MixinLootItemKilledByPlayerCondition - Class in net.darkhax.bookshelf.common.mixin.patch.loot
 
MixinLootItemKilledByPlayerCondition() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.loot.MixinLootItemKilledByPlayerCondition
 
MixinLootPool - Class in net.darkhax.bookshelf.common.mixin.patch.loot
 
MixinLootPool() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.loot.MixinLootPool
 
MixinPlayerAdvancements - Class in net.darkhax.bookshelf.common.mixin.patch.advancement
 
MixinPlayerAdvancements() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.advancement.MixinPlayerAdvancements
 
MixinPotionBrewing - Class in net.darkhax.bookshelf.common.mixin.patch.potions
 
MixinPotionBrewing() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.potions.MixinPotionBrewing
 
MixinSimpleJsonResourceReloadListener - Class in net.darkhax.bookshelf.common.mixin.patch.packs
 
MixinSimpleJsonResourceReloadListener() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.packs.MixinSimpleJsonResourceReloadListener
 
MixinWalkNodeEvaluator - Class in net.darkhax.bookshelf.common.mixin.patch.level
 
MixinWalkNodeEvaluator() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.level.MixinWalkNodeEvaluator
 
MOB_CATEGORY - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
MOB_EFFECT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
MOD_ID - Static variable in class net.darkhax.bookshelf.common.impl.BookshelfMod
 
MOD_NAME - Static variable in class net.darkhax.bookshelf.common.impl.BookshelfMod
 
ModEntry - Record Class in net.darkhax.bookshelf.common.api
 
ModEntry(String, String, String, String) - Constructor for record class net.darkhax.bookshelf.common.api.ModEntry
Creates an instance of a ModEntry record class.
MODERATOR - Enum constant in enum class net.darkhax.bookshelf.common.api.commands.PermissionLevel
These players have slightly elevated permission levels.
modId() - Method in record class net.darkhax.bookshelf.common.api.ModEntry
Returns the value of the modId record component.
ModIdIngredient - Class in net.darkhax.bookshelf.common.impl.data.ingredient
 
ModIdIngredient(List) - Constructor for class net.darkhax.bookshelf.common.impl.data.ingredient.ModIdIngredient
 
ModLoaded - Class in net.darkhax.bookshelf.common.impl.data.conditions
This load condition will test that an array of mod IDs are all loaded.
MONTH - Enum constant in enum class net.darkhax.bookshelf.common.api.text.unit.Units
 
mutable(Component) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Provides mutable access to a component.

N

name() - Method in record class net.darkhax.bookshelf.common.api.ModEntry
Returns the value of the name record component.
namespace() - Method in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
Gets the namespace that all content from the provider should be registered under.
namespace() - Method in class net.darkhax.bookshelf.common.api.registry.RegistrationContext
Gets the namespace that all new content should be registered with.
namespace() - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
 
NANOSECOND - Enum constant in enum class net.darkhax.bookshelf.common.api.text.unit.Units
 
net.darkhax.bookshelf.common.api - package net.darkhax.bookshelf.common.api
 
net.darkhax.bookshelf.common.api.annotation - package net.darkhax.bookshelf.common.api.annotation
 
net.darkhax.bookshelf.common.api.block - package net.darkhax.bookshelf.common.api.block
 
net.darkhax.bookshelf.common.api.commands - package net.darkhax.bookshelf.common.api.commands
 
net.darkhax.bookshelf.common.api.commands.args - package net.darkhax.bookshelf.common.api.commands.args
 
net.darkhax.bookshelf.common.api.data - package net.darkhax.bookshelf.common.api.data
 
net.darkhax.bookshelf.common.api.data.codecs - package net.darkhax.bookshelf.common.api.data.codecs
 
net.darkhax.bookshelf.common.api.data.codecs.map - package net.darkhax.bookshelf.common.api.data.codecs.map
 
net.darkhax.bookshelf.common.api.data.codecs.stream - package net.darkhax.bookshelf.common.api.data.codecs.stream
 
net.darkhax.bookshelf.common.api.data.conditions - package net.darkhax.bookshelf.common.api.data.conditions
 
net.darkhax.bookshelf.common.api.data.enchantment - package net.darkhax.bookshelf.common.api.data.enchantment
 
net.darkhax.bookshelf.common.api.data.ingredient - package net.darkhax.bookshelf.common.api.data.ingredient
 
net.darkhax.bookshelf.common.api.data.loot - package net.darkhax.bookshelf.common.api.data.loot
 
net.darkhax.bookshelf.common.api.data.loot.modifiers - package net.darkhax.bookshelf.common.api.data.loot.modifiers
 
net.darkhax.bookshelf.common.api.function - package net.darkhax.bookshelf.common.api.function
 
net.darkhax.bookshelf.common.api.item - package net.darkhax.bookshelf.common.api.item
 
net.darkhax.bookshelf.common.api.loot - package net.darkhax.bookshelf.common.api.loot
 
net.darkhax.bookshelf.common.api.menu.data - package net.darkhax.bookshelf.common.api.menu.data
 
net.darkhax.bookshelf.common.api.menu.slot - package net.darkhax.bookshelf.common.api.menu.slot
 
net.darkhax.bookshelf.common.api.network - package net.darkhax.bookshelf.common.api.network
 
net.darkhax.bookshelf.common.api.registry - package net.darkhax.bookshelf.common.api.registry
 
net.darkhax.bookshelf.common.api.registry.adapters - package net.darkhax.bookshelf.common.api.registry.adapters
 
net.darkhax.bookshelf.common.api.service - package net.darkhax.bookshelf.common.api.service
 
net.darkhax.bookshelf.common.api.text.font - package net.darkhax.bookshelf.common.api.text.font
 
net.darkhax.bookshelf.common.api.text.format - package net.darkhax.bookshelf.common.api.text.format
 
net.darkhax.bookshelf.common.api.text.unit - package net.darkhax.bookshelf.common.api.text.unit
 
net.darkhax.bookshelf.common.api.util - package net.darkhax.bookshelf.common.api.util
 
net.darkhax.bookshelf.common.impl - package net.darkhax.bookshelf.common.impl
 
net.darkhax.bookshelf.common.impl.command - package net.darkhax.bookshelf.common.impl.command
 
net.darkhax.bookshelf.common.impl.data.conditions - package net.darkhax.bookshelf.common.impl.data.conditions
 
net.darkhax.bookshelf.common.impl.data.criterion.trigger - package net.darkhax.bookshelf.common.impl.data.criterion.trigger
 
net.darkhax.bookshelf.common.impl.data.ingredient - package net.darkhax.bookshelf.common.impl.data.ingredient
 
net.darkhax.bookshelf.common.impl.data.loot.entries - package net.darkhax.bookshelf.common.impl.data.loot.entries
 
net.darkhax.bookshelf.common.impl.data.loot.modifiers - package net.darkhax.bookshelf.common.impl.data.loot.modifiers
 
net.darkhax.bookshelf.common.impl.recipe - package net.darkhax.bookshelf.common.impl.recipe
 
net.darkhax.bookshelf.common.impl.registry.adapter - package net.darkhax.bookshelf.common.impl.registry.adapter
 
net.darkhax.bookshelf.common.impl.resources - package net.darkhax.bookshelf.common.impl.resources
 
net.darkhax.bookshelf.common.mixin.access.block - package net.darkhax.bookshelf.common.mixin.access.block
 
net.darkhax.bookshelf.common.mixin.access.client - package net.darkhax.bookshelf.common.mixin.access.client
 
net.darkhax.bookshelf.common.mixin.access.entity - package net.darkhax.bookshelf.common.mixin.access.entity
 
net.darkhax.bookshelf.common.mixin.access.level - package net.darkhax.bookshelf.common.mixin.access.level
 
net.darkhax.bookshelf.common.mixin.access.loot - package net.darkhax.bookshelf.common.mixin.access.loot
 
net.darkhax.bookshelf.common.mixin.access.particles - package net.darkhax.bookshelf.common.mixin.access.particles
 
net.darkhax.bookshelf.common.mixin.patch.advancement - package net.darkhax.bookshelf.common.mixin.patch.advancement
 
net.darkhax.bookshelf.common.mixin.patch.block - package net.darkhax.bookshelf.common.mixin.patch.block
 
net.darkhax.bookshelf.common.mixin.patch.entity - package net.darkhax.bookshelf.common.mixin.patch.entity
 
net.darkhax.bookshelf.common.mixin.patch.item - package net.darkhax.bookshelf.common.mixin.patch.item
 
net.darkhax.bookshelf.common.mixin.patch.level - package net.darkhax.bookshelf.common.mixin.patch.level
 
net.darkhax.bookshelf.common.mixin.patch.locale - package net.darkhax.bookshelf.common.mixin.patch.locale
 
net.darkhax.bookshelf.common.mixin.patch.loot - package net.darkhax.bookshelf.common.mixin.patch.loot
 
net.darkhax.bookshelf.common.mixin.patch.packs - package net.darkhax.bookshelf.common.mixin.patch.packs
 
net.darkhax.bookshelf.common.mixin.patch.potions - package net.darkhax.bookshelf.common.mixin.patch.potions
 
NETWORK - Static variable in class net.darkhax.bookshelf.common.api.service.Services
 
nextInt(Random, int, int) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Generates a pseudorandom number within a given range of values.
nextInt(RandomSource, int, int) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Generates a pseudorandom number within a given range of values.
NO_LIGHTNING_REDIRECTION_FACES - Static variable in interface net.darkhax.bookshelf.common.api.block.IBlockHooks
 
NONE - Enum constant in enum class net.darkhax.bookshelf.common.api.text.format.PropertyFormat
Formats a property without a separator.
Not - Class in net.darkhax.bookshelf.common.impl.data.conditions
This load condition will test an array of sub-conditions and make sure none of them are met.
nullable(Codec, String) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
Creates a Codec that can handle nullable values.
nullableCodec(String) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
Gets a codec that can read and write nullable values.
nullableCodec(String, Function) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
A helper for defining a field for a nullable value of this type in a RecordCodecBuilder.
NUMBER_FORMAT_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 

O

of(Supplier) - Static method in class net.darkhax.bookshelf.common.api.commands.args.SingletonArgumentInfo
Creates argument info for a given argument instance.
of(Registry, String, String) - Static method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
 
of(Registry, Identifier) - Static method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
 
of(Identifier, Registry) - Static method in class net.darkhax.bookshelf.common.impl.data.conditions.RegistryContains
 
of(ResourceKey, int, int) - Static method in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
of(ResourceKey) - Static method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
 
of(ItemStackTemplate, int) - Static method in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
 
of(ItemStackTemplate, int, int) - Static method in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
 
onLightningStrike(BlockState, Level, BlockPos, LightningBolt) - Method in interface net.darkhax.bookshelf.common.api.block.IBlockHooks
Called when the block is directly struck by lightning.
onLightningStrikeIndirect(BlockState, Level, BlockPos, LightningBolt, BlockPos) - Method in interface net.darkhax.bookshelf.common.api.block.IBlockHooks
Called when a neighbor is struck by lightning and the block is not insulated from the strike.
OnlyFor - Annotation Interface in net.darkhax.bookshelf.common.api.annotation
A visual indicator that a class, field, or method can only be accessed in certain environments.
OnPlatform - Class in net.darkhax.bookshelf.common.impl.data.conditions
This load condition will test the current mod loading platform.
onTake(Player, ItemStack) - Method in class net.darkhax.bookshelf.common.api.menu.slot.OutputSlot
 
optional(Codec, String, Optional, boolean) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
Creates a Codec that handles optional values.
optionalCodec(String) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
Gets a codec that can read and write an optional value.
optionalCodec(String, Function) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
A helper for defining a field for an optional value of this type in a RecordCodecBuilder.
optionalCodec(String, Function, Optional) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
A helper for defining a field for an optional value of this type in a RecordCodecBuilder.
optionalStream(StreamCodec) - Static method in class net.darkhax.bookshelf.common.api.util.DataHelper
Creates a new stream codec for an optional value.
or(ComposableEntryContainer) - Method in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
 
Or - Class in net.darkhax.bookshelf.common.impl.data.conditions
This load condition will test an array of sub-conditions and make sure at least one of them are met.
OutputSlot - Class in net.darkhax.bookshelf.common.api.menu.slot
A basic output slot implementation.
OutputSlot(Container, int, int, int) - Constructor for class net.darkhax.bookshelf.common.api.menu.slot.OutputSlot
 
OutputSlot(Container, int, int, int, BiConsumer) - Constructor for class net.darkhax.bookshelf.common.api.menu.slot.OutputSlot
 
owner() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
Returns the value of the owner record component.
OWNER - Enum constant in enum class net.darkhax.bookshelf.common.api.commands.PermissionLevel
This is the highest permission level available in vanilla Minecraft.

P

PacketAdapter - Record Class in net.darkhax.bookshelf.common.impl.registry.adapter
 
PacketAdapter(RegistrationContext, Consumer) - Constructor for record class net.darkhax.bookshelf.common.impl.registry.adapter.PacketAdapter
Creates an instance of a PacketAdapter record class.
parse(StringReader) - Method in class net.darkhax.bookshelf.common.api.commands.args.FontArgument
 
parse(StringReader) - Method in class net.darkhax.bookshelf.common.api.commands.args.TagArgument
 
PARTICLE_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
percentage(int, int) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Calculates the percentage out of a total.
percentChance(double) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Performs an RNG check that has a percent chance to succeed.
PermissionLevel - Enum Class in net.darkhax.bookshelf.common.api.commands
 
PhysicalSide - Enum Class in net.darkhax.bookshelf.common.api
Represents a physical location in the client/server network diagram.
PIGLIN_BARTERING - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
pixelSize(int) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Converts a standard pixel measurement to a world-space measurement.
PLACEMENT_MODIFIER_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
PLANE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
PLATFORM - Static variable in class net.darkhax.bookshelf.common.api.service.Services
 
player() - Method in record class net.darkhax.bookshelf.common.impl.data.criterion.trigger.AdvancementTrigger.Instance
Returns the value of the player record component.
PLAYER - Enum constant in enum class net.darkhax.bookshelf.common.api.commands.PermissionLevel
All players will generally meet the requirements for this permission level.
plural() - Method in interface net.darkhax.bookshelf.common.api.text.unit.IUnit
Gets the plural name of the unit.
POINT_OF_INTEREST_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
POOL_ALIAS_BINDING_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
PoolTarget - Record Class in net.darkhax.bookshelf.common.api.data.loot
Represents a specific loot pool target within a loot table.
PoolTarget(Identifier, int, int) - Constructor for record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
Creates an instance of a PoolTarget record class.
POS_RULE_TEST - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
POSITION_SOURCE_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
POT_PATTERN_ITEMS - Static variable in class net.darkhax.bookshelf.common.api.registry.RegistrationContext
 
POTION - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
PotionBrewAdapter - Class in net.darkhax.bookshelf.common.impl.registry.adapter
 
PotionBrewAdapter() - Constructor for class net.darkhax.bookshelf.common.impl.registry.adapter.PotionBrewAdapter
 
PotPatternAdapter - Class in net.darkhax.bookshelf.common.impl.registry.adapter
A registry adapter for decorated pot patterns like sherds.
PotPatternAdapter(RegistrationContext, ResourceKey, BiConsumer) - Constructor for class net.darkhax.bookshelf.common.impl.registry.adapter.PotPatternAdapter
 
preview() - Method in interface net.darkhax.bookshelf.common.api.text.font.IFontEntry
Gets some text that can be used as a preview for the font in-game.
processLootTable(Identifier, LootTable) - Method in class net.darkhax.bookshelf.common.impl.data.loot.modifiers.LootModificationHandler
 
PropertyFormat - Enum Class in net.darkhax.bookshelf.common.api.text.format
Formats a property string using various separator patterns.

Q

QuadConsumer<P1,P2,P3,P4> - Interface in net.darkhax.bookshelf.common.api.function
A consumer that accepts four parameters.

R

RANDOM - Static variable in class net.darkhax.bookshelf.common.api.util.MathsHelper
An RNG source that can be used in contexts where a more suitable RNG source is not available.
RANDOM_SOURCE - Static variable in class net.darkhax.bookshelf.common.api.util.MathsHelper
A RandomSource that can be used in contexts where a more suitable RNG source is not available.
randomOffset(BlockPos, RandomSource, int, int, int) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Offsets a position by a random amount within a limited range.
randomOffsetHorizontal(BlockPos, RandomSource, int) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Offsets a position horizontally by a random amount.
readPos(ContainerData) - Static method in class net.darkhax.bookshelf.common.api.menu.data.BlockPosData
Reads a BlockPos from untyped container data.
RECIPE_SERIALIZER - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
RECIPE_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
recipeSerializer(MapCodec, StreamCodec) - Static method in class net.darkhax.bookshelf.common.api.util.DataHelper
Deprecated.
RecipeTypeAdapter - Class in net.darkhax.bookshelf.common.impl.registry.adapter
 
RecipeTypeAdapter(RegistrationContext, ResourceKey, BiConsumer) - Constructor for class net.darkhax.bookshelf.common.impl.registry.adapter.RecipeTypeAdapter
 
RecipeTypeImpl<T> - Record Class in net.darkhax.bookshelf.common.impl.recipe
 
RecipeTypeImpl(Identifier) - Constructor for record class net.darkhax.bookshelf.common.impl.recipe.RecipeTypeImpl
Creates an instance of a RecipeTypeImpl record class.
redirectLightningStrike(BlockState, Level, BlockPos) - Method in interface net.darkhax.bookshelf.common.api.block.IBlockHooks
Provides an array of directions lightning can travel and indirectly hit when this block is hit by lightning.
register(IPacket) - Method in interface net.darkhax.bookshelf.common.api.network.INetworkHandler
Registers a Bookshelf packet type to the packet registry.
register(Identifier, int, int, LootPoolAddition) - Method in interface net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter.RegisterFunc
 
register(Identifier, MapCodec) - Static method in class net.darkhax.bookshelf.common.api.data.conditions.LoadConditions
 
registerFunc() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
Returns the value of the registerFunc record component.
registerFunc() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.PacketAdapter
Returns the value of the registerFunc record component.
RegistrationContext - Class in net.darkhax.bookshelf.common.api.registry
Holds context that is shared between different registry adapters.
RegistrationContext(String) - Constructor for class net.darkhax.bookshelf.common.api.registry.RegistrationContext
 
RegistryAdapter<K,V> - Interface in net.darkhax.bookshelf.common.api.registry.adapters
Provides a loader agnostic interface for registering content.
RegistryContains<T> - Class in net.darkhax.bookshelf.common.impl.data.conditions
 
registryFunc - Variable in class net.darkhax.bookshelf.common.api.registry.adapters.GameRegistryAdapter
A function that accepts and registers a key and value supplier.
registryFunc - Variable in class net.darkhax.bookshelf.common.api.registry.adapters.GenericRegistryAdapter
A function that accepts and registers a key and value supplier.
registryFunc() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootDescriptionAdapter
Returns the value of the registryFunc record component.
registryKey - Variable in class net.darkhax.bookshelf.common.api.registry.adapters.GameRegistryAdapter
The id of the registry being adapted.
RegistryMapCodecHelper<T> - Class in net.darkhax.bookshelf.common.api.data.codecs.map
 
RegistryReference<K,V> - Record Class in net.darkhax.bookshelf.common.api.registry
Represents an entry in a game registry.
RegistryReference(K, CachedSupplier) - Constructor for record class net.darkhax.bookshelf.common.api.registry.RegistryReference
Creates an instance of a RegistryReference record class.
RenameCommand - Class in net.darkhax.bookshelf.common.impl.command
 
RenameCommand() - Constructor for class net.darkhax.bookshelf.common.impl.command.RenameCommand
 
renderBox(VertexConsumer, PoseStack, TextureAtlasSprite, int, int, float, float, float, float, float, float, int[]) - Method in interface net.darkhax.bookshelf.common.api.util.IRenderHelper
 
renderBox(VertexConsumer, PoseStack, TextureAtlasSprite, int, int, int[]) - Method in interface net.darkhax.bookshelf.common.api.util.IRenderHelper
 
renderBox(VertexConsumer, Matrix4f, TextureAtlasSprite, int, int, float, float, float, float, float, float, int[]) - Method in interface net.darkhax.bookshelf.common.api.util.IRenderHelper
 
renderFace(VertexConsumer, Matrix4f, TextureAtlasSprite, Direction, int, int, float, float, float, float, float, float, int[]) - Method in interface net.darkhax.bookshelf.common.api.util.IRenderHelper
 
renderFluidBox(PoseStack, FluidState, Level, BlockPos, MultiBufferSource, int, int) - Method in interface net.darkhax.bookshelf.common.api.util.IRenderHelper
 
requiredPermissionLevel() - Method in interface net.darkhax.bookshelf.common.api.commands.IEnumCommand
Gets the required permission level to perform the command.
requiredPermissionLevel() - Method in enum class net.darkhax.bookshelf.common.impl.command.DebugCommands
 
requiresTesting() - Method in interface net.darkhax.bookshelf.common.api.data.ingredient.IngredientLogic
 
reset() - Method in class net.darkhax.bookshelf.common.api.util.TickAccumulator
Resets the tick accumulator.
resource(Registry, Identifier, CachedSupplier) - Static method in record class net.darkhax.bookshelf.common.api.registry.RegistryReference
A helper method that produces a reference for a registry that uses ResourceKey.
resource(ResourceKey, Identifier, CachedSupplier) - Static method in record class net.darkhax.bookshelf.common.api.registry.RegistryReference
A helper method that produces a reference for a registry that uses ResourceKey.
resource(ResourceKey) - Static method in record class net.darkhax.bookshelf.common.api.registry.RegistryReference
A helper method that produces a reference for a registry that uses ResourceKey.
RESOURCE_LOCATION - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
RIGHT - Enum constant in enum class net.darkhax.bookshelf.common.api.text.format.PropertyFormat
Formats a property with the separator aligned to the right.
RNG - Static variable in interface net.darkhax.bookshelf.common.api.util.IGameplayHelper
 
ROOT_PLACER_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
rotateShape(Direction, double, double, double, double, double, double) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Creates a VoxelShape that has been rotated to face a given direction.
ROTATION - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
round(double, int) - Static method in class net.darkhax.bookshelf.common.api.util.MathsHelper
Rounds a double with a certain amount of precision.
RULE_BLOCK_ENTITY_MODIFIER - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
RULE_TEST - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
run(CommandContext) - Method in enum class net.darkhax.bookshelf.common.impl.command.DebugCommands
 
run(CommandContext) - Method in enum class net.darkhax.bookshelf.common.impl.command.HandCommand
 

S

SECOND - Enum constant in enum class net.darkhax.bookshelf.common.api.text.unit.Units
 
sendToPlayer(ServerPlayer, T) - Method in interface net.darkhax.bookshelf.common.api.network.INetworkHandler
Sends a packet from the server to a player.
sendToServer(T) - Method in interface net.darkhax.bookshelf.common.api.network.INetworkHandler
Sends a payload from the client to the server.
SENSOR_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
SERIALIZER - Static variable in class net.darkhax.bookshelf.common.api.commands.args.FontArgument
 
SERIALIZER - Static variable in class net.darkhax.bookshelf.common.api.commands.args.TagArgument
 
serializeToJson(ArgumentSerializer.ArgTemplate, JsonObject) - Method in class net.darkhax.bookshelf.common.api.commands.args.ArgumentSerializer
 
serializeToJson(SingletonArgumentInfo.Template, JsonObject) - Method in class net.darkhax.bookshelf.common.api.commands.args.SingletonArgumentInfo
 
serializeToNetwork(ArgumentSerializer.ArgTemplate, FriendlyByteBuf) - Method in class net.darkhax.bookshelf.common.api.commands.args.ArgumentSerializer
 
serializeToNetwork(SingletonArgumentInfo.Template, FriendlyByteBuf) - Method in class net.darkhax.bookshelf.common.api.commands.args.SingletonArgumentInfo
 
SERVER - Enum constant in enum class net.darkhax.bookshelf.common.api.PhysicalSide
A physical server.
SERVER_TO_CLIENT - Enum constant in enum class net.darkhax.bookshelf.common.api.network.Destination
Describes a situation where the server has a payload that will be sent to a client.
Services - Class in net.darkhax.bookshelf.common.api.service
 
Services() - Constructor for class net.darkhax.bookshelf.common.api.service.Services
 
set(int, int) - Method in class net.darkhax.bookshelf.common.api.menu.data.BlockPosData
 
setCodec() - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
Gets a codec that can read and write a set.
setCodec(String, Function) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
A helper for defining a field for a set of this type in a RecordCodecBuilder.
setCodec(String, Function, Set) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
A helper for defining a field for a set of this type in a RecordCodecBuilder.
setCodec(String, Function, T...) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
A helper for defining a field for a set of this type in a RecordCodecBuilder.
setCopyText(MutableComponent, String) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Adds a click event to a text component that will copy text to the players clipboard when they click on it.
setName(Component) - Method in interface net.darkhax.bookshelf.common.mixin.access.block.AccessorBannerBlockEntity
 
setTicks(float) - Method in class net.darkhax.bookshelf.common.api.util.TickAccumulator
Sets the current amount of ticks.
SHORT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
SIMPLE_DUNGEON_COMMON - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
SIMPLE_DUNGEON_RARE - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
SIMPLE_DUNGEON_UNCOMMON - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
SIMPLE_TABLES - Enum constant in enum class net.darkhax.bookshelf.common.impl.command.DebugCommands
 
singleton(T) - Static method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
Creates a cached supplier that can only produce a single value.
SINGLETON - Static variable in class net.darkhax.bookshelf.common.impl.data.ingredient.FalseIngredient
 
SingletonArgumentInfo<T> - Class in net.darkhax.bookshelf.common.api.commands.args
An argument info type that will always resolve to the same singleton instance.
SingletonArgumentInfo.Template<T> - Class in net.darkhax.bookshelf.common.api.commands.args
A template that holds a cached argument singleton.
SNIFFER_DIGGING - Static variable in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
 
SOUND_EVENT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
SOUND_SOURCE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
SoundEventAdapter - Class in net.darkhax.bookshelf.common.impl.registry.adapter
 
SoundEventAdapter(RegistrationContext, ResourceKey, BiConsumer) - Constructor for class net.darkhax.bookshelf.common.impl.registry.adapter.SoundEventAdapter
 
SPACED - Enum constant in enum class net.darkhax.bookshelf.common.api.text.format.PropertyFormat
Formats a property using a single space as the separator.
STACK_JSON - Enum constant in enum class net.darkhax.bookshelf.common.impl.command.HandCommand
 
STACK_NBT - Enum constant in enum class net.darkhax.bookshelf.common.impl.command.HandCommand
 
STAT_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
stream() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.IngredientTypeAdapter.IngredientType
Returns the value of the stream record component.
STREAM - Static variable in class net.darkhax.bookshelf.common.impl.data.ingredient.AllOfIngredient
 
STREAM - Static variable in class net.darkhax.bookshelf.common.impl.data.ingredient.BlockTagIngredient
 
STREAM - Static variable in class net.darkhax.bookshelf.common.impl.data.ingredient.EitherIngredient
 
STREAM - Static variable in class net.darkhax.bookshelf.common.impl.data.ingredient.FalseIngredient
 
STREAM - Static variable in class net.darkhax.bookshelf.common.impl.data.ingredient.ModIdIngredient
 
streamCodec() - Method in class net.darkhax.bookshelf.common.api.network.AbstractPacket
 
streamCodec() - Method in interface net.darkhax.bookshelf.common.api.network.IPacket
Gets a stream codec that can serialize the payload across the network.
StreamCodecs - Class in net.darkhax.bookshelf.common.api.data.codecs.stream
 
StreamCodecs() - Constructor for class net.darkhax.bookshelf.common.api.data.codecs.stream.StreamCodecs
 
STRING - Enum constant in enum class net.darkhax.bookshelf.common.impl.command.HandCommand
 
STRING - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
STRING - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.stream.StreamCodecs
 
STRUCTURE_PIECE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
STRUCTURE_PLACEMENT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
STRUCTURE_POOL_ELEMENT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
STRUCTURE_PROCESSOR - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
STRUCTURE_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
StructureCommand - Class in net.darkhax.bookshelf.common.impl.command
 
StructureCommand() - Constructor for class net.darkhax.bookshelf.common.impl.command.StructureCommand
 
subList(ListTag, int, int) - Static method in class net.darkhax.bookshelf.common.api.util.DataHelper
Creates a sublist of a ListTag.

T

tabBuilder() - Method in interface net.darkhax.bookshelf.common.api.util.IGameplayHelper
 
table() - Method in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
Returns the value of the table record component.
tag() - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.RegistryMapCodecHelper
 
TAG - Static variable in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
 
TagArgument<T> - Class in net.darkhax.bookshelf.common.api.commands.args
 
TAGS - Enum constant in enum class net.darkhax.bookshelf.common.impl.command.HandCommand
 
Template(Supplier, ArgumentTypeInfo) - Constructor for class net.darkhax.bookshelf.common.api.commands.args.SingletonArgumentInfo.Template
 
test(Optional, Predicate) - Static method in class net.darkhax.bookshelf.common.api.util.FunctionHelper
Tests an optional value.
test(CommandSourceStack) - Method in enum class net.darkhax.bookshelf.common.api.commands.PermissionLevel
 
test(ItemStack) - Method in interface net.darkhax.bookshelf.common.api.data.ingredient.IngredientLogic
 
test(ItemStack) - Method in class net.darkhax.bookshelf.common.impl.data.ingredient.AllOfIngredient
 
test(ItemStack) - Method in class net.darkhax.bookshelf.common.impl.data.ingredient.BlockTagIngredient
 
test(ItemStack) - Method in class net.darkhax.bookshelf.common.impl.data.ingredient.EitherIngredient
 
test(ItemStack) - Method in class net.darkhax.bookshelf.common.impl.data.ingredient.FalseIngredient
 
test(ItemStack) - Method in class net.darkhax.bookshelf.common.impl.data.ingredient.ModIdIngredient
 
test(LootContext, CallbackInfoReturnable) - Method in class net.darkhax.bookshelf.common.mixin.patch.loot.MixinLootItemKilledByPlayerCondition
This patch allows mobs that were killed with Bookshelfs fake player damage to satisfy the minecraft:killed_by_player loot condition.
TEXT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
TextHelper - Class in net.darkhax.bookshelf.common.api.util
 
TextHelper() - Constructor for class net.darkhax.bookshelf.common.api.util.TextHelper
 
tick(float) - Method in class net.darkhax.bookshelf.common.api.util.TickAccumulator
Adds an amount of ticks to the accumulator.
TICK - Enum constant in enum class net.darkhax.bookshelf.common.api.text.unit.Units
 
TickAccumulator - Class in net.darkhax.bookshelf.common.api.util
While the current tick rate is synced between the client and server, some things like tile entities continue to tick at the base 20tps on the client.
TickAccumulator(float) - Constructor for class net.darkhax.bookshelf.common.api.util.TickAccumulator
Creates a new tick accumulator.
tickDown(Level) - Method in class net.darkhax.bookshelf.common.api.util.TickAccumulator
Ticks the accumulator down by one tick.
tickUp(Level) - Method in class net.darkhax.bookshelf.common.api.util.TickAccumulator
Ticks the accumulator up by one tick.
toAllPlayers(ServerLevel, T) - Method in interface net.darkhax.bookshelf.common.api.network.IPacket
Sends the packet from the server to all connected players.
toAllPlayers(MinecraftServer, T) - Method in interface net.darkhax.bookshelf.common.api.network.IPacket
Sends the packet from the server to all connected players.
toAllPlayers(PlayerList, T) - Method in interface net.darkhax.bookshelf.common.api.network.IPacket
Sends the packet from the server to all connected players.
toPlayer(ServerPlayer, T) - Method in interface net.darkhax.bookshelf.common.api.network.IPacket
Sends the packet from the server to a specific player.
toServer(T) - Method in interface net.darkhax.bookshelf.common.api.network.IPacket
Sends a packet from a client to the server.
toString() - Method in record class net.darkhax.bookshelf.common.api.data.conditions.ConditionType
Returns a string representation of this record class.
toString() - Method in record class net.darkhax.bookshelf.common.api.data.loot.modifiers.LootPoolAddition
Returns a string representation of this record class.
toString() - Method in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
Returns a string representation of this record class.
toString() - Method in record class net.darkhax.bookshelf.common.api.ModEntry
Returns a string representation of this record class.
toString() - Method in record class net.darkhax.bookshelf.common.api.registry.RegistryReference
Returns a string representation of this record class.
toString() - Method in record class net.darkhax.bookshelf.common.impl.data.criterion.trigger.AdvancementTrigger.Instance
Returns a string representation of this record class.
toString() - Method in record class net.darkhax.bookshelf.common.impl.recipe.RecipeTypeImpl
Returns a string representation of this record class.
toString() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.BlockEntityRendererAdapter
Returns a string representation of this record class.
toString() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.CommandArgumentAdapter.TypeInfo
Returns a string representation of this record class.
toString() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.IngredientTypeAdapter.IngredientType
Returns a string representation of this record class.
toString() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootDescriptionAdapter
Returns a string representation of this record class.
toString() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.LootPoolAdditionAdapter
Returns a string representation of this record class.
toString() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.MenuScreenAdapter
Returns a string representation of this record class.
toString() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.PacketAdapter
Returns a string representation of this record class.
TranslateCommand - Class in net.darkhax.bookshelf.common.impl.command
 
TranslateCommand() - Constructor for class net.darkhax.bookshelf.common.impl.command.TranslateCommand
 
TREE_DECORATOR_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
TriConsumer<P1,P2,P3> - Interface in net.darkhax.bookshelf.common.api.function
 
TriFunction<P1,P2,P3,R> - Interface in net.darkhax.bookshelf.common.api.function
 
trigger(ServerPlayer, AdvancementHolder) - Method in class net.darkhax.bookshelf.common.impl.data.criterion.trigger.AdvancementTrigger
 
TRIGGER - Static variable in class net.darkhax.bookshelf.common.impl.data.criterion.trigger.AdvancementTrigger
 
TRIGGER_TYPES - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
TRUNK_PLACER_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
type() - Method in class net.darkhax.bookshelf.common.api.commands.args.ArgumentSerializer.ArgTemplate
 
type() - Method in class net.darkhax.bookshelf.common.api.commands.args.SingletonArgumentInfo.Template
 
type() - Method in class net.darkhax.bookshelf.common.api.network.AbstractPacket
 
type() - Method in interface net.darkhax.bookshelf.common.api.network.IPacket
Gets the payload type.
TYPE - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.And
 
TYPE - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.ModLoaded
 
TYPE - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.Not
 
TYPE - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.OnPlatform
 
TYPE - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.Or
 
TYPE_ID - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.And
 
TYPE_ID - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.ModLoaded
 
TYPE_ID - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.Not
 
TYPE_ID - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.OnPlatform
 
TYPE_ID - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.Or
 
typeIfo() - Method in record class net.darkhax.bookshelf.common.impl.registry.adapter.CommandArgumentAdapter.TypeInfo
Returns the value of the typeIfo record component.
TypeInfo(Class, ArgumentTypeInfo) - Constructor for record class net.darkhax.bookshelf.common.impl.registry.adapter.CommandArgumentAdapter.TypeInfo
Creates an instance of a TypeInfo record class.

U

UNIFORM - Enum constant in enum class net.darkhax.bookshelf.common.api.text.font.BuiltinFonts
A plain font that is not stylized.
unitKey() - Method in interface net.darkhax.bookshelf.common.api.text.unit.IUnit
A namespaced identifier that is used to derive localization keys for the unit.
unitKey() - Method in enum class net.darkhax.bookshelf.common.api.text.unit.Units
 
unitName() - Method in interface net.darkhax.bookshelf.common.api.text.unit.IUnit
Gets the name of the unit.
Units - Enum Class in net.darkhax.bookshelf.common.api.text.unit
Represents various units that can be displayed in game.
unpack(Either) - Static method in class net.darkhax.bookshelf.common.api.util.FunctionHelper
Unpacks an Either into its value using the first possible match.
unpack(T) - Method in class net.darkhax.bookshelf.common.api.commands.args.ArgumentSerializer
 
unpack(T) - Method in class net.darkhax.bookshelf.common.api.commands.args.SingletonArgumentInfo
 
unpackARGB(int) - Method in interface net.darkhax.bookshelf.common.api.util.IRenderHelper
 
UUID - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 

V

value() - Element in annotation interface net.darkhax.bookshelf.common.api.annotation.OnlyFor
 
value() - Method in record class net.darkhax.bookshelf.common.api.registry.RegistryReference
Returns the value of the value record component.
valueOf(String) - Static method in enum class net.darkhax.bookshelf.common.api.commands.PermissionLevel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.darkhax.bookshelf.common.api.data.enchantment.EnchantmentLevel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.darkhax.bookshelf.common.api.network.Destination
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.darkhax.bookshelf.common.api.PhysicalSide
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.darkhax.bookshelf.common.api.text.font.BuiltinFonts
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.darkhax.bookshelf.common.api.text.format.PropertyFormat
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.darkhax.bookshelf.common.api.text.unit.Units
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.darkhax.bookshelf.common.impl.command.DebugCommands
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.darkhax.bookshelf.common.impl.command.HandCommand
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.darkhax.bookshelf.common.api.commands.PermissionLevel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.darkhax.bookshelf.common.api.data.enchantment.EnchantmentLevel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.darkhax.bookshelf.common.api.network.Destination
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.darkhax.bookshelf.common.api.PhysicalSide
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.darkhax.bookshelf.common.api.text.font.BuiltinFonts
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.darkhax.bookshelf.common.api.text.format.PropertyFormat
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.darkhax.bookshelf.common.api.text.unit.Units
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.darkhax.bookshelf.common.impl.command.DebugCommands
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.darkhax.bookshelf.common.impl.command.HandCommand
Returns an array containing the constants of this enum class, in the order they are declared.
variableRange(String) - Method in class net.darkhax.bookshelf.common.impl.registry.adapter.SoundEventAdapter
 
VECTOR_3F - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
 
version() - Method in record class net.darkhax.bookshelf.common.api.ModEntry
Returns the value of the version record component.

W

WEEK - Enum constant in enum class net.darkhax.bookshelf.common.api.text.unit.Units
 
withHover(Component, Component) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Applies hover text to a text component.
withHover(Component, HoverEvent) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Applies a hover event to a text component.
withHover(Component, Entity) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Applies hover text based on an entity to a text component.
withHover(Component, ItemStackTemplate) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
Applies hover text based on an item to a text component.

X

xor(Codec, Codec) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
Creates a codec that will try two different codecs, using the first valid codec.

Y

YEAR - Enum constant in enum class net.darkhax.bookshelf.common.api.text.unit.Units
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values