Index
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(ResourceLocation, StreamCodec<RegistryFriendlyByteBuf, T>) - Constructor for class net.darkhax.bookshelf.common.api.network.AbstractPacket
-
A packet that is sent from the server to the client.
- AbstractPacket(ResourceLocation, StreamCodec<RegistryFriendlyByteBuf, T>, Destination) - Constructor for class net.darkhax.bookshelf.common.api.network.AbstractPacket
-
A simple packet type.
- accept(String, Class, ArgumentTypeInfo<A, T>) - Method in interface net.darkhax.bookshelf.common.api.registry.register.ArgumentRegister
- accept(String, UnaryOperator<DataComponentType.Builder<T>>) - Method in interface net.darkhax.bookshelf.common.api.registry.register.ItemComponentRegister
- accept(ResourceLocation, UnaryOperator<DataComponentType.Builder<T>>) - Method in interface net.darkhax.bookshelf.common.api.registry.register.ItemComponentRegister
- 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.
- AccessorAbstractWidget - Interface in net.darkhax.bookshelf.common.mixin.access.client.gui
- AccessorBannerBlockEntity - Interface in net.darkhax.bookshelf.common.mixin.access.block
- AccessorBaseContainerBlockEntity - Interface in net.darkhax.bookshelf.common.mixin.access.block
- AccessorCommandContext - Interface in net.darkhax.bookshelf.common.mixin.access.commands
- 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
- 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 record class net.darkhax.bookshelf.common.api.registry.register.RegisterCatVariant
- add(String) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItem
- add(String) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPotPatterns
- add(String) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterRecipeType
- add(String, MapCodec<T>, StreamCodec<RegistryFriendlyByteBuf, T>) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterIngredient
- add(String, Consumer<CreativeModeTab.Builder>) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItemTab
- add(String, Supplier<ItemStack>) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItemTab
- add(String, Supplier<ItemStack>, CreativeModeTab.DisplayItemsGenerator) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItemTab
- add(String, PoolTarget, Item, int) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
- add(String, PoolTarget, ItemStack, int) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
- add(String, PoolTarget, LootPoolEntryContainer) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
- add(String, MenuRegister.ClientMenuFactory<? extends AbstractContainerMenu>) - Method in record class net.darkhax.bookshelf.common.api.registry.register.MenuRegister
- add(String, RegisterParticleProviders.SimpleParticleProviderBuilder) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleProviders
- add(String, ResourceKey<LootTable>, int, int, Item, int) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
- add(String, ResourceKey<LootTable>, int, int, ItemStack, int) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
- add(String, ResourceKey<LootTable>, int, int, LootPoolEntryContainer) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
- add(String, ResourceLocation) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterCatVariant
- add(String, ResourceLocation, int, int, Item, int) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
- add(String, ResourceLocation, int, int, ItemStack, int) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
- add(String, ResourceLocation, int, int, LootPoolEntryContainer) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
- add(String, CreativeModeTab) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItemTab
- add(String, Item) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItem
- add(String, Item.Properties) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItem
- add(String, T) - Method in record class net.darkhax.bookshelf.common.api.registry.register.Register
- add(Supplier<SimpleParticleType>, RegisterParticleProviders.SimpleParticleProviderBuilder) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleProviders
- add(IPacket<T>) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPacket
- add(SimpleParticleType, RegisterParticleProviders.SimpleParticleProviderBuilder) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleProviders
- add(ResourceLocation) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItem
- add(ResourceLocation) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPotPatterns
- add(ResourceLocation) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterRecipeType
- add(ResourceLocation, MenuRegister.ClientMenuFactory<? extends AbstractContainerMenu>) - Method in record class net.darkhax.bookshelf.common.api.registry.register.MenuRegister
- add(ResourceLocation, RegisterParticleProviders.SimpleParticleProviderBuilder) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleProviders
- add(ResourceLocation, Item) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItem
- add(ResourceLocation, Item.Properties) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItem
- add(ResourceLocation, T) - Method in record class net.darkhax.bookshelf.common.api.registry.register.Register
- add(Item, String) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPotPatterns
- add(Item, ResourceLocation) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPotPatterns
- addBlock(Block) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItem
- addCommonWanderingTrade(VillagerTrades.ItemListing) - Method in class net.darkhax.bookshelf.common.api.registry.register.RegisterVillagerTrades
-
Adds a trade to the wandering traders common trade pool.
- addCreativeTabForms(CreativeModeTab, Consumer<ItemStack>) - Method in interface net.darkhax.bookshelf.common.api.item.IItemHooks
- addItem(ItemStack, NonNullList<ItemStack>, int[]) - Method in interface net.darkhax.bookshelf.common.api.util.IGameplayHelper
-
Attempts to add an item to a list based inventory.
- addRareWanderingTrade(VillagerTrades.ItemListing) - Method in class net.darkhax.bookshelf.common.api.registry.register.RegisterVillagerTrades
-
Adds a trade to the wandering traders rare trades pool.
- addSimple(String) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleTypes
- addSimple(String, boolean) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleTypes
- addSimple(ResourceLocation) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleTypes
- addSimple(ResourceLocation, boolean) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleTypes
- addTrade(VillagerProfession, int, VillagerTrades.ItemListing) - Method in class net.darkhax.bookshelf.common.api.registry.register.RegisterVillagerTrades
-
Adds a new trade listing to a specific profession that may become available when the specified profession tier is reached.
- addTrade(VillagerProfession, MerchantTier, VillagerTrades.ItemListing) - Method in class net.darkhax.bookshelf.common.api.registry.register.RegisterVillagerTrades
-
Adds a new trade listing to a specific profession that may become available when the specified profession tier is reached.
- addUnique(Collection<Component>, 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.
- addWanderingTrade(VillagerTrades.ItemListing, boolean) - Method in class net.darkhax.bookshelf.common.api.registry.register.RegisterVillagerTrades
-
Adds a trade to the wandering villager trade pool.
- 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
advancementIdsrecord 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<Ingredient>) - 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<? super R, ? extends R>) - Method in interface net.darkhax.bookshelf.common.api.function.TriFunction
- andThen(QuadConsumer<P1, P2, P3, P4>) - Method in interface net.darkhax.bookshelf.common.api.function.QuadConsumer
-
Chains another consumer on to this one.
- andThen(TriConsumer<P1, P2, P3>) - Method in interface net.darkhax.bookshelf.common.api.function.TriConsumer
- apply(Consumer<T>) - Method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
-
Invokes the consumer with the cached value.
- apply(Level) - Method in class net.darkhax.bookshelf.common.api.function.ReloadableCache
- apply(Level) - Method in class net.darkhax.bookshelf.common.api.function.SidedReloadableCache
- apply(Level, Consumer<T>) - Method in class net.darkhax.bookshelf.common.api.function.ReloadableCache
-
Invokes the consumer with the cached value.
- apply(Level, Consumer<T>) - Method in class net.darkhax.bookshelf.common.api.function.SidedReloadableCache
- apply(P1, P2, P3) - Method in interface net.darkhax.bookshelf.common.api.function.TriFunction
- applyFont(Component, ResourceLocation) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
-
Recursively applies a font to text and all of its subcomponents.
- APPRENTICE - Enum constant in enum class net.darkhax.bookshelf.common.api.entity.villager.MerchantTier
- 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<? extends Registry<T>>) - Static method in class net.darkhax.bookshelf.common.api.commands.args.TagArgument
- ArgTemplate(ArgumentSerializer<T, V>, V) - Constructor for class net.darkhax.bookshelf.common.api.commands.args.ArgumentSerializer.ArgTemplate
- 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
- ArgumentRegister - Interface in net.darkhax.bookshelf.common.api.registry.register
- ArgumentSerializer<T,
V> - Class in net.darkhax.bookshelf.common.api.commands.args - ArgumentSerializer(MapCodec<V>, StreamCodec<FriendlyByteBuf, V>, BiFunction<CommandBuildContext, V, T>, Function<T, V>) - Constructor for class net.darkhax.bookshelf.common.api.commands.args.ArgumentSerializer
- ArgumentSerializer.ArgTemplate<T,
V> - Class in net.darkhax.bookshelf.common.api.commands.args - ARMOR_MATERIAL - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- 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<? extends M>, RegisterMenuScreen.ScreenFactory<M, U>) - Method in class net.darkhax.bookshelf.common.api.registry.register.RegisterMenuScreen
- bind(BlockEntityType<T>, BlockEntityRendererProvider<T>) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterBlockEntityRenderer
- bindBlockEntityRenderer(RegisterBlockEntityRenderer) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- bindFunc() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterBlockEntityRenderer
-
Returns the value of the
bindFuncrecord component. - bindMenu(MenuType<? extends M>, RegisterMenuScreen.ScreenFactory<M, U>) - Method in interface net.darkhax.bookshelf.common.api.util.IGameplayHelper
-
Binds a screen to a menu using platform specific code.
- bindMenu(MenuType<? extends M>, RegisterMenuScreen.ScreenFactory<M, U>) - Method in class net.darkhax.bookshelf.forge.impl.util.ForgeGameplayHelper
- bindRenderLayers(BiConsumer<Block, RenderType>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- 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
- blockEntityBuilder(BiFunction<BlockPos, BlockState, T>, Block...) - Method in interface net.darkhax.bookshelf.common.api.util.IGameplayHelper
-
Creates a new block entity builder using platform specific code.
- blockEntityBuilder(BiFunction<BlockPos, BlockState, T>, Block...) - Method in class net.darkhax.bookshelf.forge.impl.util.ForgeGameplayHelper
- blockSprite(ResourceLocation) - 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<TagKey<Block>>) - Constructor for class net.darkhax.bookshelf.common.impl.data.ingredient.BlockTagIngredient
- BlockTagToItemTagCommand - Class in net.darkhax.bookshelf.common.impl.command
- BlockTagToItemTagCommand() - Constructor for class net.darkhax.bookshelf.common.impl.command.BlockTagToItemTagCommand
- bookshelf$bonusRolls() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootPool
- bookshelf$byTypeMap() - Method in interface net.darkhax.bookshelf.common.mixin.access.level.AccessorRecipeManager
- 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<Item>, int, int, List<LootItemCondition>, List<LootItemFunction>) - 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$getArguments() - Method in interface net.darkhax.bookshelf.common.mixin.access.commands.AccessorCommandContext
- 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$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$renderScrollingString(GuiGraphics, Font, Component, int, int, int, int, int) - Static method in interface net.darkhax.bookshelf.common.mixin.access.client.gui.AccessorAbstractWidget
- bookshelf$rolls() - Method in interface net.darkhax.bookshelf.common.mixin.access.loot.AccessorLootPool
- bookshelf$setEntries(List<LootPoolEntryContainer>) - 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$setLogicalClient() - Method in interface net.darkhax.bookshelf.common.api.data.ISidedRecipeManager
- bookshelf$setLogicalClient() - Method in class net.darkhax.bookshelf.common.mixin.patch.level.MixinRecipeManager
- bookshelf$setLogicalServer() - Method in interface net.darkhax.bookshelf.common.api.data.ISidedRecipeManager
- bookshelf$setLogicalServer() - Method in class net.darkhax.bookshelf.common.mixin.patch.level.MixinRecipeManager
- 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
- 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(CommandBuildContext) - Static method in class net.darkhax.bookshelf.common.impl.command.BlockTagToItemTagCommand
- 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
- build(T) - Method in interface net.darkhax.bookshelf.common.api.registry.register.RegisterParticleProviders.SimpleParticleProviderBuilder
- buildFromEnum(ArgumentBuilder<CommandSourceStack, ?>, Class<T>) - 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<T>) - 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<T>) - 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<T>) - Constructor for class net.darkhax.bookshelf.common.api.function.CachedSupplier
- 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, ResourceLocation) - Method in interface net.darkhax.bookshelf.common.api.network.INetworkHandler
-
Tests if a payload type can be sent to a player.
- canSendPacket(ServerPlayer, ResourceLocation) - Method in class net.darkhax.bookshelf.forge.impl.network.ForgeNetworkHandler
- 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
- CAT_VARIANT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- CENTER - Enum constant in enum class net.darkhax.bookshelf.common.api.text.format.PropertyFormat
-
Formats a property with the separator aligned in the center.
- 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_RECIPE_MANAGER - Static variable in class net.darkhax.bookshelf.common.impl.Constants
- CLIENT_REVISION - Static variable in class net.darkhax.bookshelf.common.impl.Constants
- 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
codecrecord component. - codec() - Method in class net.darkhax.bookshelf.common.impl.data.criterion.trigger.AdvancementTrigger
- 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 record class net.darkhax.bookshelf.common.impl.data.criterion.item.NamespaceItemPredicate
- 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.ModIdIngredient
- CODEC - Static variable in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
- 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
- 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
- CONDITIONAL_CODEC - Static variable in class net.darkhax.bookshelf.forge.mixin.patch.loot.MixinLootPool
- ConditionType - Record Class in net.darkhax.bookshelf.common.api.data.conditions
-
Represents a type of load condition that Bookshelf can process and test.
- ConditionType(ResourceLocation, MapCodec<? extends ILoadCondition>) - Constructor for record class net.darkhax.bookshelf.common.api.data.conditions.ConditionType
-
Creates an instance of a
ConditionTyperecord class. - Constants - Class in net.darkhax.bookshelf.common.impl
- Constants() - Constructor for class net.darkhax.bookshelf.common.impl.Constants
- containerSubList(ListTag, Predicate<Integer>) - 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_PROVIDERS - Static variable in class net.darkhax.bookshelf.common.api.service.Services
- contentNamespace() - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- contentNamespace() - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
- 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.api.registry.register.MenuRegister.ClientMenuFactory
- create(Registry<T>) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.RegistryMapCodecHelper
-
Creates a Codec helper for a builtin registry.
- create(ResourceKey<Registry<T>>) - 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.api.registry.register.RegisterMenuScreen.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<ItemStack>, 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
- CUSTOM_STAT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
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>, 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
- 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.
- 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
descriptionrecord 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<Ingredient>) - Constructor for class net.darkhax.bookshelf.common.impl.data.ingredient.EitherIngredient
- emeraldCost() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerSells
-
Returns the value of the
emeraldCostrecord component. - emeralds() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerBuys
-
Returns the value of the
emeraldsrecord component. - EMPTY - Static variable in class net.darkhax.bookshelf.common.api.function.ReloadableCache
-
A reloadable cache that will always return null.
- 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
- encode(FriendlyByteBuf, T) - Method in class net.darkhax.bookshelf.common.api.data.codecs.EnumStreamCodec
- encode(T, DynamicOps<T1>, T1) - Method in class net.darkhax.bookshelf.common.impl.data.loot.modifiers.FingerprintCodec
- entity(CompoundTag) - Static method in class net.darkhax.bookshelf.common.api.function.ReloadableCache
-
Creates a cache of an entity instance.
- ENTITY - Static variable in class net.darkhax.bookshelf.common.impl.data.conditions.RegistryContains
- ENTITY_SUB_PREDICATE_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- 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
entryrecord component. - enumerable(Class<T>) - 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<T>) - 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.entity.villager.trades.VillagerBuys
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerOffers
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerSells
-
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.register.MenuRegister
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.register.Register
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterBlockEntityRenderer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterCatVariant
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterIngredient
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItem
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItemTab
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootDescription
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPacket
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleProviders
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleTypes
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPotPatterns
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterRecipeType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.darkhax.bookshelf.common.impl.data.criterion.item.NamespaceItemPredicate
-
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.
- EQUIPMENT_SLOT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- EXPERT - Enum constant in enum class net.darkhax.bookshelf.common.api.entity.villager.MerchantTier
- ExtendedText - Class in net.darkhax.bookshelf.common.impl.resources
F
- fallback(Codec<T>, String, Supplier<T>) - 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<T>, String, Supplier<T>, 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.
- 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
- 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<T>) - Constructor for class net.darkhax.bookshelf.common.impl.data.loot.modifiers.FingerprintCodec
- 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
- flexibleArray(Codec<T>, IntFunction<T[]>) - 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<T>) - 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<T>) - 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
- FLOAT_PROVIDER_TYPE - 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
- ForgeGameplayHelper - Class in net.darkhax.bookshelf.forge.impl.util
- ForgeGameplayHelper() - Constructor for class net.darkhax.bookshelf.forge.impl.util.ForgeGameplayHelper
- ForgeIngredient<T> - Class in net.darkhax.bookshelf.forge.impl.data
- ForgeIngredient(T, Supplier<IIngredientSerializer<?>>) - Constructor for class net.darkhax.bookshelf.forge.impl.data.ForgeIngredient
- ForgeMod - Class in net.darkhax.bookshelf.forge.impl
- ForgeMod(FMLJavaModLoadingContext) - Constructor for class net.darkhax.bookshelf.forge.impl.ForgeMod
- ForgeModClient - Class in net.darkhax.bookshelf.forge.impl
- ForgeModClient(FMLJavaModLoadingContext) - Constructor for class net.darkhax.bookshelf.forge.impl.ForgeModClient
- ForgeNetworkHandler - Class in net.darkhax.bookshelf.forge.impl.network
- ForgeNetworkHandler() - Constructor for class net.darkhax.bookshelf.forge.impl.network.ForgeNetworkHandler
- ForgePlatformHelper - Class in net.darkhax.bookshelf.forge.impl.util
- ForgePlatformHelper() - Constructor for class net.darkhax.bookshelf.forge.impl.util.ForgePlatformHelper
- ForgeRenderHelper - Class in net.darkhax.bookshelf.forge.impl.util
- ForgeRenderHelper() - Constructor for class net.darkhax.bookshelf.forge.impl.util.ForgeRenderHelper
- 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<T>) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
-
Formats a collection of values to a string using
Object.toString(). - formatCollection(Collection<T>, Function<T, String>, 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
- FROG_VARIANT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- fromResourceLocation(String, String, ResourceLocation, 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.api.registry.register.RegisterCatVariant
-
Returns the value of the
funcrecord component. - 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
- get() - Method in enum class net.darkhax.bookshelf.common.api.commands.PermissionLevel
- 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(CommandContext<CommandSourceStack>) - 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<CommandSourceStack>) - Static method in class net.darkhax.bookshelf.common.api.commands.args.FontArgument
- get(String, CommandContext<CommandSourceStack>, ResourceKey<? extends Registry<T>>) - Static method in class net.darkhax.bookshelf.common.api.commands.args.TagArgument
- get(String, Function<O, 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(String, Function<O, T>, 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 - 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
- getArray() - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
-
Gets a codec that can read and write an array.
- getArray(String, Function<O, 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.
- getArray(String, Function<O, T[]>, 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.
- getBaseStack() - Method in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
- getCache(Level) - Method in class net.darkhax.bookshelf.common.api.function.SidedReloadableCache
- 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
- getCommonWanderingTrades() - Method in class net.darkhax.bookshelf.common.api.registry.register.RegisterVillagerTrades
- 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.
- getConfigPath() - Method in class net.darkhax.bookshelf.forge.impl.util.ForgePlatformHelper
- getContainer(ServerLevel, BlockPos) - Method in interface net.darkhax.bookshelf.common.api.util.IGameplayHelper
-
Gets a vanilla container for a given position.
- getCraftingRemainder(ItemStack) - Method in interface net.darkhax.bookshelf.common.api.util.IGameplayHelper
-
Gets the crafting remainder for a given item.
- getCraftingRemainder(ItemStack) - Method in class net.darkhax.bookshelf.forge.impl.util.ForgeGameplayHelper
- getDebugOutput(MinecraftServer, StringJoiner) - Method in interface net.darkhax.bookshelf.common.impl.command.DebugCommands.DebugTask
- getExamples() - Method in class net.darkhax.bookshelf.common.api.commands.args.FontArgument
- getExamples() - Method in class net.darkhax.bookshelf.common.api.commands.args.TagArgument
- 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.
- getGamePath() - Method in class net.darkhax.bookshelf.forge.impl.util.ForgePlatformHelper
- getInstance() - Static method in class net.darkhax.bookshelf.common.impl.BookshelfMod
-
Gets the Bookshelf mod instance.
- getItems() - Method in class net.darkhax.bookshelf.forge.impl.data.ForgeIngredient
- getList() - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
-
Gets a codec that can read and write a list.
- getList(String, Function<O, List<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.
- getList(String, Function<O, List<T>>, List<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.
- getList(String, Function<O, List<T>>, 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.
- getLoadedMods() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
-
Gets a set of every loaded modId.
- getLoadedMods() - Method in class net.darkhax.bookshelf.forge.impl.util.ForgePlatformHelper
- getLowestLevel(Class<T>) - Static method in class net.darkhax.bookshelf.common.api.util.CommandHelper
-
Gets the lowest required permission level for an enum command.
- 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.
- getModsPath() - Method in class net.darkhax.bookshelf.forge.impl.util.ForgePlatformHelper
- getName() - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
-
Gets the name of the platform.
- getName() - Method in class net.darkhax.bookshelf.forge.impl.util.ForgePlatformHelper
- getNullable(String) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
-
Gets a codec that can read and write nullable values.
- getNullable(String, Function<O, T>) - 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.
- getOffer(Entity, RandomSource) - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerBuys
- getOffer(Entity, RandomSource) - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerOffers
- getOffer(Entity, RandomSource) - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerSells
- getOptional(String) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
-
Gets a codec that can read and write an optional value.
- getOptional(String, Function<O, Optional<T>>) - 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.
- getOptional(String, Function<O, Optional<T>>, Optional<T>) - 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.
- getOrDefault(String, String, CallbackInfoReturnable<String>) - 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.
- getPhysicalSide() - Method in class net.darkhax.bookshelf.forge.impl.util.ForgePlatformHelper
- getPossibleMatches(String, Iterable<String>) - 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<String>, 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(RegistryAccess, LootPoolEntryContainer) - Method in interface net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriber
-
Generates a list of potential items that can be produced by the loot pool entry.
- getPotentialItems(RegistryAccess, Either<ResourceKey<LootTable>, LootTable>) - Static method in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
-
Gets a list of items that can be produced by a loot table.
- getPotentialItems(RegistryAccess, List<LootPoolEntryContainer>) - Static method in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
-
Gets a list of items that can be produced by a list of loot pool entries.
- getPotentialItems(RegistryAccess, LootPoolEntryContainer) - Static method in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
-
Gets a list of items that can be produced by a loot pool entry.
- getPotentialItems(RegistryAccess, LootTable) - Static method in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
-
Gets a list of items that can be produced by a loot table.
- getRareWanderingTrades() - Method in class net.darkhax.bookshelf.common.api.registry.register.RegisterVillagerTrades
- getRegisteredFonts() - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
- getRequiredEntries() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.RegistryContains
- getRequiredExp() - Method in enum class net.darkhax.bookshelf.common.api.entity.villager.MerchantTier
- getRequiredMods() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.ModLoaded
- getRequiredPlatform() - Method in class net.darkhax.bookshelf.common.impl.data.conditions.OnPlatform
- getSet() - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
-
Gets a codec that can read and write a set.
- getSet(String, Function<O, Set<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.
- getSet(String, Function<O, Set<T>>, Set<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.
- getSet(String, Function<O, Set<T>>, 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.
- 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<Registry<T>>, TagKey<T>) - Static method in class net.darkhax.bookshelf.common.api.util.DataHelper
- 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() - Method in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
- getType(ResourceLocation) - Static method in class net.darkhax.bookshelf.common.api.data.conditions.LoadConditions
- getVillagerTrades() - Method in class net.darkhax.bookshelf.common.api.registry.register.RegisterVillagerTrades
- getWeighted() - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
-
Gets a codec that can read and write a weighted entry.
- getWeighted(String, Function<O, WeightedEntry.Wrapper<T>>) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
-
A helper for defining a field for a weighted entry of this type in a RecordCodecBuilder.
- getWeightedList() - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
-
Gets a codec that can read and write a weighted list.
- getWeightedList(String, Function<O, SimpleWeightedRandomList<T>>) - Method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecHelper
-
A helper for defining a field for a weighted list of this type in a RecordCodecBuilder.
- GSON_PRETTY - Static variable in class net.darkhax.bookshelf.common.impl.Constants
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<Boolean>) - Method in class net.darkhax.bookshelf.common.mixin.patch.locale.MixinClientLanguage
- hasArgument(String, CommandContext<T>) - Static method in class net.darkhax.bookshelf.common.api.util.CommandHelper
- hash() - Method in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
-
Returns the value of the
hashrecord 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.entity.villager.trades.VillagerBuys
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerOffers
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerSells
-
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.register.MenuRegister
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.register.Register
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterBlockEntityRenderer
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterCatVariant
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterIngredient
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItem
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItemTab
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootDescription
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPacket
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleProviders
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleTypes
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPotPatterns
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterRecipeType
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.darkhax.bookshelf.common.impl.data.criterion.item.NamespaceItemPredicate
-
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.
- HEIGHT_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- 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
- IContentProvider - Interface in net.darkhax.bookshelf.common.api.registry
- id() - Method in record class net.darkhax.bookshelf.common.api.data.conditions.ConditionType
-
Returns the value of the
idrecord component. - id() - Method in record class net.darkhax.bookshelf.common.api.data.loot.modifiers.LootPoolAddition
-
Returns the value of the
idrecord component. - id() - Method in record class net.darkhax.bookshelf.common.impl.recipe.RecipeTypeImpl
-
Returns the value of the
idrecord component. - id(String) - Static method in class net.darkhax.bookshelf.common.impl.Constants
- 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<T>) - 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<T>) - Method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
-
Safely attempts to invoke a consumer with the cached value.
- ifPresent(Level, Consumer<T>) - Method in class net.darkhax.bookshelf.common.api.function.ReloadableCache
-
Applies a function to the cached value if the value is not null.
- ifPresent(Level, Consumer<T>) - Method in class net.darkhax.bookshelf.common.api.function.SidedReloadableCache
- 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
indexrecord 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_NONEMPTY - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- IngredientLogic<T> - Interface in net.darkhax.bookshelf.common.api.data.ingredient
- init() - Method in class net.darkhax.bookshelf.common.impl.BookshelfMod
- init(boolean) - Static method in interface net.darkhax.bookshelf.common.mixin.access.particles.AccessSimpleParticleType
- 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<ContextAwarePredicate>, Set<ResourceLocation>) - Constructor for record class net.darkhax.bookshelf.common.impl.data.criterion.trigger.AdvancementTrigger.Instance
-
Creates an instance of a
Instancerecord class. - 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
- INSTRUMENT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- INT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- INT_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- invalidate() - Method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
-
Invalidates the cached value.
- invalidate() - Method in class net.darkhax.bookshelf.common.api.function.ReloadableCache
-
Manually invalidates the cache.
- invalidate(Level) - Method in class net.darkhax.bookshelf.common.api.function.SidedReloadableCache
- 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.
- inventoryInsert(ServerLevel, BlockPos, Direction, ItemStack) - Method in class net.darkhax.bookshelf.forge.impl.util.ForgeGameplayHelper
- 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.
- isCached() - Method in class net.darkhax.bookshelf.common.api.function.ReloadableCache
-
Checks if the cache has cached a value.
- isCached(Level) - Method in class net.darkhax.bookshelf.common.api.function.SidedReloadableCache
- 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.
- isDevelopmentEnvironment() - Method in class net.darkhax.bookshelf.forge.impl.util.ForgePlatformHelper
- isEmpty() - Method in class net.darkhax.bookshelf.forge.impl.data.ForgeIngredient
- ISidedRecipeManager - Interface in net.darkhax.bookshelf.common.api.data
- isModLoaded(String) - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
-
Checks if a given mod is loaded.
- isModLoaded(String) - Method in class net.darkhax.bookshelf.forge.impl.util.ForgePlatformHelper
- 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.
- isSimple() - Method in class net.darkhax.bookshelf.forge.impl.data.ForgeIngredient
- 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.
- isTestingEnvironment() - Method in class net.darkhax.bookshelf.forge.impl.util.ForgePlatformHelper
- 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
- ITEM_STACK_STRICT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- ITEM_SUB_PREDICATE_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- ItemComponentRegister - Interface in net.darkhax.bookshelf.common.api.registry.register
- itemMap() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPotPatterns
-
Returns the value of the
itemMaprecord component. - itemToBuy() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerSells
-
Returns the value of the
itemToBuyrecord component. - IUnit - Interface in net.darkhax.bookshelf.common.api.text.unit
J
- join(Component, Collection<Component>) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
-
Joins several components together using a separator.
- join(Component, Iterator<Component>) - 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<Component>) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
-
Joins several components together using a separator.
- JOURNEYMAN - Enum constant in enum class net.darkhax.bookshelf.common.api.entity.villager.MerchantTier
L
- LEFT - Enum constant in enum class net.darkhax.bookshelf.common.api.text.format.PropertyFormat
-
Formats a property with the separator aligned to the left.
- list(StreamCodec<B, V>) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.stream.StreamCodecs
- listSuggestions(CommandContext<S>, SuggestionsBuilder) - Method in class net.darkhax.bookshelf.common.api.commands.args.FontArgument
- listSuggestions(CommandContext<S>, SuggestionsBuilder) - Method in class net.darkhax.bookshelf.common.api.commands.args.TagArgument
- living(CompoundTag) - Static method in class net.darkhax.bookshelf.common.api.function.ReloadableCache
-
Creates a cache of a living entity instance.
- load(Class<T>) - 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<T>) - Static method in class net.darkhax.bookshelf.common.api.service.Services
- LOG - Static variable in class net.darkhax.bookshelf.common.impl.Constants
- 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<String, Object[], MutableComponent>, 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(ResourceLocation, 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_CONDITION_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- LOOT_FUNCTION_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- LOOT_NBT_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- LOOT_NUMBER_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- LOOT_POOL_ENTRY_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- LOOT_POOL_HASH - Enum constant in enum class net.darkhax.bookshelf.common.impl.command.DebugCommands
- LOOT_SCORE_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- LOOT_TABLE - Static variable in class net.darkhax.bookshelf.common.api.loot.LootPoolEntryDescriptions
- 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(ResourceLocation, LootPoolEntryContainer) - Constructor for record class net.darkhax.bookshelf.common.api.data.loot.modifiers.LootPoolAddition
-
Creates an instance of a
LootPoolAdditionrecord class. - 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
M
- makeIngredientType(ResourceLocation, MapCodec<T>, StreamCodec<RegistryFriendlyByteBuf, T>) - Static method in class net.darkhax.bookshelf.forge.impl.data.ForgeIngredient
- map(Level, Function<T, R>) - Method in class net.darkhax.bookshelf.common.api.function.ReloadableCache
-
Maps non null cache values to a new value.
- map(Level, Function<T, R>) - Method in class net.darkhax.bookshelf.common.api.function.SidedReloadableCache
- 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>, 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
- MASTER - Enum constant in enum class net.darkhax.bookshelf.common.api.entity.villager.MerchantTier
- matches(ItemStack) - Method in record class net.darkhax.bookshelf.common.impl.data.criterion.item.NamespaceItemPredicate
- 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
- maxUses() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerBuys
-
Returns the value of the
maxUsesrecord component. - maxUses() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerSells
-
Returns the value of the
maxUsesrecord component. - 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
- MenuRegister - Record Class in net.darkhax.bookshelf.common.api.registry.register
- MenuRegister(String) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.MenuRegister
-
Creates an instance of a
MenuRegisterrecord class. - MenuRegister.ClientMenuFactory<T> - Interface in net.darkhax.bookshelf.common.api.registry.register
- MerchantTier - Enum Class in net.darkhax.bookshelf.common.api.entity.villager
- 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_BLOCK_DROPS - Enum constant in enum class net.darkhax.bookshelf.common.impl.command.DebugCommands
- MISSING_TAG_NAMES - Enum constant in enum class net.darkhax.bookshelf.common.impl.command.DebugCommands
- MixinArgumentTypeInfos - Class in net.darkhax.bookshelf.common.mixin.patch.commands
- MixinArgumentTypeInfos() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.commands.MixinArgumentTypeInfos
- MixinBlockEntityRenderers - Class in net.darkhax.bookshelf.common.mixin.patch.block
- MixinBlockEntityRenderers() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.block.MixinBlockEntityRenderers
- MixinBuiltInRegistries - Class in net.darkhax.bookshelf.common.mixin.patch.registries
- MixinBuiltInRegistries() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.registries.MixinBuiltInRegistries
- MixinCatVariant - Class in net.darkhax.bookshelf.common.mixin.patch
- MixinCatVariant() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.MixinCatVariant
- MixinClientLanguage - Class in net.darkhax.bookshelf.common.mixin.patch.locale
- MixinClientLanguage() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.locale.MixinClientLanguage
- MixinClientPacketListener - Class in net.darkhax.bookshelf.common.mixin.patch.client
- MixinClientPacketListener() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.client.MixinClientPacketListener
- MixinCommands - Class in net.darkhax.bookshelf.common.mixin.patch.commands
- MixinCommands() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.commands.MixinCommands
- MixinCreativeModeTab - Class in net.darkhax.bookshelf.common.mixin.patch.item
- MixinCreativeModeTab() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.item.MixinCreativeModeTab
- MixinCriteriaTriggers - Class in net.darkhax.bookshelf.common.mixin.patch.advancement
- MixinCriteriaTriggers() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.advancement.MixinCriteriaTriggers
- MixinDataComponents - Class in net.darkhax.bookshelf.common.mixin.patch.component
- MixinDataComponents() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.component.MixinDataComponents
- MixinDecoratedPotPatterns - Class in net.darkhax.bookshelf.common.mixin.patch.block
- MixinDecoratedPotPatterns() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.block.MixinDecoratedPotPatterns
- MixinItemBlockRenderTypes - Class in net.darkhax.bookshelf.common.mixin.patch.block
- MixinItemBlockRenderTypes() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.block.MixinItemBlockRenderTypes
- MixinItemSubPredicates - Class in net.darkhax.bookshelf.common.mixin.patch.advancement
- MixinItemSubPredicates() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.advancement.MixinItemSubPredicates
- MixinLootDataType - Class in net.darkhax.bookshelf.common.mixin.patch.loot
- MixinLootDataType() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.loot.MixinLootDataType
- MixinLootPool - Class in net.darkhax.bookshelf.common.mixin.patch.loot
- MixinLootPool - Class in net.darkhax.bookshelf.forge.mixin.patch.loot
- MixinLootPool() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.loot.MixinLootPool
- MixinLootPool() - Constructor for class net.darkhax.bookshelf.forge.mixin.patch.loot.MixinLootPool
- MixinLootPoolEntries - Class in net.darkhax.bookshelf.common.mixin.patch.loot
- MixinLootPoolEntries() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.loot.MixinLootPoolEntries
- MixinMenuScreens - Class in net.darkhax.bookshelf.common.mixin.patch.gui.screens
- MixinMenuScreens() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.gui.screens.MixinMenuScreens
- 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
- MixinPotions - Class in net.darkhax.bookshelf.common.mixin.patch.potions
- MixinPotions() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.potions.MixinPotions
- MixinRecipeManager - Class in net.darkhax.bookshelf.common.mixin.patch.level
- MixinRecipeManager() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.level.MixinRecipeManager
- MixinReloadableServerResources - Class in net.darkhax.bookshelf.common.mixin.patch.server
- MixinReloadableServerResources() - Constructor for class net.darkhax.bookshelf.common.mixin.patch.server.MixinReloadableServerResources
- 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.Constants
- MOD_NAME - Static variable in class net.darkhax.bookshelf.common.impl.Constants
- 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
ModEntryrecord 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
modIdrecord component. - ModIdIngredient - Class in net.darkhax.bookshelf.common.impl.data.ingredient
- ModIdIngredient(List<String>) - 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
namerecord component. - namespace() - Method in record class net.darkhax.bookshelf.common.impl.data.criterion.item.NamespaceItemPredicate
-
Returns the value of the
namespacerecord component. - NamespaceItemPredicate - Record Class in net.darkhax.bookshelf.common.impl.data.criterion.item
- NamespaceItemPredicate(String) - Constructor for record class net.darkhax.bookshelf.common.impl.data.criterion.item.NamespaceItemPredicate
-
Creates an instance of a
NamespaceItemPredicaterecord class. - 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.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.entity.villager - package net.darkhax.bookshelf.common.api.entity.villager
- net.darkhax.bookshelf.common.api.entity.villager.trades - package net.darkhax.bookshelf.common.api.entity.villager.trades
- 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.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.register - package net.darkhax.bookshelf.common.api.registry.register
- 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.item - package net.darkhax.bookshelf.common.impl.data.criterion.item
- 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.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.client.gui - package net.darkhax.bookshelf.common.mixin.access.client.gui
- net.darkhax.bookshelf.common.mixin.access.commands - package net.darkhax.bookshelf.common.mixin.access.commands
- 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 - package net.darkhax.bookshelf.common.mixin.patch
- 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.client - package net.darkhax.bookshelf.common.mixin.patch.client
- net.darkhax.bookshelf.common.mixin.patch.commands - package net.darkhax.bookshelf.common.mixin.patch.commands
- net.darkhax.bookshelf.common.mixin.patch.component - package net.darkhax.bookshelf.common.mixin.patch.component
- net.darkhax.bookshelf.common.mixin.patch.gui.screens - package net.darkhax.bookshelf.common.mixin.patch.gui.screens
- 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
- net.darkhax.bookshelf.common.mixin.patch.registries - package net.darkhax.bookshelf.common.mixin.patch.registries
- net.darkhax.bookshelf.common.mixin.patch.server - package net.darkhax.bookshelf.common.mixin.patch.server
- net.darkhax.bookshelf.forge.impl - package net.darkhax.bookshelf.forge.impl
- net.darkhax.bookshelf.forge.impl.data - package net.darkhax.bookshelf.forge.impl.data
- net.darkhax.bookshelf.forge.impl.network - package net.darkhax.bookshelf.forge.impl.network
- net.darkhax.bookshelf.forge.impl.util - package net.darkhax.bookshelf.forge.impl.util
- net.darkhax.bookshelf.forge.mixin.patch.loot - package net.darkhax.bookshelf.forge.mixin.patch.loot
- 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.
- 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.
- NOVICE - Enum constant in enum class net.darkhax.bookshelf.common.api.entity.villager.MerchantTier
- nullable(Codec<T>, String) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
-
Creates a Codec that can handle nullable values.
- NUMBER_FORMAT_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
O
- of(Function<Level, T>) - Static method in class net.darkhax.bookshelf.common.api.function.ReloadableCache
-
Creates a cache of a value that will be recalculated when the game reloads.
- of(Function<Level, T>) - Static method in class net.darkhax.bookshelf.common.api.function.SidedReloadableCache
- of(Supplier<T>) - Static method in class net.darkhax.bookshelf.common.api.commands.args.SingletonArgumentInfo
-
Creates argument info for a given argument instance.
- of(Supplier<T>) - Static method in class net.darkhax.bookshelf.common.api.function.ReloadableCache
-
Creates a cache of a value that will be recalculated when the game reloads.
- of(Registry<T>, String, String) - Static method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
- of(Registry<T>, ResourceLocation) - Static method in class net.darkhax.bookshelf.common.api.function.CachedSupplier
- of(ResourceKey<? extends Registry<T>>, ResourceLocation) - Static method in class net.darkhax.bookshelf.common.api.function.ReloadableCache
-
Creates a cache of a registry value that will be reaquired when the game reloads.
- of(ResourceKey<LootTable>, int, int) - Static method in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
- of(ResourceLocation, Registry<RT>) - Static method in class net.darkhax.bookshelf.common.impl.data.conditions.RegistryContains
- of(RecipeType<T>) - Static method in class net.darkhax.bookshelf.common.api.function.ReloadableCache
-
Creates a cache of recipe entries for a recipe type.
- of(ItemStack, int) - Static method in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
- of(ItemStack, int, int, List<LootItemCondition>, List<LootItemFunction>) - Static method in class net.darkhax.bookshelf.common.impl.data.loot.entries.LootItemStack
- offers() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerOffers
-
Returns the value of the
offersrecord component. - onInit(Minecraft, Connection, CommonListenerCookie, CallbackInfo) - Method in class net.darkhax.bookshelf.common.mixin.patch.client.MixinClientPacketListener
- 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.
- optional(Codec<T>, String, Optional<T>, boolean) - Static method in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
-
Creates a Codec that handles optional values.
- optionalStream(StreamCodec<B, V>) - 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.
- owner() - Method in record class net.darkhax.bookshelf.common.api.registry.register.MenuRegister
-
Returns the value of the
ownerrecord component. - owner() - Method in record class net.darkhax.bookshelf.common.api.registry.register.Register
-
Returns the value of the
ownerrecord component. - owner() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterCatVariant
-
Returns the value of the
ownerrecord component. - owner() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterIngredient
-
Returns the value of the
ownerrecord component. - owner() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItem
-
Returns the value of the
ownerrecord component. - owner() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItemTab
-
Returns the value of the
ownerrecord component. - owner() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
-
Returns the value of the
ownerrecord component. - owner() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPacket
-
Returns the value of the
ownerrecord component. - owner() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleProviders
-
Returns the value of the
ownerrecord component. - owner() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleTypes
-
Returns the value of the
ownerrecord component. - owner() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPotPatterns
-
Returns the value of the
ownerrecord component. - owner() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterRecipeType
-
Returns the value of the
ownerrecord 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
- 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
playerrecord 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(ResourceLocation, int, int) - Constructor for record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
-
Creates an instance of a
PoolTargetrecord 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
- POTION - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- 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.
- priceMultiplier() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerBuys
-
Returns the value of the
priceMultiplierrecord component. - priceMultiplier() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerSells
-
Returns the value of the
priceMultiplierrecord component. - processLootTable(ResourceLocation, 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, - Interface in net.darkhax.bookshelf.common.api.functionP3, P4> -
A consumer that accepts four parameters.
R
- RANDOM - Static variable in class net.darkhax.bookshelf.common.api.util.MathsHelper
-
A 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.
- 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
- recipes(Supplier<RecipeType<T>>) - Static method in class net.darkhax.bookshelf.common.api.function.ReloadableCache
-
Creates a cache of recipe entries for a recipe type.
- recipes(Supplier<RecipeType<T>>) - Static method in class net.darkhax.bookshelf.common.api.function.SidedReloadableCache
- recipeSerializer(MapCodec<T>, StreamCodec<RegistryFriendlyByteBuf, T>) - Static method in class net.darkhax.bookshelf.common.api.util.DataHelper
-
Creates a new recipe serializer.
- RecipeTypeImpl<T> - Record Class in net.darkhax.bookshelf.common.impl.recipe
- RecipeTypeImpl(ResourceLocation) - Constructor for record class net.darkhax.bookshelf.common.impl.recipe.RecipeTypeImpl
-
Creates an instance of a
RecipeTypeImplrecord class. - register(IPacket<T>) - Method in interface net.darkhax.bookshelf.common.api.network.INetworkHandler
-
Registers a Bookshelf packet type to the packet registry.
- register(IPacket<T>) - Method in class net.darkhax.bookshelf.forge.impl.network.ForgeNetworkHandler
- register(ResourceLocation, int, int, LootPoolAddition) - Method in interface net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions.RegisterFunc
- register(ResourceLocation, MapCodec<T>) - Static method in class net.darkhax.bookshelf.common.api.data.conditions.LoadConditions
- Register<T> - Record Class in net.darkhax.bookshelf.common.api.registry.register
- Register(String, BiConsumer<ResourceLocation, T>) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.Register
-
Creates an instance of a
Registerrecord class. - registerAttributes(Register<Attribute>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerBlockEntities(Register<BlockEntityType.Builder<?>>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- RegisterBlockEntityRenderer - Record Class in net.darkhax.bookshelf.common.api.registry.register
- RegisterBlockEntityRenderer(BiConsumer<BlockEntityType, BlockEntityRendererProvider>) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.RegisterBlockEntityRenderer
-
Creates an instance of a
RegisterBlockEntityRendererrecord class. - registerBlocks(Register<Block>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerBrewing(PotionBrewing.Builder) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- RegisterCatVariant - Record Class in net.darkhax.bookshelf.common.api.registry.register
- RegisterCatVariant(String, BiConsumer<ResourceKey<CatVariant>, ResourceLocation>) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.RegisterCatVariant
-
Creates an instance of a
RegisterCatVariantrecord class. - registerCatVariants(RegisterCatVariant) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerCommandArguments(ArgumentRegister) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerCommandArguments(ArgumentRegister) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
- registerCommands(CommandDispatcher<CommandSourceStack>, CommandBuildContext, Commands.CommandSelection) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerCommands(CommandDispatcher<CommandSourceStack>, CommandBuildContext, Commands.CommandSelection) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
- registerCriteriaTriggers(Register<CriterionTrigger<?>>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerCriteriaTriggers(Register<CriterionTrigger<?>>) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
- registerEntities(Register<EntityType.Builder<?>>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerFunc() - Method in record class net.darkhax.bookshelf.common.api.registry.register.Register
-
Returns the value of the
registerFuncrecord component. - registerFunc() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItem
-
Returns the value of the
registerFuncrecord component. - registerFunc() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItemTab
-
Returns the value of the
registerFuncrecord component. - registerFunc() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
-
Returns the value of the
registerFuncrecord component. - registerFunc() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPacket
-
Returns the value of the
registerFuncrecord component. - registerFunc() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPotPatterns
-
Returns the value of the
registerFuncrecord component. - registerFunc() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterRecipeType
-
Returns the value of the
registerFuncrecord component. - RegisterIngredient - Record Class in net.darkhax.bookshelf.common.api.registry.register
- RegisterIngredient(String, TriConsumer<ResourceLocation, MapCodec, StreamCodec>) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.RegisterIngredient
-
Creates an instance of a
RegisterIngredientrecord class. - registerIngredientTypes(RegisterIngredient) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerIngredientTypes(RegisterIngredient) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
- RegisterItem - Record Class in net.darkhax.bookshelf.common.api.registry.register
- RegisterItem(String, BiConsumer<ResourceLocation, Item>) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.RegisterItem
-
Creates an instance of a
RegisterItemrecord class. - registerItemComponents(ItemComponentRegister) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerItems(Register<Item>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
-
Deprecated.
- registerItems(RegisterItem) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerItemSubPredicates(Register<ItemSubPredicate.Type<?>>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerItemSubPredicates(Register<ItemSubPredicate.Type<?>>) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
- RegisterItemTab - Record Class in net.darkhax.bookshelf.common.api.registry.register
- RegisterItemTab(String, BiConsumer<ResourceLocation, CreativeModeTab>) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.RegisterItemTab
-
Creates an instance of a
RegisterItemTabrecord class. - registerItemTabs(RegisterItemTab) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerLoadConditions(Register<MapCodec<? extends ILoadCondition>>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerLoadConditions(Register<MapCodec<? extends ILoadCondition>>) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
- registerLootConditions(Register<MapCodec<? extends LootItemCondition>>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- RegisterLootDescription - Record Class in net.darkhax.bookshelf.common.api.registry.register
- RegisterLootDescription(BiConsumer<LootPoolEntryType, LootPoolEntryDescriber>) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootDescription
-
Creates an instance of a
RegisterLootDescriptionrecord class. - registerLootDescriptions(RegisterLootDescription) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerLootDescriptions(RegisterLootDescription) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
- registerLootEntryType(Register<MapCodec<? extends LootPoolEntryContainer>>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerLootEntryType(Register<MapCodec<? extends LootPoolEntryContainer>>) - Method in class net.darkhax.bookshelf.common.impl.BookshelfContent
- registerLootFunctions(Register<MapCodec<? extends LootItemFunction>>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerLootPoolAdditions(RegisterLootPoolAdditions) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- RegisterLootPoolAdditions - Record Class in net.darkhax.bookshelf.common.api.registry.register
-
Registers new LootPoolAddition from various mods to be applied by Bookshelf.
- RegisterLootPoolAdditions(String, RegisterLootPoolAdditions.RegisterFunc) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
-
Creates an instance of a
RegisterLootPoolAdditionsrecord class. - RegisterLootPoolAdditions.RegisterFunc - Interface in net.darkhax.bookshelf.common.api.registry.register
- registerMenus(MenuRegister) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- RegisterMenuScreen - Class in net.darkhax.bookshelf.common.api.registry.register
- RegisterMenuScreen() - Constructor for class net.darkhax.bookshelf.common.api.registry.register.RegisterMenuScreen
- RegisterMenuScreen.ScreenFactory<T,
U> - Interface in net.darkhax.bookshelf.common.api.registry.register - registerMenuScreens(RegisterMenuScreen) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerMobEffects(Register<MobEffect>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- RegisterPacket - Record Class in net.darkhax.bookshelf.common.api.registry.register
- RegisterPacket(String, Consumer<IPacket<?>>) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.RegisterPacket
-
Creates an instance of a
RegisterPacketrecord class. - registerPackets(RegisterPacket) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerParticleFactories(RegisterParticleProviders) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- RegisterParticleProviders - Record Class in net.darkhax.bookshelf.common.api.registry.register
- RegisterParticleProviders(String, BiConsumer<SimpleParticleType, RegisterParticleProviders.SimpleParticleProviderBuilder>) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleProviders
-
Creates an instance of a
RegisterParticleProvidersrecord class. - RegisterParticleProviders.SimpleParticleProviderBuilder - Interface in net.darkhax.bookshelf.common.api.registry.register
- registerParticleTypes(RegisterParticleTypes) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- RegisterParticleTypes - Record Class in net.darkhax.bookshelf.common.api.registry.register
- RegisterParticleTypes(String, BiFunction<ResourceLocation, Boolean, Supplier<SimpleParticleType>>) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleTypes
-
Creates an instance of a
RegisterParticleTypesrecord class. - registerPotions(Register<Potion>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerPotPatterns(RegisterPotPatterns) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- RegisterPotPatterns - Record Class in net.darkhax.bookshelf.common.api.registry.register
- RegisterPotPatterns(String, Map<Item, ResourceKey<DecoratedPotPattern>>, BiConsumer<ResourceLocation, ResourceKey<DecoratedPotPattern>>) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.RegisterPotPatterns
-
Creates an instance of a
RegisterPotPatternsrecord class. - registerRecipeSerializers(Register<RecipeSerializer<?>>) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- RegisterRecipeType - Record Class in net.darkhax.bookshelf.common.api.registry.register
- RegisterRecipeType(String, Consumer<ResourceLocation>) - Constructor for record class net.darkhax.bookshelf.common.api.registry.register.RegisterRecipeType
-
Creates an instance of a
RegisterRecipeTyperecord class. - registerRecipeTypes(RegisterRecipeType) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- registerSimple() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleProviders
-
Returns the value of the
registerSimplerecord component. - registerTrades(RegisterVillagerTrades) - Method in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
- RegisterVillagerTrades - Class in net.darkhax.bookshelf.common.api.registry.register
- RegisterVillagerTrades() - Constructor for class net.darkhax.bookshelf.common.api.registry.register.RegisterVillagerTrades
- RegistryContains<T> - Class in net.darkhax.bookshelf.common.impl.data.conditions
- registryFunc() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterIngredient
-
Returns the value of the
registryFuncrecord component. - registryFunc() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootDescription
-
Returns the value of the
registryFuncrecord component. - RegistryMapCodecHelper<T> - Class in net.darkhax.bookshelf.common.api.data.codecs.map
- ReloadableCache<T> - Class in net.darkhax.bookshelf.common.api.function
-
A cached value that is lazily loaded and will be invalidated automatically after the game has been reloaded.
- ReloadableCache(Function<Level, T>) - Constructor for class net.darkhax.bookshelf.common.api.function.ReloadableCache
- 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
- renderFluidBox(PoseStack, FluidState, Level, BlockPos, MultiBufferSource, int, int) - Method in class net.darkhax.bookshelf.forge.impl.util.ForgeRenderHelper
- 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
- 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<CommandSourceStack>) - Method in enum class net.darkhax.bookshelf.common.impl.command.DebugCommands
- run(CommandContext<CommandSourceStack>) - Method in enum class net.darkhax.bookshelf.common.impl.command.HandCommand
S
- SCHEDULE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- 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.
- sendToPlayer(ServerPlayer, T) - Method in class net.darkhax.bookshelf.forge.impl.network.ForgeNetworkHandler
- sendToServer(T) - Method in interface net.darkhax.bookshelf.common.api.network.INetworkHandler
-
Sends a payload from the client to the server.
- sendToServer(T) - Method in class net.darkhax.bookshelf.forge.impl.network.ForgeNetworkHandler
- SENSOR_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- serializer() - Method in class net.darkhax.bookshelf.forge.impl.data.ForgeIngredient
- 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<T, V>, JsonObject) - Method in class net.darkhax.bookshelf.common.api.commands.args.ArgumentSerializer
- serializeToJson(SingletonArgumentInfo.Template<T>, JsonObject) - Method in class net.darkhax.bookshelf.common.api.commands.args.SingletonArgumentInfo
- serializeToNetwork(ArgumentSerializer.ArgTemplate<T, V>, FriendlyByteBuf) - Method in class net.darkhax.bookshelf.common.api.commands.args.ArgumentSerializer
- serializeToNetwork(SingletonArgumentInfo.Template<T>, 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_RECIPE_MANAGER - Static variable in class net.darkhax.bookshelf.common.impl.Constants
- SERVER_REVISION - Static variable in class net.darkhax.bookshelf.common.impl.Constants
- 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
- 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
- SHORT - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- SidedReloadableCache<T> - Class in net.darkhax.bookshelf.common.api.function
- SidedReloadableCache(ReloadableCache<T>, ReloadableCache<T>) - Constructor for class net.darkhax.bookshelf.common.api.function.SidedReloadableCache
- 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.
- 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
- 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
- stackToBuy() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerBuys
-
Returns the value of the
stackToBuyrecord component. - STAT_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- 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.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
- 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
- tabBuilder() - Method in class net.darkhax.bookshelf.forge.impl.util.ForgeGameplayHelper
- table() - Method in record class net.darkhax.bookshelf.common.api.data.loot.PoolTarget
-
Returns the value of the
tablerecord 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<T>, ArgumentTypeInfo<T, ?>) - Constructor for class net.darkhax.bookshelf.common.api.commands.args.SingletonArgumentInfo.Template
- 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.ModIdIngredient
- test(ItemStack) - Method in class net.darkhax.bookshelf.forge.impl.data.ForgeIngredient
- 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 - Enum constant in enum class net.darkhax.bookshelf.common.api.text.unit.Units
- title(String) - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItemTab
- 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.entity.villager.trades.VillagerBuys
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerOffers
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerSells
-
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.register.MenuRegister
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.registry.register.Register
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterBlockEntityRenderer
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterCatVariant
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterIngredient
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItem
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterItemTab
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootDescription
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterLootPoolAdditions
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPacket
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleProviders
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleTypes
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterPotPatterns
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterRecipeType
-
Returns a string representation of this record class.
- toString() - Method in record class net.darkhax.bookshelf.common.impl.data.criterion.item.NamespaceItemPredicate
-
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.
- 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, - Interface in net.darkhax.bookshelf.common.api.functionP3> - TriFunction<P1,
P2, - Interface in net.darkhax.bookshelf.common.api.functionP3, R> - 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
- typeFactory() - Method in record class net.darkhax.bookshelf.common.api.registry.register.RegisterParticleTypes
-
Returns the value of the
typeFactoryrecord component.
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(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
- unsafeRegisterMenu(ResourceLocation, MenuRegister.ClientMenuFactory<T>) - Method in interface net.darkhax.bookshelf.common.api.util.IPlatformHelper
-
Deprecated.
- unsafeRegisterMenu(ResourceLocation, MenuRegister.ClientMenuFactory<T>) - Method in class net.darkhax.bookshelf.forge.impl.util.ForgePlatformHelper
- 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
- 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.entity.villager.MerchantTier
-
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.entity.villager.MerchantTier
-
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.
- 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
versionrecord component. - VILLAGER_PROFESSION - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- VILLAGER_TYPE - Static variable in class net.darkhax.bookshelf.common.api.data.codecs.map.MapCodecs
- VillagerBuys - Record Class in net.darkhax.bookshelf.common.api.entity.villager.trades
-
A simple villager trade entry that represents an item being bought by the villager.
- VillagerBuys(Supplier<ItemCost>, int, int, int, float) - Constructor for record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerBuys
-
Creates an instance of a
VillagerBuysrecord class. - VillagerOffers - Record Class in net.darkhax.bookshelf.common.api.entity.villager.trades
-
A simple villager trade entry that selects a random offer from an equally weighted array of offers.
- VillagerOffers(Supplier<MerchantOffer>...) - Constructor for record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerOffers
-
Creates an instance of a
VillagerOffersrecord class. - VillagerSells - Record Class in net.darkhax.bookshelf.common.api.entity.villager.trades
-
A simple villager trade entry that represents an item being sold to the player.
- VillagerSells(Supplier<ItemStack>, int, int, int, float) - Constructor for record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerSells
-
Creates an instance of a
VillagerSellsrecord class. - villagerXp() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerBuys
-
Returns the value of the
villagerXprecord component. - villagerXp() - Method in record class net.darkhax.bookshelf.common.api.entity.villager.trades.VillagerSells
-
Returns the value of the
villagerXprecord 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, ItemStack) - Static method in class net.darkhax.bookshelf.common.api.util.TextHelper
-
Applies hover text based on an item to a text component.
Y
A B C D E F G H I J L M N O P Q R S T U V W YAll Classes and Interfaces|All Packages|Constant Field Values
IContentProvider.registerItems(RegisterItem)