Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(Supplier<Item>) - Method in interface net.darkhax.bookshelf.api.item.tab.IOutputWrapper
- accept(ItemStack) - Method in interface net.darkhax.bookshelf.api.item.tab.IOutputWrapper
- accept(ItemLike) - Method in interface net.darkhax.bookshelf.api.item.tab.IOutputWrapper
- accept(P1, P2, P3) - Method in interface net.darkhax.bookshelf.api.function.TriConsumer
- accept(P1, P2, P3, P4) - Method in interface net.darkhax.bookshelf.api.function.QuadConsumer
- acceptItemIter(Iterable<Item>) - Method in interface net.darkhax.bookshelf.api.item.tab.IOutputWrapper
- acceptItems(Collection<ItemLike>) - Method in interface net.darkhax.bookshelf.api.item.tab.IOutputWrapper
- acceptItemSuppliers(Collection<Supplier<Item>>) - Method in interface net.darkhax.bookshelf.api.item.tab.IOutputWrapper
- acceptStacks(Collection<ItemStack>) - Method in interface net.darkhax.bookshelf.api.item.tab.IOutputWrapper
- AccessorClientAdvancements - Interface in net.darkhax.bookshelf.mixin.accessors.client.multiplayer
- AccessorCooldownInstance - Interface in net.darkhax.bookshelf.mixin.accessors.item
- AccessorCraftingMenu - Interface in net.darkhax.bookshelf.mixin.accessors.inventory
- AccessorEntity - Interface in net.darkhax.bookshelf.mixin.accessors.entity
- AccessorFontManager - Interface in net.darkhax.bookshelf.mixin.accessors.client
- AccessorInventoryMenu - Interface in net.darkhax.bookshelf.mixin.accessors.inventory
- AccessorItem - Interface in net.darkhax.bookshelf.mixin.accessors.item
- AccessorItemCooldowns - Interface in net.darkhax.bookshelf.mixin.accessors.item
- AccessorLivingEntity - Interface in net.darkhax.bookshelf.mixin.accessors.entity
- AccessorMinecraft - Interface in net.darkhax.bookshelf.mixin.accessors.client
- AccessorMob - Interface in net.darkhax.bookshelf.mixin.accessors.entity
- AccessorMobEffectInstance - Interface in net.darkhax.bookshelf.mixin.accessors.effect
- AccessorRecipeManager - Interface in net.darkhax.bookshelf.mixin.accessors.world
- AccessorShapedRecipe - Interface in net.darkhax.bookshelf.mixin.accessors.item.crafting
- AccessorSignBlockEntity - Interface in net.darkhax.bookshelf.mixin.accessors.block.entity
- AccessorStructureTemplatePool - Interface in net.darkhax.bookshelf.mixin.accessors.world
- AccessorTransientCraftingContainer - Interface in net.darkhax.bookshelf.mixin.accessors.inventory
- AccessorWeightedRandomList<E> - Interface in net.darkhax.bookshelf.mixin.accessors.util.random
- add(Class<A>, Supplier<I>, String) - Method in class net.darkhax.bookshelf.api.registry.CommandArgumentRegistryEntries
- add(String) - Method in class net.darkhax.bookshelf.api.registry.RecipeTypeEntries
- add(Supplier<VT>, String) - Method in interface net.darkhax.bookshelf.api.registry.IOwnedRegistryEntries
- add(Supplier<VT>, ResourceLocation) - Method in interface net.darkhax.bookshelf.api.registry.IRegistryEntries
- add(Supplier<VT>, ResourceLocation) - Method in class net.darkhax.bookshelf.api.registry.RegistryEntries
- addAll(Iterable<T>) - Method in class net.darkhax.bookshelf.api.lib.TableBuilder
- addColumn(String, Function<T, Object>) - Method in class net.darkhax.bookshelf.api.lib.TableBuilder
- addCommonWanderingTrade(VillagerTrades.ItemListing) - Method in class net.darkhax.bookshelf.api.registry.VillagerTradeEntries
- addEntry(T) - Method in class net.darkhax.bookshelf.api.lib.TableBuilder
- addFarmlandTrampleListener(IFarmlandTrampleListener) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
- addFarmlandTrampleListener(IFarmlandTrampleListener, IEventHelper.Ordering) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
- addInsertListener(BiConsumer<ResourceLocation, IRegistryObject<? extends V>>) - Method in interface net.darkhax.bookshelf.api.registry.IRegistryEntries
- addInsertListener(BiConsumer<ResourceLocation, IRegistryObject<? extends V>>) - Method in class net.darkhax.bookshelf.api.registry.RegistryEntries
- addItemAttributeListener(IItemAttributeEvent.Listener) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
- addItemAttributeListener(IItemAttributeEvent.Listener, IEventHelper.Ordering) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
- addItemTooltipListener(IItemTooltipEvent) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
- addItemTooltipListener(IItemTooltipEvent, IEventHelper.Ordering) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
- addItemUseTickListener(IItemUseTickEvent) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
- addItemUseTickListener(IItemUseTickEvent, IEventHelper.Ordering) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
- addLore(Component...) - Method in class net.darkhax.bookshelf.api.item.ItemStackBuilder
- addModifier(Attribute, AttributeModifier) - Method in interface net.darkhax.bookshelf.api.event.item.IItemAttributeEvent
- addPlayerWakeUpListener(IPlayerWakeUpEvent) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
- addPlayerWakeUpListener(IPlayerWakeUpEvent, IEventHelper.Ordering) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
- addRareWanderingTrade(VillagerTrades.ItemListing) - Method in class net.darkhax.bookshelf.api.registry.VillagerTradeEntries
- addRecipeSyncListener(IRecipeSyncEvent) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
- addRecipeSyncListener(IRecipeSyncEvent, IEventHelper.Ordering) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
- addRegistryListener(BiConsumer<ResourceLocation, V>) - Method in interface net.darkhax.bookshelf.api.registry.IRegistryEntries
- addRegistryListener(BiConsumer<ResourceLocation, V>) - Method in class net.darkhax.bookshelf.api.registry.RegistryEntries
- addRegistryWrapper(BiFunction<ResourceLocation, V, V>) - Method in interface net.darkhax.bookshelf.api.registry.IRegistryEntries
- addRegistryWrapper(BiFunction<ResourceLocation, V, V>) - Method in class net.darkhax.bookshelf.api.registry.RegistryEntries
- addTrade(VillagerProfession, int, VillagerTrades.ItemListing) - Method in class net.darkhax.bookshelf.api.registry.VillagerTradeEntries
- addTrade(VillagerProfession, MerchantTier, VillagerTrades.ItemListing) - Method in class net.darkhax.bookshelf.api.registry.VillagerTradeEntries
- addWanderingTrade(VillagerTrades.ItemListing, boolean) - Method in class net.darkhax.bookshelf.api.registry.VillagerTradeEntries
- adjustToRange(int, int, int) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
-
Takes an integer value and fits it within a range.
- AFTER - Enum constant in enum class net.darkhax.bookshelf.api.event.IEventHelper.Ordering
- andThen(QuadConsumer<P1, P2, P3, P4>) - Method in interface net.darkhax.bookshelf.api.function.QuadConsumer
- andThen(TriConsumer<P1, P2, P3>) - Method in interface net.darkhax.bookshelf.api.function.TriConsumer
- appendLore(ItemStack, Component...) - Static method in class net.darkhax.bookshelf.api.util.ItemStackHelper
- apply(Consumer<T>) - Method in class net.darkhax.bookshelf.api.function.CachedSupplier
-
Invokes the consumer with the cached value.
- apply(Entity, BlockPos, BlockState) - Method in interface net.darkhax.bookshelf.api.event.block.IFarmlandTrampleListener
-
A neutral event listener that will be invoked when an entity tramples on farmland.
- apply(Player) - Method in interface net.darkhax.bookshelf.api.event.entity.player.IPlayerWakeUpEvent
- apply(RecipeManager) - Method in interface net.darkhax.bookshelf.api.event.client.IRecipeSyncEvent
- apply(ItemStack, List<Component>, TooltipFlag) - Method in interface net.darkhax.bookshelf.api.event.item.IItemTooltipEvent
- apply(Level) - Method in class net.darkhax.bookshelf.api.function.ReloadableCache
- apply(Level, Consumer<T>) - Method in class net.darkhax.bookshelf.api.function.ReloadableCache
-
Invokes the consumer with the cached value.
- applyFix() - Static method in class net.darkhax.bookshelf.impl.fixes.MC151457
- applyFont(Component, ResourceLocation) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
-
Recursively applies a custom font to a text component and all of it's children components.
- applyForEach(Container, BiConsumer<Integer, ItemStack>) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
-
Applies an action to every item within the inventory.
- applyForEach(Container, Consumer<ItemStack>) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
-
Applies an action to every item within the inventory.
- applyModifiers(int, BiConsumer<Attribute, AttributeModifier>) - Method in class net.darkhax.bookshelf.api.enchantment.BaseEnchantment
-
Allows the enchantment to apply attribute modifiers to an enchanted item.
- applyModifiers(ItemStack, int, EquipmentSlot, BiConsumer<Attribute, AttributeModifier>) - Method in class net.darkhax.bookshelf.api.enchantment.BaseEnchantment
-
Allows the enchantment to apply attribute modifiers to an enchanted item.
- APPRENTICE - Enum constant in enum class net.darkhax.bookshelf.api.entity.merchant.MerchantTier
- areEntitiesCloseEnough(Entity, Entity, double) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
-
Checks if two entities are close enough together.
- areStacksContentsEquivalent(ItemStack, ItemStack) - Static method in class net.darkhax.bookshelf.api.util.ItemStackHelper
- areStacksEquivalent(ItemStack, ItemStack) - Static method in class net.darkhax.bookshelf.api.util.ItemStackHelper
- areStacksEquivalent(ItemStack, ItemStack, boolean) - Static method in class net.darkhax.bookshelf.api.util.ItemStackHelper
- arg() - Static method in class net.darkhax.bookshelf.impl.commands.args.HandArgument
- argb(int) - Method in interface net.darkhax.bookshelf.api.client.RenderHelper
- argument() - Static method in class net.darkhax.bookshelf.impl.commands.args.FontArgument
- ARGUMENT - Static variable in class net.darkhax.bookshelf.impl.commands.args.FontArgument
- ARGUMENT - Static variable in class net.darkhax.bookshelf.impl.commands.args.HandArgument
- assemble(C, RegistryAccess) - Method in class net.darkhax.bookshelf.api.data.recipes.RecipeBaseData
- ATTRIBUTE - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- ATTRIBUTE - Static variable in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionRegistry
- ATTRIBUTE_MODIFIER - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- ATTRIBUTE_OPERATION - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- ATTRIBUTE_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- AttributeHelper - Class in net.darkhax.bookshelf.api.util
-
This class contains static helper functions for working with entity attributes and calculating attribute values.
- AttributeHelper() - Constructor for class net.darkhax.bookshelf.api.util.AttributeHelper
- attributes - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- attributeTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- attributeTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- awardAdvancement(ServerPlayer, ResourceLocation) - Static method in class net.darkhax.bookshelf.api.util.PlayerHelper
- AXIS - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
B
- backgroundSuffix(String) - Method in interface net.darkhax.bookshelf.api.item.tab.ITabBuilder
- backgroundSuffix(String) - Method in class net.darkhax.bookshelf.api.item.tab.TabBuilder
- BANNER_PATTERN - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- BANNER_PATTERN_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- bannerPatterns - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- bannerPatternTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- bannerPatternTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- BaseEnchantment - Class in net.darkhax.bookshelf.api.enchantment
- BaseEnchantment(Enchantment.Rarity, EnchantmentCategory, EquipmentSlot...) - Constructor for class net.darkhax.bookshelf.api.enchantment.BaseEnchantment
- BEFORE - Enum constant in enum class net.darkhax.bookshelf.api.event.IEventHelper.Ordering
- BIOME_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- biomeTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- biomeTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- BLOCK - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- BLOCK - Static variable in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionRegistry
- BLOCK_ENTITY - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- BLOCK_ENTITY_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- BLOCK_ENTITY_TYPE - Static variable in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionRegistry
- BLOCK_POS - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- BLOCK_STATE - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- BLOCK_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- blockEntities - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- blockEntityTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- blockEntityTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- blockEntityType(BiFunction<BlockPos, BlockState, T>, Supplier<Collection<Block>>) - Method in interface net.darkhax.bookshelf.api.util.IConstructHelper
- blockEntityType(BiFunction<BlockPos, BlockState, T>, Block...) - Method in interface net.darkhax.bookshelf.api.util.IConstructHelper
- blocks - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- blockTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- blockTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- bookshelf$createHoverEvent() - Method in interface net.darkhax.bookshelf.mixin.accessors.entity.AccessorEntity
- bookshelf$dissolvePattern(String[], Map<String, Ingredient>, int, int) - Static method in interface net.darkhax.bookshelf.mixin.accessors.item.crafting.AccessorShapedRecipe
- bookshelf$getAmbientSound() - Method in interface net.darkhax.bookshelf.mixin.accessors.entity.AccessorMob
- bookshelf$getCooldowns() - Method in interface net.darkhax.bookshelf.mixin.accessors.item.AccessorItemCooldowns
- bookshelf$getDeathSound() - Method in interface net.darkhax.bookshelf.mixin.accessors.entity.AccessorLivingEntity
- bookshelf$getDrinkingSound(ItemStack) - Method in interface net.darkhax.bookshelf.mixin.accessors.entity.AccessorLivingEntity
- bookshelf$getEndTime() - Method in interface net.darkhax.bookshelf.mixin.accessors.item.AccessorCooldownInstance
- bookshelf$getEntries() - Method in interface net.darkhax.bookshelf.mixin.accessors.util.random.AccessorWeightedRandomList
- bookshelf$getFallDamageSound(int) - Method in interface net.darkhax.bookshelf.mixin.accessors.entity.AccessorLivingEntity
- bookshelf$getFontManager() - Method in interface net.darkhax.bookshelf.mixin.accessors.client.AccessorMinecraft
- bookshelf$getFonts() - Method in interface net.darkhax.bookshelf.mixin.accessors.client.AccessorFontManager
- bookshelf$getHiddenEffect() - Method in interface net.darkhax.bookshelf.mixin.accessors.effect.AccessorMobEffectInstance
- bookshelf$getHurtSound(DamageSource) - Method in interface net.darkhax.bookshelf.mixin.accessors.entity.AccessorLivingEntity
- bookshelf$getMenu() - Method in interface net.darkhax.bookshelf.mixin.accessors.inventory.AccessorTransientCraftingContainer
- bookshelf$getOwner() - Method in interface net.darkhax.bookshelf.mixin.accessors.inventory.AccessorInventoryMenu
- bookshelf$getPlayer() - Method in interface net.darkhax.bookshelf.mixin.accessors.inventory.AccessorCraftingMenu
- bookshelf$getProgress() - Method in interface net.darkhax.bookshelf.mixin.accessors.client.multiplayer.AccessorClientAdvancements
- bookshelf$getRawTemplates() - Method in interface net.darkhax.bookshelf.mixin.accessors.world.AccessorStructureTemplatePool
- bookshelf$getStartTime() - Method in interface net.darkhax.bookshelf.mixin.accessors.item.AccessorCooldownInstance
- bookshelf$getTemplates() - Method in interface net.darkhax.bookshelf.mixin.accessors.world.AccessorStructureTemplatePool
- bookshelf$getTickCount() - Method in interface net.darkhax.bookshelf.mixin.accessors.item.AccessorItemCooldowns
- bookshelf$getTotalWeight() - Method in interface net.darkhax.bookshelf.mixin.accessors.util.random.AccessorWeightedRandomList
- bookshelf$getTypeMap(RecipeType) - Method in interface net.darkhax.bookshelf.mixin.accessors.world.AccessorRecipeManager
- bookshelf$keyFromJson(JsonObject) - Static method in interface net.darkhax.bookshelf.mixin.accessors.item.crafting.AccessorShapedRecipe
- bookshelf$makePoofParticles() - Method in interface net.darkhax.bookshelf.mixin.accessors.entity.AccessorLivingEntity
- bookshelf$markUpdated() - Method in interface net.darkhax.bookshelf.mixin.accessors.block.entity.AccessorSignBlockEntity
- bookshelf$patternFromJson(JsonArray) - Static method in interface net.darkhax.bookshelf.mixin.accessors.item.crafting.AccessorShapedRecipe
- bookshelf$setCraftingRemainder(Item) - Method in interface net.darkhax.bookshelf.mixin.accessors.item.AccessorItem
- bookshelf$setHiddenEffect(MobEffectInstance) - Method in interface net.darkhax.bookshelf.mixin.accessors.effect.AccessorMobEffectInstance
- bookshelf$setRawTemplates(List<Pair<StructurePoolElement, Integer>>) - Method in interface net.darkhax.bookshelf.mixin.accessors.world.AccessorStructureTemplatePool
- bookshelf$setTemplates(ObjectArrayList<StructurePoolElement>) - Method in interface net.darkhax.bookshelf.mixin.accessors.world.AccessorStructureTemplatePool
- bookshelf$shrink(String...) - Static method in interface net.darkhax.bookshelf.mixin.accessors.item.crafting.AccessorShapedRecipe
- bookshelf$tickDownDuration() - Method in interface net.darkhax.bookshelf.mixin.accessors.effect.AccessorMobEffectInstance
- BookshelfCommands - Class in net.darkhax.bookshelf.impl.commands
- BookshelfCommands() - Constructor for class net.darkhax.bookshelf.impl.commands.BookshelfCommands
- BookshelfCommon - Class in net.darkhax.bookshelf.impl
- BookshelfCommon() - Constructor for class net.darkhax.bookshelf.impl.BookshelfCommon
- BookshelfContentProvider - Class in net.darkhax.bookshelf.impl
- BookshelfContentProvider() - Constructor for class net.darkhax.bookshelf.impl.BookshelfContentProvider
- BookshelfGameTests - Class in net.darkhax.bookshelf.impl.gametest
- BookshelfGameTests() - Constructor for class net.darkhax.bookshelf.impl.gametest.BookshelfGameTests
- BookshelfTags - Class in net.darkhax.bookshelf.api.data
- BookshelfTags() - Constructor for class net.darkhax.bookshelf.api.data.BookshelfTags
- BookshelfTags.DamageTypes - Class in net.darkhax.bookshelf.api.data
- BOOLEAN - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- broadcast(ServerLevel, ChunkPos, Packet<?>, boolean) - Static method in class net.darkhax.bookshelf.api.util.WorldHelper
- build() - Method in class net.darkhax.bookshelf.api.item.ItemStackBuilder
- build() - Method in interface net.darkhax.bookshelf.api.item.tab.ITabBuilder
- build() - Method in class net.darkhax.bookshelf.api.item.tab.TabBuilder
- build() - Static method in class net.darkhax.bookshelf.impl.commands.CommandFont
- build() - Static method in class net.darkhax.bookshelf.impl.commands.CommandHand
- build(CommandDispatcher<CommandSourceStack>, CommandBuildContext, Commands.CommandSelection) - Method in interface net.darkhax.bookshelf.api.commands.ICommandBuilder
- build(CommandDispatcher<CommandSourceStack>, CommandBuildContext, Commands.CommandSelection) - Method in class net.darkhax.bookshelf.impl.commands.BookshelfCommands
- build(BiConsumer<ResourceLocation, V>) - Method in interface net.darkhax.bookshelf.api.registry.IRegistryEntries
- build(BiConsumer<ResourceLocation, V>) - Method in class net.darkhax.bookshelf.api.registry.RegistryEntries
- BYTE - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
C
- cache(Supplier<T>) - Static method in class net.darkhax.bookshelf.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.api.function
-
A Supplier implementation that will cache the result of an internal delegate supplier.
- CachedSupplier(Supplier<T>) - Constructor for class net.darkhax.bookshelf.api.function.CachedSupplier
- calculateValue(Collection<AttributeModifier>, double) - Static method in class net.darkhax.bookshelf.api.util.AttributeHelper
-
Calculates an attribute value using a collection of attribute modifiers.
- calculateValue(Attribute, Collection<AttributeModifier>) - Static method in class net.darkhax.bookshelf.api.util.AttributeHelper
-
Calculates an attribute value using a collection of attribute modifiers.
- calculateValue(ItemStack, Attribute, EquipmentSlot) - Static method in class net.darkhax.bookshelf.api.util.AttributeHelper
-
Calculates an attribute value for an ItemStack when used in a given slot.
- canCraftInDimensions(int, int) - Method in class net.darkhax.bookshelf.api.data.recipes.RecipeBaseData
- canExtract(int, int) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Checks if items can be extracted from the specified slot of the inventory.
- canExtract(int, int, Direction) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Checks if items can be extracted from the specified slot of the inventory.
- canInsert(int, ItemStack) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Checks if an ItemStack can be inserted into the given slot.
- canInsert(int, ItemStack, Direction) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Checks if an ItemStack can be inserted into the given slot.
- canItemsStack(ItemStack, ItemStack) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
-
Checks if two ItemStack may be stacked together.
- canLoad(JsonObject) - Static method in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
-
Tests if a raw JSON element can be loaded.
- canPlaceItem(int, ItemStack) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- canPlaceItemThroughFace(int, ItemStack, Direction) - Method in class net.darkhax.bookshelf.api.block.entity.WorldlyInventoryBlockEntity
- canRedirectLightning(Level, BlockPos, BlockState) - Method in interface net.darkhax.bookshelf.api.block.ILightningConductive
-
Checks if the block should trigger
ILightningConductive.onIndirectLightingStrike(Level, BlockPos, BlockState, BlockPos, BlockState, LightningBolt)of adjacent blocks when directly struck by lightning. - canTakeItemThroughFace(int, ItemStack, Direction) - Method in class net.darkhax.bookshelf.api.block.entity.WorldlyInventoryBlockEntity
- cast() - Method in class net.darkhax.bookshelf.api.function.CachedSupplier
-
Performs an unsafe cast to the expected type.
- chargeExperiencePoints(Player, int) - Static method in class net.darkhax.bookshelf.api.util.ExperienceHelper
-
Attempts to charge the player an experience point cost.
- clearContent() - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- clearEffects(LivingEntity, boolean, boolean) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
-
Clears potion effect from an entity based on whether or not the effects are positive or negative.
- clearModifiers() - Method in interface net.darkhax.bookshelf.api.event.item.IItemAttributeEvent
- CLIENT - Enum constant in enum class net.darkhax.bookshelf.api.PhysicalSide
- CLIENT - Static variable in class net.darkhax.bookshelf.api.ClientServices
- ClientServices - Class in net.darkhax.bookshelf.api
- ClientServices() - Constructor for class net.darkhax.bookshelf.api.ClientServices
- CommandArgumentEntry<A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>, I extends net.minecraft.commands.synchronization.ArgumentTypeInfo<A, T>> - Class in net.darkhax.bookshelf.api.registry - CommandArgumentEntry(Supplier<I>, Class<A>) - Constructor for class net.darkhax.bookshelf.api.registry.CommandArgumentEntry
- CommandArgumentRegistryEntries - Class in net.darkhax.bookshelf.api.registry
- CommandArgumentRegistryEntries(Supplier<String>, ResourceKey<?>) - Constructor for class net.darkhax.bookshelf.api.registry.CommandArgumentRegistryEntries
- commandArguments - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- CommandFont - Class in net.darkhax.bookshelf.impl.commands
- CommandFont() - Constructor for class net.darkhax.bookshelf.impl.commands.CommandFont
- CommandHand - Class in net.darkhax.bookshelf.impl.commands
- CommandHand() - Constructor for class net.darkhax.bookshelf.impl.commands.CommandHand
- CommandHand.OutputType - Enum Class in net.darkhax.bookshelf.impl.commands
- commands - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- COMPOUND_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- Constants - Class in net.darkhax.bookshelf
- Constants() - Constructor for class net.darkhax.bookshelf.Constants
- CONSTRUCTS - Static variable in class net.darkhax.bookshelf.api.Services
- ContainerInventoryAccess<T extends net.minecraft.world.Container> - Class in net.darkhax.bookshelf.api.inventory
- ContainerInventoryAccess(T) - Constructor for class net.darkhax.bookshelf.api.inventory.ContainerInventoryAccess
- countItem(Item) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- create(Supplier<? extends ItemLike>, int, int, int, float) - Static method in class net.darkhax.bookshelf.api.entity.merchant.trade.VillagerBuys
- create(Supplier<? extends ItemLike>, int, int, int, float) - Static method in class net.darkhax.bookshelf.api.entity.merchant.trade.VillagerSells
- createHorizontalShapes(double, double, double, double, double, double) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
-
Creates a rotated variant of a voxel shape for each horizontal direction.
- createInventory() - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
-
Creates a new instance of the inventory held by the block entity.
- createItemBlock(Block) - Method in interface net.darkhax.bookshelf.api.block.IItemBlockProvider
- createMenu(int, Inventory) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- creativeTabs - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- CurseEnchantment - Class in net.darkhax.bookshelf.api.enchantment
- CurseEnchantment(Enchantment.Rarity, EnchantmentCategory, EquipmentSlot[]) - Constructor for class net.darkhax.bookshelf.api.enchantment.CurseEnchantment
- CurseEnchantment(EnchantmentCategory, EquipmentSlot[]) - Constructor for class net.darkhax.bookshelf.api.enchantment.CurseEnchantment
D
- damageStack(ItemStack, int, LivingEntity, EquipmentSlot) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
-
Damages an ItemStack by a set amount.
- damageTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- damageTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- DamageTypes() - Constructor for class net.darkhax.bookshelf.api.data.BookshelfTags.DamageTypes
- dataListeners - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- DECIMAL_2 - Static variable in class net.darkhax.bookshelf.api.util.MathsHelper
-
A decimal format that only preserves two decimal places.
- DEFAULT - Enum constant in enum class net.darkhax.bookshelf.api.event.IEventHelper.Ordering
- DEFAULT - Static variable in interface net.darkhax.bookshelf.api.block.IItemBlockProvider
- defaultValue - Variable in class net.darkhax.bookshelf.api.serialization.SerializerEnum
- deferred(Registry<T>, String, String) - Static method in class net.darkhax.bookshelf.api.registry.RegistryObject
- deferred(Registry<T>, ResourceLocation) - Static method in class net.darkhax.bookshelf.api.registry.RegistryObject
- deserializeFromNetwork(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.commands.args.SingletonArgumentInfo
- DIMENSION_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- DIMENSION_TYPE_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- dimensionTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- dimensionTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- dimensionTypeTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- dimensionTypeTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- DIRECTION - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- display(CreativeModeTab.ItemDisplayParameters, IOutputWrapper) - Method in interface net.darkhax.bookshelf.api.item.tab.IDisplayGenerator
- displayItems(IDisplayGenerator) - Method in interface net.darkhax.bookshelf.api.item.tab.ITabBuilder
- displayItems(IDisplayGenerator) - Method in class net.darkhax.bookshelf.api.item.tab.TabBuilder
- DOUBLE - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- dropContents(BlockState, Level, BlockPos) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
-
Drops the contents of the held inventory into the world.
- DYE_COLOR - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
E
- EFFECT_INSTANCE - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- effectTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- effectTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- enchant(Enchantment) - Method in class net.darkhax.bookshelf.api.item.ItemStackBuilder
- enchant(Enchantment, int) - Method in class net.darkhax.bookshelf.api.item.ItemStackBuilder
- ENCHANTMENT - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- ENCHANTMENT - Static variable in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionRegistry
- ENCHANTMENT_CATEGORY - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- ENCHANTMENT_INSTANCE - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- ENCHANTMENT_RARITY - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- ENCHANTMENT_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- EnchantmentHelper - Class in net.darkhax.bookshelf.api.util
- EnchantmentHelper() - Constructor for class net.darkhax.bookshelf.api.util.EnchantmentHelper
- enchantments - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- enchantmentTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- enchantmentTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- entities - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- ENTITY - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- ENTITY_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- ENTITY_TYPE - Static variable in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionRegistry
- EntityHelper - Class in net.darkhax.bookshelf.api.util
- EntityHelper() - Constructor for class net.darkhax.bookshelf.api.util.EntityHelper
- entityTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- entityTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- EnumArgument<T extends Enum<T>> - Class in net.darkhax.bookshelf.api.commands.args
- EnumArgument(Class<T>) - Constructor for class net.darkhax.bookshelf.api.commands.args.EnumArgument
- equals(Object) - Method in class net.darkhax.bookshelf.api.data.sound.Sound
- EVENTS - Static variable in class net.darkhax.bookshelf.api.Services
- ExperienceHelper - Class in net.darkhax.bookshelf.api.util
- ExperienceHelper() - Constructor for class net.darkhax.bookshelf.api.util.ExperienceHelper
- EXPERT - Enum constant in enum class net.darkhax.bookshelf.api.entity.merchant.MerchantTier
- ExtendedText - Class in net.darkhax.bookshelf.impl.resources
- extract(int, int) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Attempts to extract items from the specified amount.
- extract(int, int, Direction) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Attempts to extract items from the specified amount.
- extract(int, int, Direction, boolean) - Method in class net.darkhax.bookshelf.api.inventory.ContainerInventoryAccess
- extract(int, int, Direction, boolean) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Attempts to extract items from the specified amount.
- extract(int, int, Direction, boolean) - Method in class net.darkhax.bookshelf.api.inventory.WorldlyContainerInventoryAccess
F
- FAKE_PLAYER - Static variable in class net.darkhax.bookshelf.api.data.BookshelfTags.DamageTypes
- fill(Container, NonNullList<ItemStack>) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
-
Fills an inventory with a list of ItemStack.
- FLOAT - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- FLUID_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- fluids - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- fluidTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- fluidTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- FONT_ALT - Static variable in class net.darkhax.bookshelf.api.util.TextHelper
- FONT_DEFAULT - Static variable in class net.darkhax.bookshelf.api.util.TextHelper
- FONT_ILLAGER - Static variable in class net.darkhax.bookshelf.api.util.TextHelper
- FONT_SERIALIZER - Static variable in class net.darkhax.bookshelf.impl.commands.args.FontArgument
- FONT_UNIFORM - Static variable in class net.darkhax.bookshelf.api.util.TextHelper
- FontArgument - Class in net.darkhax.bookshelf.impl.commands.args
- FontArgument() - Constructor for class net.darkhax.bookshelf.impl.commands.args.FontArgument
- forEachSlot(IntConsumer, Direction) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.data.sound.Sound.Serializer
- fromByteBuf(FriendlyByteBuf) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a value from a byte buffer.
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerAttributeModifier
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBlockPos
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBlockState
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBoolean
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerByte
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerCodec
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerCompoundTag
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerDouble
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEffectInstance
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEnchantmentInstance
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEnum
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerFloat
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerIngredient
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerInteger
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerItemStack
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerLong
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerRegistryEntry
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerResourceLocation
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerShort
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerString
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerTagKey
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerText
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerUUID
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerVector3f
- fromByteBuf(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.serialization.SerializerVector4f
- fromByteBufList(FriendlyByteBuf) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a list of values from a byte buffer.
- fromByteBufNullable(FriendlyByteBuf) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- fromByteBufOptional(FriendlyByteBuf) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Read an optional value from a byte buffer.
- fromByteBufWeighted(FriendlyByteBuf) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a weighted wrapped value from a byte buffer.
- fromByteBufWeightedList(FriendlyByteBuf) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a list of weighted wrapped entries from a byte buffer.
- fromJson(JsonObject) - Method in interface net.darkhax.bookshelf.api.data.conditions.ILoadConditionSerializer
- fromJson(JsonObject) - Method in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionAnd
- fromJson(JsonObject) - Method in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionModLoaded
- fromJson(JsonObject) - Method in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionNot
- fromJson(JsonObject) - Method in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionOr
- fromJson(JsonObject) - Method in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionPlatform
- fromJson(JsonObject) - Method in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionRegistry
- fromJson(ResourceLocation, JsonObject) - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapedDurabilityRecipe.Serializer
- fromJson(ResourceLocation, JsonObject) - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapelessDurabilityRecipe.Serializer
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.data.sound.Sound.Serializer
- fromJSON(JsonElement) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads the value from a specific JSON element.
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerAttributeModifier
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBlockPos
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBlockState
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBoolean
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerByte
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerCodec
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerCompoundTag
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerDouble
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEffectInstance
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEnchantmentInstance
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEnum
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerFloat
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerIngredient
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerInteger
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerItemStack
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerLong
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerRegistryEntry
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerResourceLocation
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerShort
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerString
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerTagKey
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerText
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerUUID
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerVector3f
- fromJSON(JsonElement) - Method in class net.darkhax.bookshelf.api.serialization.SerializerVector4f
- fromJSON(JsonObject, String) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a value from a member on a parent JSON object.
- fromJSON(JsonObject, String, Supplier<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a value from a member on a parent JSON object.
- fromJSON(JsonObject, String, T) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a value from a member on a parent JSON object.
- fromJSONList(JsonElement) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a list of values from JSON.
- fromJSONList(JsonObject, String) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a list of values from a child element on a JSON object.
- fromJSONList(JsonObject, String, Supplier<List<T>>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a list of values from a child element on a JSON object.
- fromJSONList(JsonObject, String, List<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a list of values from a child element on a JSON object.
- fromJSONNullable(JsonElement) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- fromJSONNullable(JsonObject, String) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- fromJSONOptional(JsonElement) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads an optional value from a JSON element.
- fromJSONOptional(JsonObject, String) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Read an optional value from a child JSON element.
- fromJSONSet(JsonElement) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a set of values from a JSON element.
- fromJSONSet(JsonObject, String) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a set of values from a child member from the parent JSON element.
- fromJSONSet(JsonObject, String, Supplier<Set<T>>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a set of values from a child member from the parent JSON element.
- fromJSONSet(JsonObject, String, Set<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a set of values from a child member from the parent JSON element.
- fromJSONString(String) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads the value from a JSON string.
- fromJSONWeighted(JsonElement) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a wrapped weighted entry from a JSON element.
- fromJSONWeightedList(JsonElement) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a list of weighted wrapped values from the json.
- fromNBT(CompoundTag, String) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- fromNBT(CompoundTag, String, T) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.data.sound.Sound.Serializer
- fromNBT(Tag) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a value from a named binary tag (NBT).
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerAttributeModifier
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBlockPos
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBlockState
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBoolean
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerByte
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerCodec
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerCompoundTag
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerDouble
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEffectInstance
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEnchantmentInstance
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEnum
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerFloat
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerIngredient
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerInteger
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerItemStack
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerLong
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerRegistryEntry
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerResourceLocation
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerShort
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerString
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerTagKey
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerText
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerUUID
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerVector3f
- fromNBT(Tag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerVector4f
- fromNBTList(CompoundTag, String) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- fromNBTList(Tag) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- fromNetwork(ResourceLocation, FriendlyByteBuf) - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapedDurabilityRecipe.Serializer
- fromNetwork(ResourceLocation, FriendlyByteBuf) - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapelessDurabilityRecipe.Serializer
G
- GAME_EVENT - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- GAME_EVENT_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- gameEventTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- gameEventTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- generate() - Static method in class net.darkhax.bookshelf.impl.gametest.BookshelfGameTests
- get() - Static method in interface net.darkhax.bookshelf.api.client.RenderHelper
- get() - Method in class net.darkhax.bookshelf.api.function.CachedSupplier
- get(int) - Method in class net.darkhax.bookshelf.api.attribute.ScaledAttributeModifier
- get(CommandContext<CommandSourceStack>) - Static method in class net.darkhax.bookshelf.impl.commands.args.HandArgument
- get(String) - Method in class net.darkhax.bookshelf.impl.resources.ExtendedText
- get(ItemStack) - Static method in interface net.darkhax.bookshelf.api.item.IEquippable
- getAsElement(String) - Static method in class net.darkhax.bookshelf.api.util.JSONHelper
- getAsID(ItemStack) - Static method in enum class net.darkhax.bookshelf.impl.commands.CommandHand.OutputType
- getAsSNBT(ItemStack) - Static method in enum class net.darkhax.bookshelf.impl.commands.CommandHand.OutputType
- getAsString(JsonElement) - Static method in class net.darkhax.bookshelf.api.util.JSONHelper
- getAttackDamage(ItemStack) - Static method in class net.darkhax.bookshelf.api.util.AttributeHelper
-
Calculates the attack damage attribute value for a given ItemStack.
- getAttackDamage(ItemStack) - Static method in class net.darkhax.bookshelf.api.util.ItemStackHelper
-
Calculates the attack damage for an ItemStack when used to attack an unspecified mob.
- getAttackDamage(ItemStack, Entity) - Static method in class net.darkhax.bookshelf.api.util.ItemStackHelper
-
Calculates the attack damage for an ItemStack when used to attack a specific entity.
- getAttackDamage(ItemStack, MobType) - Static method in class net.darkhax.bookshelf.api.util.ItemStackHelper
-
Calculates the attack damage for an ItemStack after accounting for bonus damage modifiers such as attribute modifiers and enchantments.
- getAttackKnockback(ItemStack) - Static method in class net.darkhax.bookshelf.api.util.AttributeHelper
-
Calculates the attack knockback attribute value for a given ItemStack.
- getAttackSpeed(ItemStack) - Static method in class net.darkhax.bookshelf.api.util.AttributeHelper
-
Calculates the attack speed attribute value for a given ItemStack.
- getAvailableSlots() - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Gets an array of accessible slot IDs for the inventory.
- getAvailableSlots(Direction) - Method in class net.darkhax.bookshelf.api.inventory.ContainerInventoryAccess
- getAvailableSlots(Direction) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Gets an array of accessible slot IDs for a given side of the inventory.
- getAvailableSlots(Direction) - Method in class net.darkhax.bookshelf.api.inventory.WorldlyContainerInventoryAccess
- getAverage(int, int) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
-
Gets the middle integer between two other integers.
- getBoundsForPixels(int, int, int, int, int, int) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
-
Creates a bounding box using pixel size.
- getCommonWanderingTrades() - Method in class net.darkhax.bookshelf.api.registry.VillagerTradeEntries
- getCompletedAdvancements(LocalPlayer) - Method in interface net.darkhax.bookshelf.api.util.IClientHelper
- getCondition(JsonObject) - Static method in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
-
Reads a load condition from a JSON object.
- getConditions(JsonElement) - Static method in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
-
Reads one or more conditions from a JSON element.
- getConfigDirectory() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Gets the specified configuration directory as a file reference.
- getConfigPath() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Gets the specified configuration path for the game.
- getContainerSize() - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- getCraftingContainer(CraftingContainer) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
-
Gets the internal menu context that is backing a crafting container.
- getCraftingPlayer(Container) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
- getCraftingRemainder(ItemStack) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
- getDefaultBatch() - Method in interface net.darkhax.bookshelf.impl.gametest.ITestable
-
Gets a default batch name that will supersede the annotation default when not null.
- getDefaultBatch() - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- getDistaceFromPos(Entity, BlockPos) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
-
Calculates the distance between an entity and a BlockPos.
- getDistanceBetweenPoints(Vec3, Vec3) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
-
Calculates the distance between two Vec3 positions.
- getDistanceFromEntity(Entity, Entity) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
-
Calculates the distance between two entities.
- getEggColors(EntityType<?>) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
-
Get the egg color associated with an entity type.
- getEntitiesInArea(Class<T>, Level, BlockPos, int) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
-
Gets a List of entities that are within the provided area.
- getEntries() - Method in interface net.darkhax.bookshelf.api.registry.IRegistryEntries
- getEntries() - Method in class net.darkhax.bookshelf.api.registry.RegistryEntries
- getEntry(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.registry.IRegistryEntries
- getEquipmentSlot(ItemStack) - Method in interface net.darkhax.bookshelf.api.item.IEquippable
- getExamples() - Method in class net.darkhax.bookshelf.api.commands.args.EnumArgument
- getExamples() - Method in class net.darkhax.bookshelf.impl.commands.args.FontArgument
- getExperiencePoints(Player) - Static method in class net.darkhax.bookshelf.api.util.ExperienceHelper
-
Calculates the amount of experience points the player currently has.
- getFont(CommandContext<CommandSourceStack>) - Static method in class net.darkhax.bookshelf.impl.commands.args.FontArgument
- getFormatedTime(int, boolean) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- getGameDirectory() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Gets the working directory of the game as a File.
- getGamePath() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Gets the working directory path of the game directory.
- getId() - Method in class net.darkhax.bookshelf.api.data.recipes.RecipeBase
- getInventory() - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
-
Gets the inventory currently held by the block entity.
- getInventory(Level, BlockPos, Direction) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
-
Attempts to provide access to an inventory stored at the given position.
- getItem(int) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- getItemStack() - Method in interface net.darkhax.bookshelf.api.event.item.IItemAttributeEvent
- getLightningRedirectionFaces(Level, BlockPos, BlockState) - Method in interface net.darkhax.bookshelf.api.block.ILightningConductive
-
Gets an array of block faces that should conduct lightning when struck.
- getLoadedMods() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Gets a set of loaded mod IDs.
- getMaxCost(int) - Method in class net.darkhax.bookshelf.api.enchantment.CurseEnchantment
- getMaxLength() - Method in class net.darkhax.bookshelf.api.lib.TableBuilder.TableColumn
- getMaxLevel() - Method in class net.darkhax.bookshelf.api.enchantment.CurseEnchantment
- getMaxStackSize() - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- getMinCost(int) - Method in class net.darkhax.bookshelf.api.enchantment.CurseEnchantment
- getModName(String) - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Attempts to resolve the name of a mod using the associated mod ID.
- getModNameComponent(String) - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Attempts to resolve the name of a mod using the associated mod ID.
- getModsDirectory() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Gets the primary directory that the current loader will load mods from.
- getModsPath() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Gets the primary path that the current loader will load mods from.
- getModVersion(String) - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
- getName() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Gets the name of the platform.
- getOffer(Entity, RandomSource) - Method in class net.darkhax.bookshelf.api.entity.merchant.trade.VillagerBuys
- getOffer(Entity, RandomSource) - Method in class net.darkhax.bookshelf.api.entity.merchant.trade.VillagerSells
- getOrDefault(String, String, CallbackInfoReturnable<String>) - Method in class net.darkhax.bookshelf.mixin.patches.locale.MixinClientLanguage
- getOrDefault(ResourceLocation, Supplier<V>) - Method in interface net.darkhax.bookshelf.api.registry.IRegistryEntries
- getOrDefault(ResourceLocation, V) - Method in interface net.darkhax.bookshelf.api.registry.IRegistryEntries
- getOwner() - Method in interface net.darkhax.bookshelf.api.registry.IOwnedRegistryEntries
- getOwner() - Method in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- getOwner() - Method in class net.darkhax.bookshelf.api.registry.RegistryEntries
- getPercentage(int, int) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
-
Gets the percentage of an integer.
- getPhysicalSide() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Gets the physical environment that the code is running on.
- getPixelDistance(int) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
-
Gets the distance in world for an amount of pixels.
- getPointForLevel(int) - Static method in class net.darkhax.bookshelf.api.util.ExperienceHelper
-
Calculates the amount of additional experience points required to reach the given level when starting from the previous level.
- getPointsForLevel(int, int) - Static method in class net.darkhax.bookshelf.api.util.ExperienceHelper
-
Calculates the amount of additional experience points required to reach the target level when starting from the starting level.
- getRareWanderingTrades() - Method in class net.darkhax.bookshelf.api.registry.VillagerTradeEntries
- getRegisteredFonts() - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- getRegistryName() - Method in interface net.darkhax.bookshelf.api.registry.IRegistryObject
- getRegistryName() - Method in class net.darkhax.bookshelf.api.registry.RegistryObject
- getRemainingCooldownTicks(Player, Item) - Static method in class net.darkhax.bookshelf.api.util.PlayerHelper
- getRemainingItems(CraftingContainer) - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapedDurabilityRecipe
- getRemainingItems(CraftingContainer) - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapelessDurabilityRecipe
- getRenderLayerToBind() - Method in interface net.darkhax.bookshelf.api.block.IBindRenderLayer
- getRenderShape(BlockState) - Method in class net.darkhax.bookshelf.api.block.InventoryBlock
- getResultItem(RegistryAccess) - Method in class net.darkhax.bookshelf.api.data.recipes.RecipeBaseData
- getSerializer() - Method in class net.darkhax.bookshelf.api.registry.CommandArgumentEntry
- getSerializer() - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapedDurabilityRecipe
- getSerializer() - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapelessDurabilityRecipe
- getSlotsForFace(Direction) - Method in class net.darkhax.bookshelf.api.block.entity.WorldlyInventoryBlockEntity
- getSlotSize(int) - Method in class net.darkhax.bookshelf.api.inventory.ContainerInventoryAccess
- getSlotSize(int) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Get the amount of items that can be held by a given slot.
- getSlotType() - Method in interface net.darkhax.bookshelf.api.event.item.IItemAttributeEvent
- getStackInSlot(int) - Method in class net.darkhax.bookshelf.api.inventory.ContainerInventoryAccess
- getStackInSlot(int) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Gets the ItemStack in a given slot within the inventory.
- getTabItems(CreativeModeTab) - Static method in class net.darkhax.bookshelf.api.util.ItemStackHelper
- getTags(ItemStack) - Static method in enum class net.darkhax.bookshelf.impl.commands.CommandHand.OutputType
- getTitle() - Method in class net.darkhax.bookshelf.api.lib.TableBuilder.TableColumn
- getTotalPointsForLevel(int) - Static method in class net.darkhax.bookshelf.api.util.ExperienceHelper
-
Calculates the total amount of experience points required to reach a given level when starting at level 0.
- getType() - Method in class net.darkhax.bookshelf.api.registry.CommandArgumentEntry
- getValue(int) - Method in class net.darkhax.bookshelf.api.lib.TableBuilder.TableColumn
- getVillagerTrades() - Method in class net.darkhax.bookshelf.api.registry.VillagerTradeEntries
H
- HandArgument - Class in net.darkhax.bookshelf.impl.commands.args
- has(String) - Method in class net.darkhax.bookshelf.impl.resources.ExtendedText
- has(String, CallbackInfoReturnable<Boolean>) - Method in class net.darkhax.bookshelf.mixin.patches.locale.MixinClientLanguage
- hasAnyOf(Set<Item>) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- hasCraftingRemainder(ItemStack) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
- hasGameReloaded(Level) - Method in class net.darkhax.bookshelf.api.function.ReloadableCache
-
Checks if the game has reloaded since the last time the cache was updated.
- hashCode() - Method in class net.darkhax.bookshelf.api.data.sound.Sound
- hasItemBlock(Block) - Method in interface net.darkhax.bookshelf.api.block.IItemBlockProvider
- hideTitle() - Method in interface net.darkhax.bookshelf.api.item.tab.ITabBuilder
- hideTitle() - Method in class net.darkhax.bookshelf.api.item.tab.TabBuilder
I
- IBindRenderLayer - Interface in net.darkhax.bookshelf.api.block
- IClientHelper - Interface in net.darkhax.bookshelf.api.util
- ICommandBuilder - Interface in net.darkhax.bookshelf.api.commands
- icon(Supplier<ItemStack>) - Method in interface net.darkhax.bookshelf.api.item.tab.ITabBuilder
- icon(Supplier<ItemStack>) - Method in class net.darkhax.bookshelf.api.item.tab.TabBuilder
- IConstructHelper - Interface in net.darkhax.bookshelf.api.util
- IContentLoader - Interface in net.darkhax.bookshelf.api.registry
- ID - Enum constant in enum class net.darkhax.bookshelf.impl.commands.CommandHand.OutputType
- IDisplayGenerator - Interface in net.darkhax.bookshelf.api.item.tab
- IEquippable - Interface in net.darkhax.bookshelf.api.item
- IEventHelper - Interface in net.darkhax.bookshelf.api.event
-
The event helper provides a loader neutral interface for registering event listeners with an underlying loader specific event bus.
- IEventHelper.Ordering - Enum Class in net.darkhax.bookshelf.api.event
- ifAbsent(ResourceLocation, Consumer<ResourceLocation>) - Method in interface net.darkhax.bookshelf.api.registry.IRegistryEntries
- IFarmlandTrampleListener - Interface in net.darkhax.bookshelf.api.event.block
- ifCached(Consumer<T>) - Method in class net.darkhax.bookshelf.api.function.CachedSupplier
-
Safely attempts to invoke a consumer with the cached value.
- ifPresent(Consumer<T>) - Method in class net.darkhax.bookshelf.api.function.CachedSupplier
-
Safely attempts to invoke a consumer with the cached value.
- ifPresent(ResourceLocation, BiConsumer<ResourceLocation, V>) - Method in interface net.darkhax.bookshelf.api.registry.IRegistryEntries
- IInventoryAccess - Interface in net.darkhax.bookshelf.api.inventory
-
This interface provides a loader neutral way to interact with different types of inventories.
- IInventoryHelper - Interface in net.darkhax.bookshelf.api.util
- IItemAttributeEvent - Interface in net.darkhax.bookshelf.api.event.item
- IItemAttributeEvent.Listener - Interface in net.darkhax.bookshelf.api.event.item
- IItemBlockProvider - Interface in net.darkhax.bookshelf.api.block
- IItemTooltipEvent - Interface in net.darkhax.bookshelf.api.event.item
- IItemUseTickEvent - Interface in net.darkhax.bookshelf.api.event.entity
- ILightningConductive - Interface in net.darkhax.bookshelf.api.block
-
This interface allows implementing blocks to respond to lighting strikes and redirect lightning strikes to other adjacent blocks.
- ILoadCondition - Interface in net.darkhax.bookshelf.api.data.conditions
-
Load conditions allow JSON data/resource pack entries to be skipped when their condition is not met.
- ILoadConditionSerializer<T extends ILoadCondition> - Interface in net.darkhax.bookshelf.api.data.conditions
- INGREDIENT - Enum constant in enum class net.darkhax.bookshelf.impl.commands.CommandHand.OutputType
- INGREDIENT - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- insert(int, ItemStack) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Attempts to insert an ItemStack into the given slot.
- insert(int, ItemStack, Direction) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Attempts to insert an ItemStack into the given slot.
- insert(int, ItemStack, Direction, boolean) - Method in class net.darkhax.bookshelf.api.inventory.ContainerInventoryAccess
- insert(int, ItemStack, Direction, boolean) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Attempts to insert an ItemStack into the given slot.
- insert(int, ItemStack, Direction, boolean) - Method in class net.darkhax.bookshelf.api.inventory.WorldlyContainerInventoryAccess
- insert(int, ItemStack, Direction, boolean, boolean) - Method in class net.darkhax.bookshelf.api.inventory.ContainerInventoryAccess
- insertPoolElement(StructureTemplatePool, StructurePoolElement, int) - Static method in class net.darkhax.bookshelf.api.util.StructureHelper
- INSTANCE - Static variable in interface net.darkhax.bookshelf.api.client.RenderHelper
- INSTANCE - Static variable in class net.darkhax.bookshelf.impl.resources.ExtendedText
- instantiate(CommandBuildContext) - Method in class net.darkhax.bookshelf.api.commands.args.SingletonArgumentInfo.Template
- INT - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- internal - Variable in class net.darkhax.bookshelf.api.inventory.ContainerInventoryAccess
- invalidate() - Method in class net.darkhax.bookshelf.api.function.CachedSupplier
-
Invalidates the cached value.
- invalidate() - Method in class net.darkhax.bookshelf.api.function.ReloadableCache
-
Manually invalidates the cache.
- INVENTORY_HELPER - Static variable in class net.darkhax.bookshelf.api.Services
- InventoryBlock - Class in net.darkhax.bookshelf.api.block
- InventoryBlock(BlockBehaviour.Properties) - Constructor for class net.darkhax.bookshelf.api.block.InventoryBlock
- InventoryBlockEntity<T extends net.minecraft.world.Container> - Class in net.darkhax.bookshelf.api.block.entity
-
An implementation of BlockEntity that holds an inventory.
- InventoryBlockEntity(BlockEntityType<?>, BlockPos, BlockState) - Constructor for class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- IOutputWrapper - Interface in net.darkhax.bookshelf.api.item.tab
- IOwnedRegistryEntries<V> - Interface in net.darkhax.bookshelf.api.registry
- IPlatformHelper - Interface in net.darkhax.bookshelf.api.util
-
The PlatformHelper provides useful context and information about the platform the game is running on.
- IPlayerWakeUpEvent - Interface in net.darkhax.bookshelf.api.event.entity.player
- IRecipeSyncEvent - Interface in net.darkhax.bookshelf.api.event.client
- IRegistryEntries<V> - Interface in net.darkhax.bookshelf.api.registry
- IRegistryObject<T> - Interface in net.darkhax.bookshelf.api.registry
- isAffectedByFire(LivingEntity) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
-
Checks if an entity can be affected by fire.
- isCached() - Method in class net.darkhax.bookshelf.api.function.CachedSupplier
-
Checks if this supplier has a cached value.
- isCached() - Method in class net.darkhax.bookshelf.api.function.ReloadableCache
-
Checks if the cache has cached a value.
- isClient() - Method in enum class net.darkhax.bookshelf.api.PhysicalSide
- isCurse() - Method in class net.darkhax.bookshelf.api.enchantment.CurseEnchantment
- isDevelopmentEnvironment() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Checks if the mod is running in a development environment.
- isEmpty() - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- isEmpty() - Method in interface net.darkhax.bookshelf.api.registry.IRegistryEntries
- isEmpty() - Method in class net.darkhax.bookshelf.api.registry.RegistryEntries
- ISerializer<T> - Interface in net.darkhax.bookshelf.api.serialization
-
Provides a structure for serializing common data types into the various data exchange formats used in the game.
- isFakePlayer(Player) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
- isInRange(double, double, double) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
-
Checks if a double is within range of two other doubles.
- isModLoaded(String) - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Checks if a given mod is loaded.
- ISound - Interface in net.darkhax.bookshelf.api.data.sound
- isPhysicalClient() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Checks if the code is running on a physical client.
- isServer() - Method in enum class net.darkhax.bookshelf.api.PhysicalSide
- isTestingEnvironment() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
-
Checks if the mod is currently running in an environment with game tests enabled.
- isTreasureOnly() - Method in class net.darkhax.bookshelf.api.enchantment.CurseEnchantment
- isUnbreakableItem(ItemStack) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
- isValidForSlot(int, ItemStack) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Checks if an ItemStack is the right type of item for a slot.
- isValidForSlot(int, ItemStack, Direction) - Method in class net.darkhax.bookshelf.api.inventory.ContainerInventoryAccess
- isValidForSlot(int, ItemStack, Direction) - Method in interface net.darkhax.bookshelf.api.inventory.IInventoryAccess
-
Checks if an ItemStack is the right type of item for a slot.
- isValidSlot(EquipmentSlot) - Method in class net.darkhax.bookshelf.api.enchantment.BaseEnchantment
- isWearingFullSet(Mob, Class<Item>) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
-
A check to see if an entity is wearing a full suit of the armor.
- ITabBuilder - Interface in net.darkhax.bookshelf.api.item.tab
- ITagHelper - Interface in net.darkhax.bookshelf.api.data
- ITEM - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- ITEM - Static variable in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionRegistry
- ITEM_RARITY - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- ITEM_STACK - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- ITEM_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- items - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- ItemStackBuilder - Class in net.darkhax.bookshelf.api.item
- ItemStackBuilder(Holder<Item>) - Constructor for class net.darkhax.bookshelf.api.item.ItemStackBuilder
- ItemStackBuilder(Holder<Item>, int) - Constructor for class net.darkhax.bookshelf.api.item.ItemStackBuilder
- ItemStackBuilder(ItemStack) - Constructor for class net.darkhax.bookshelf.api.item.ItemStackBuilder
- ItemStackBuilder(ItemLike) - Constructor for class net.darkhax.bookshelf.api.item.ItemStackBuilder
- ItemStackBuilder(ItemLike, int) - Constructor for class net.darkhax.bookshelf.api.item.ItemStackBuilder
- ItemStackHelper - Class in net.darkhax.bookshelf.api.util
-
This class contains static helper methods for working with ItemStacks.
- ItemStackHelper() - Constructor for class net.darkhax.bookshelf.api.util.ItemStackHelper
- itemTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- itemTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- iterator() - Method in class net.darkhax.bookshelf.api.registry.RegistryEntries
- ITestable - Interface in net.darkhax.bookshelf.impl.gametest
J
- join(Component, Collection<Component>) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- join(Component, Iterator<Component>) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- join(Component, Component...) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- JOURNEYMAN - Enum constant in enum class net.darkhax.bookshelf.api.entity.merchant.MerchantTier
- JSONHelper - Class in net.darkhax.bookshelf.api.util
- JSONHelper() - Constructor for class net.darkhax.bookshelf.api.util.JSONHelper
K
- keepDamageableItems(CraftingContainer, NonNullList<ItemStack>, int) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
L
- lastHurtByPlayerTime - Variable in class net.darkhax.bookshelf.mixin.patches.entity.MixinLivingEntity
- legacyElementFromNBT(RegistryAccess, String) - Static method in class net.darkhax.bookshelf.api.util.StructureHelper
- legacyElementFromNBT(RegistryAccess, ResourceKey<StructureProcessorList>, String) - Static method in class net.darkhax.bookshelf.api.util.StructureHelper
- legacyElementFromNBT(RegistryAccess, ResourceKey<StructureProcessorList>, String, StructureTemplatePool.Projection) - Static method in class net.darkhax.bookshelf.api.util.StructureHelper
- LIGHTNING_REDIRECTION_FACES - Static variable in interface net.darkhax.bookshelf.api.block.ILightningConductive
-
A default array of faces for conductive blocks to redirect lightning to.
- listSuggestions(CommandContext<S>, SuggestionsBuilder) - Method in class net.darkhax.bookshelf.api.commands.args.EnumArgument
- listSuggestions(CommandContext<S>, SuggestionsBuilder) - Method in class net.darkhax.bookshelf.impl.commands.args.FontArgument
- load(Class<T>) - Static method in class net.darkhax.bookshelf.api.Services
- load(CompoundTag) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- LoadConditionAnd - Class in net.darkhax.bookshelf.impl.data.conditions
-
This condition will only be met if all internally held conditions are met.
- LoadConditionAnd() - Constructor for class net.darkhax.bookshelf.impl.data.conditions.LoadConditionAnd
- LoadConditionModLoaded - Class in net.darkhax.bookshelf.impl.data.conditions
-
This condition will only be met if all specified mod IDs are loaded and available.
- LoadConditionModLoaded() - Constructor for class net.darkhax.bookshelf.impl.data.conditions.LoadConditionModLoaded
- LoadConditionNot - Class in net.darkhax.bookshelf.impl.data.conditions
-
This condition will only be met if all internally held conditions are not met.
- LoadConditionNot() - Constructor for class net.darkhax.bookshelf.impl.data.conditions.LoadConditionNot
- LoadConditionOr - Class in net.darkhax.bookshelf.impl.data.conditions
-
This condition will be met if at least one of the internally held conditions has been met.
- LoadConditionOr() - Constructor for class net.darkhax.bookshelf.impl.data.conditions.LoadConditionOr
- LoadConditionPlatform - Class in net.darkhax.bookshelf.impl.data.conditions
-
This condition will only be met when the specified platform is being used.
- LoadConditionPlatform() - Constructor for class net.darkhax.bookshelf.impl.data.conditions.LoadConditionPlatform
- LoadConditionRegistry<T> - Class in net.darkhax.bookshelf.impl.data.conditions
-
This condition is only met when all specified registry entries exist in the game registry.
- LoadConditionRegistry(Registry<T>) - Constructor for class net.darkhax.bookshelf.impl.data.conditions.LoadConditionRegistry
- LoadConditions - Class in net.darkhax.bookshelf.api.data.conditions
- LoadConditions() - Constructor for class net.darkhax.bookshelf.api.data.conditions.LoadConditions
- loadContent(RegistryDataProvider) - Method in interface net.darkhax.bookshelf.api.registry.IContentLoader
- LOG - Static variable in class net.darkhax.bookshelf.Constants
- LONG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- lookupTranslation(String, Object...) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- lookupTranslation(String, BiFunction<String, Object[], MutableComponent>, Object...) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- lookupTranslation(String, MutableComponent, Object...) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- lookupTranslationWithAlias(String[], Object...) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- lookupTranslationWithAlias(ResourceLocation, String...) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- lore(Component...) - Method in class net.darkhax.bookshelf.api.item.ItemStackBuilder
M
- markDirty() - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
-
Notifies the world that the tile has been updated and requires re-saving.
- MASTER - Enum constant in enum class net.darkhax.bookshelf.api.entity.merchant.MerchantTier
- matches(C, Level) - Method in class net.darkhax.bookshelf.api.data.recipes.RecipeBaseData
- MathsHelper - Class in net.darkhax.bookshelf.api.util
- MathsHelper() - Constructor for class net.darkhax.bookshelf.api.util.MathsHelper
- MC151457 - Class in net.darkhax.bookshelf.impl.fixes
-
Fixes MC-151457 https://bugs.mojang.com/browse/MC-151457
- MC151457() - Constructor for class net.darkhax.bookshelf.impl.fixes.MC151457
- MENU - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- MENU_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- menus - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- menuTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- menuTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- menuType(TriFunction<Integer, Inventory, FriendlyByteBuf, T>) - Method in interface net.darkhax.bookshelf.api.util.IConstructHelper
- MerchantTier - Enum Class in net.darkhax.bookshelf.api.entity.merchant
- MixinClientLanguage - Class in net.darkhax.bookshelf.mixin.patches.locale
- MixinClientLanguage() - Constructor for class net.darkhax.bookshelf.mixin.patches.locale.MixinClientLanguage
- MixinLightningBolt - Class in net.darkhax.bookshelf.mixin.patches.entity
- MixinLightningBolt() - Constructor for class net.darkhax.bookshelf.mixin.patches.entity.MixinLightningBolt
- MixinLivingEntity - Class in net.darkhax.bookshelf.mixin.patches.entity
- MixinLootItemKilledByPlayerCondition - Class in net.darkhax.bookshelf.mixin.patches.loot
- MixinLootItemKilledByPlayerCondition() - Constructor for class net.darkhax.bookshelf.mixin.patches.loot.MixinLootItemKilledByPlayerCondition
- MixinSimpleJsonResourceReloadListener - Class in net.darkhax.bookshelf.mixin.patches.packs.resources
- MixinSimpleJsonResourceReloadListener() - Constructor for class net.darkhax.bookshelf.mixin.patches.packs.resources.MixinSimpleJsonResourceReloadListener
- MOB_CATEGORY - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- MOB_EFFECT - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- MOB_EFFECT - Static variable in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionRegistry
- MOB_EFFECT_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- mobEffects - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- MOD_ID - Static variable in class net.darkhax.bookshelf.Constants
- MOD_NAME - Static variable in class net.darkhax.bookshelf.Constants
- MOTIVE_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- multiplyColor(int, float) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
-
Multiplies an int packed color and returns a new int packed number.
N
- name(Component) - Method in class net.darkhax.bookshelf.api.item.ItemStackBuilder
- NBTParseException - Exception in net.darkhax.bookshelf.api.serialization
- NBTParseException(String) - Constructor for exception net.darkhax.bookshelf.api.serialization.NBTParseException
- NBTParseException(String, Throwable) - Constructor for exception net.darkhax.bookshelf.api.serialization.NBTParseException
- NBTParseException(Throwable) - Constructor for exception net.darkhax.bookshelf.api.serialization.NBTParseException
- net.darkhax.bookshelf - package net.darkhax.bookshelf
- net.darkhax.bookshelf.api - package net.darkhax.bookshelf.api
- net.darkhax.bookshelf.api.attribute - package net.darkhax.bookshelf.api.attribute
- net.darkhax.bookshelf.api.block - package net.darkhax.bookshelf.api.block
- net.darkhax.bookshelf.api.block.entity - package net.darkhax.bookshelf.api.block.entity
- net.darkhax.bookshelf.api.client - package net.darkhax.bookshelf.api.client
- net.darkhax.bookshelf.api.commands - package net.darkhax.bookshelf.api.commands
- net.darkhax.bookshelf.api.commands.args - package net.darkhax.bookshelf.api.commands.args
- net.darkhax.bookshelf.api.data - package net.darkhax.bookshelf.api.data
- net.darkhax.bookshelf.api.data.conditions - package net.darkhax.bookshelf.api.data.conditions
- net.darkhax.bookshelf.api.data.recipes - package net.darkhax.bookshelf.api.data.recipes
- net.darkhax.bookshelf.api.data.sound - package net.darkhax.bookshelf.api.data.sound
- net.darkhax.bookshelf.api.enchantment - package net.darkhax.bookshelf.api.enchantment
- net.darkhax.bookshelf.api.entity.merchant - package net.darkhax.bookshelf.api.entity.merchant
- net.darkhax.bookshelf.api.entity.merchant.trade - package net.darkhax.bookshelf.api.entity.merchant.trade
- net.darkhax.bookshelf.api.event - package net.darkhax.bookshelf.api.event
- net.darkhax.bookshelf.api.event.block - package net.darkhax.bookshelf.api.event.block
- net.darkhax.bookshelf.api.event.client - package net.darkhax.bookshelf.api.event.client
- net.darkhax.bookshelf.api.event.entity - package net.darkhax.bookshelf.api.event.entity
- net.darkhax.bookshelf.api.event.entity.player - package net.darkhax.bookshelf.api.event.entity.player
- net.darkhax.bookshelf.api.event.item - package net.darkhax.bookshelf.api.event.item
- net.darkhax.bookshelf.api.function - package net.darkhax.bookshelf.api.function
- net.darkhax.bookshelf.api.inventory - package net.darkhax.bookshelf.api.inventory
- net.darkhax.bookshelf.api.item - package net.darkhax.bookshelf.api.item
- net.darkhax.bookshelf.api.item.tab - package net.darkhax.bookshelf.api.item.tab
- net.darkhax.bookshelf.api.lib - package net.darkhax.bookshelf.api.lib
- net.darkhax.bookshelf.api.registry - package net.darkhax.bookshelf.api.registry
- net.darkhax.bookshelf.api.serialization - package net.darkhax.bookshelf.api.serialization
- net.darkhax.bookshelf.api.util - package net.darkhax.bookshelf.api.util
- net.darkhax.bookshelf.impl - package net.darkhax.bookshelf.impl
- net.darkhax.bookshelf.impl.commands - package net.darkhax.bookshelf.impl.commands
- net.darkhax.bookshelf.impl.commands.args - package net.darkhax.bookshelf.impl.commands.args
- net.darkhax.bookshelf.impl.data - package net.darkhax.bookshelf.impl.data
- net.darkhax.bookshelf.impl.data.conditions - package net.darkhax.bookshelf.impl.data.conditions
- net.darkhax.bookshelf.impl.data.recipes.crafting - package net.darkhax.bookshelf.impl.data.recipes.crafting
- net.darkhax.bookshelf.impl.fixes - package net.darkhax.bookshelf.impl.fixes
- net.darkhax.bookshelf.impl.gametest - package net.darkhax.bookshelf.impl.gametest
- net.darkhax.bookshelf.impl.resources - package net.darkhax.bookshelf.impl.resources
- net.darkhax.bookshelf.mixin.accessors.block.entity - package net.darkhax.bookshelf.mixin.accessors.block.entity
- net.darkhax.bookshelf.mixin.accessors.client - package net.darkhax.bookshelf.mixin.accessors.client
- net.darkhax.bookshelf.mixin.accessors.client.multiplayer - package net.darkhax.bookshelf.mixin.accessors.client.multiplayer
- net.darkhax.bookshelf.mixin.accessors.effect - package net.darkhax.bookshelf.mixin.accessors.effect
- net.darkhax.bookshelf.mixin.accessors.entity - package net.darkhax.bookshelf.mixin.accessors.entity
- net.darkhax.bookshelf.mixin.accessors.inventory - package net.darkhax.bookshelf.mixin.accessors.inventory
- net.darkhax.bookshelf.mixin.accessors.item - package net.darkhax.bookshelf.mixin.accessors.item
- net.darkhax.bookshelf.mixin.accessors.item.crafting - package net.darkhax.bookshelf.mixin.accessors.item.crafting
- net.darkhax.bookshelf.mixin.accessors.util.random - package net.darkhax.bookshelf.mixin.accessors.util.random
- net.darkhax.bookshelf.mixin.accessors.world - package net.darkhax.bookshelf.mixin.accessors.world
- net.darkhax.bookshelf.mixin.patches.entity - package net.darkhax.bookshelf.mixin.patches.entity
- net.darkhax.bookshelf.mixin.patches.locale - package net.darkhax.bookshelf.mixin.patches.locale
- net.darkhax.bookshelf.mixin.patches.loot - package net.darkhax.bookshelf.mixin.patches.loot
- net.darkhax.bookshelf.mixin.patches.packs.resources - package net.darkhax.bookshelf.mixin.patches.packs.resources
- nextIntInclusive(Random, int, int) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
-
Used to retrieve a random integer between the two provided integers.
- NO_REDIRECTION_FACES - Static variable in interface net.darkhax.bookshelf.api.block.ILightningConductive
-
An empty array of lightning redirection faces.
- noScrollBar() - Method in interface net.darkhax.bookshelf.api.item.tab.ITabBuilder
- noScrollBar() - Method in class net.darkhax.bookshelf.api.item.tab.TabBuilder
- NOVICE - Enum constant in enum class net.darkhax.bookshelf.api.entity.merchant.MerchantTier
O
- of(Function<Level, T>) - Static method in class net.darkhax.bookshelf.api.function.ReloadableCache
-
Creates a cache of a value that will be recalculated when the game reloads.
- of(Supplier<T>) - Static method in class net.darkhax.bookshelf.api.commands.args.SingletonArgumentInfo
- of(Supplier<T>) - Static method in class net.darkhax.bookshelf.api.function.ReloadableCache
-
Creates a cache of a value that will be recalculated when the game reloads.
- of(ResourceKey<? extends Registry<T>>, ResourceLocation) - Static method in class net.darkhax.bookshelf.api.function.ReloadableCache
-
Creates a cache of a registry value that will be reaquired when the game reloads.
- of(RecipeType<? extends Recipe<?>>, ResourceLocation) - Static method in class net.darkhax.bookshelf.api.function.ReloadableCache
-
Creates a cache of a recipe value that will be reaquired when the game reloads.
- of(T) - Static method in class net.darkhax.bookshelf.api.commands.args.SingletonArgumentInfo
- onDirectLightningStrike(Level, BlockPos, BlockState, LightningBolt) - Method in interface net.darkhax.bookshelf.api.block.ILightningConductive
-
This method is called when a lightning bolt directly strikes the blocks.
- onIndirectLightingStrike(Level, BlockPos, BlockState, BlockPos, BlockState, LightningBolt) - Method in interface net.darkhax.bookshelf.api.block.ILightningConductive
-
This method is called when a lightning bolt strikes an adjacent conductive block such as a lightning rod.
- onRemove(BlockState, Level, BlockPos, BlockState, boolean) - Method in class net.darkhax.bookshelf.api.block.InventoryBlock
- onUseTick(LivingEntity, ItemStack, AtomicInteger) - Method in interface net.darkhax.bookshelf.api.event.entity.IItemUseTickEvent
- openMenu(ServerPlayer, MenuProvider) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
- openMenu(ServerPlayer, MenuProvider, Consumer<FriendlyByteBuf>) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
- openMenu(ServerPlayer, MenuProvider, Consumer<FriendlyByteBuf>, boolean) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
P
- PAINTING - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- PAINTING - Static variable in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionRegistry
- paintings - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- paintingTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- paintingTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- parse(StringReader) - Method in class net.darkhax.bookshelf.api.commands.args.EnumArgument
- parse(StringReader) - Method in class net.darkhax.bookshelf.impl.commands.args.FontArgument
- PARTICLE - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- PARTICLE_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- particleTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- particleTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- particleTypes - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- PhysicalSide - Enum Class in net.darkhax.bookshelf.api
- PLANE - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- PLATFORM - Static variable in class net.darkhax.bookshelf.api.Services
- PlayerHelper - Class in net.darkhax.bookshelf.api.util
- PlayerHelper() - Constructor for class net.darkhax.bookshelf.api.util.PlayerHelper
- playSoundAt(Level, Player, double, double, double) - Method in class net.darkhax.bookshelf.api.data.sound.Sound
- playSoundAt(Level, Player, double, double, double) - Method in interface net.darkhax.bookshelf.api.data.sound.ISound
- playSoundAt(Level, Player, BlockPos) - Method in interface net.darkhax.bookshelf.api.data.sound.ISound
- playSoundAt(Level, Player, Entity) - Method in interface net.darkhax.bookshelf.api.data.sound.ISound
- poolElementFromNBT(RegistryAccess, ResourceKey<StructureProcessorList>, String, StructureTemplatePool.Projection, boolean) - Static method in class net.darkhax.bookshelf.api.util.StructureHelper
- POTION - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- POTION - Static variable in class net.darkhax.bookshelf.impl.data.conditions.LoadConditionRegistry
- POTION_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- potions - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- potionTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- potionTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- processEnchantments(ItemStack, BiConsumer<Enchantment, Integer>) - Static method in class net.darkhax.bookshelf.api.util.EnchantmentHelper
- processValue(T) - Method in class net.darkhax.bookshelf.api.lib.TableBuilder.TableColumn
- profileNanoTime(long, long) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
- pushTowards(Entity, BlockPos, double) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
-
Pushes an Entity towards a BlockPos.
- pushTowards(Entity, Direction, double) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
-
Pushes an entity towards a specific direction.
- pushTowards(Entity, Entity, double) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
-
Pushes an entity towards another one.
- pushTowardsDirection(Entity, Direction, double) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
-
Creates a Vector3d that represents the additional motion that would be needed to push an entity towards a destination.
Q
- QuadConsumer<P1,
P2, P3, P4> - Interface in net.darkhax.bookshelf.api.function
R
- RANDOM - Static variable in class net.darkhax.bookshelf.Constants
- RANDOM_SOURCE - Static variable in class net.darkhax.bookshelf.Constants
- rayTrace(LivingEntity, double, ClipContext.Block, ClipContext.Fluid) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
-
Performs a ray trace for the look vector of an entity.
- readByteBufSet(FriendlyByteBuf) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Reads a set of values from a byte buffer.
- readInventory(CompoundTag) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
-
Update the state of the held inventory using state data read from NBT.
- RECIPE_SERIALIZER_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- RECIPE_TYPE_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- RecipeBase<C extends net.minecraft.world.Container> - Class in net.darkhax.bookshelf.api.data.recipes
-
A partial implementation of
Recipethat provides the necessary ID handling and error detection. - RecipeBase(ResourceLocation) - Constructor for class net.darkhax.bookshelf.api.data.recipes.RecipeBase
- RecipeBaseData<C extends net.minecraft.world.Container> - Class in net.darkhax.bookshelf.api.data.recipes
-
A partial implementation of
Recipethat is intended for recipes that are not crafted through an inventory or traditional crafting system. - RecipeBaseData(ResourceLocation) - Constructor for class net.darkhax.bookshelf.api.data.recipes.RecipeBaseData
- recipeSerializers - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- recipeSerializerTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- recipeSerializerTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- RecipeTypeEntries - Class in net.darkhax.bookshelf.api.registry
- RecipeTypeEntries(Supplier<String>) - Constructor for class net.darkhax.bookshelf.api.registry.RecipeTypeEntries
- recipeTypes - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- recipeTypeTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- recipeTypeTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- register(ResourceLocation, ILoadConditionSerializer<?>) - Static method in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
-
Registers a new load condition serializer.
- REGISTRIES - Static variable in class net.darkhax.bookshelf.api.Services
- RegistryDataProvider - Class in net.darkhax.bookshelf.api.registry
- RegistryDataProvider(String) - Constructor for class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- RegistryEntries<V> - Class in net.darkhax.bookshelf.api.registry
- RegistryEntries(Supplier<String>, String) - Constructor for class net.darkhax.bookshelf.api.registry.RegistryEntries
- RegistryEntries(Supplier<String>, ResourceKey<?>) - Constructor for class net.darkhax.bookshelf.api.registry.RegistryEntries
- RegistryObject<T> - Class in net.darkhax.bookshelf.api.registry
- RegistryObject(ResourceLocation, Supplier<T>) - Constructor for class net.darkhax.bookshelf.api.registry.RegistryObject
- ReloadableCache<T> - Class in net.darkhax.bookshelf.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.api.function.ReloadableCache
- removeAttribute(Attribute) - Method in interface net.darkhax.bookshelf.api.event.item.IItemAttributeEvent
- removeItem(int, int) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- removeItemNoUpdate(int) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- removeModifier(Attribute, AttributeModifier) - Method in interface net.darkhax.bookshelf.api.event.item.IItemAttributeEvent
- renderBox(VertexConsumer, PoseStack, TextureAtlasSprite, int, int, float, float, float, float, float, float, int[]) - Method in interface net.darkhax.bookshelf.api.client.RenderHelper
-
Renders a box with the sprite on each face.
- renderBox(VertexConsumer, PoseStack, TextureAtlasSprite, int, int, int[]) - Method in interface net.darkhax.bookshelf.api.client.RenderHelper
-
Renders a box with the sprite on each face.
- renderBox(VertexConsumer, Matrix4f, TextureAtlasSprite, int, int, float, float, float, float, float, float, int[]) - Method in interface net.darkhax.bookshelf.api.client.RenderHelper
-
Renders a box with the sprite on each face.
- renderFace(VertexConsumer, Matrix4f, TextureAtlasSprite, Direction, int, int, float, float, float, float, float, float, int[]) - Method in interface net.darkhax.bookshelf.api.client.RenderHelper
-
Renders the face of a box.
- renderFluidBox(PoseStack, FluidState, Level, BlockPos, MultiBufferSource, int, int) - Method in interface net.darkhax.bookshelf.api.client.RenderHelper
- RenderHelper - Class in net.darkhax.bookshelf.api.util
- RenderHelper - Interface in net.darkhax.bookshelf.api.client
- RenderHelper() - Constructor for class net.darkhax.bookshelf.api.util.RenderHelper
- renderLinesReversed(GuiGraphics, int, int, FormattedText, int) - Static method in class net.darkhax.bookshelf.api.util.RenderHelper
- renderLinesReversed(GuiGraphics, Font, int, int, int, int, List<FormattedCharSequence>) - Static method in class net.darkhax.bookshelf.api.util.RenderHelper
- renderLinesReversed(GuiGraphics, Font, int, int, int, int, FormattedText, int) - Static method in class net.darkhax.bookshelf.api.util.RenderHelper
- renderLinesWrapped(GuiGraphics, int, int, FormattedText, int) - Static method in class net.darkhax.bookshelf.api.util.RenderHelper
- renderLinesWrapped(GuiGraphics, Font, int, int, int, int, List<FormattedCharSequence>) - Static method in class net.darkhax.bookshelf.api.util.RenderHelper
- renderLinesWrapped(GuiGraphics, Font, int, int, int, int, FormattedText, int) - Static method in class net.darkhax.bookshelf.api.util.RenderHelper
- RESOURCE_LOCATION - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- resourceListeners - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- rotateShape(Direction, double, double, double, double, double, double) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
-
Creates a voxel shape that has been rotated a given direction.
- round(double, int) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
-
This method can be used to round a double to a certain amount of places.
S
- saveAdditional(CompoundTag) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- saveInventory() - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
-
Stores the state of the currently held inventory in an NBT tag.
- ScaledAttributeModifier - Class in net.darkhax.bookshelf.api.attribute
- ScaledAttributeModifier(String, String, AttributeModifier.Operation, Function<Integer, Float>) - Constructor for class net.darkhax.bookshelf.api.attribute.ScaledAttributeModifier
- ScaledAttributeModifier(UUID, String, AttributeModifier.Operation, Function<Integer, Float>) - Constructor for class net.darkhax.bookshelf.api.attribute.ScaledAttributeModifier
- Serializer() - Constructor for class net.darkhax.bookshelf.api.data.sound.Sound.Serializer
- Serializer() - Constructor for class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapedDurabilityRecipe.Serializer
- Serializer() - Constructor for class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapelessDurabilityRecipe.Serializer
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.data.sound.Sound
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerAttributeModifier
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerBlockPos
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerBlockState
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerBoolean
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerByte
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerCompoundTag
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerDouble
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerEnchantmentInstance
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerFloat
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerIngredient
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerInteger
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerItemStack
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerLong
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerResourceLocation
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerShort
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerString
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerText
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerUUID
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerVector3f
- SERIALIZER - Static variable in class net.darkhax.bookshelf.api.serialization.SerializerVector4f
- SERIALIZER - Static variable in class net.darkhax.bookshelf.impl.commands.args.HandArgument
- SERIALIZER - Static variable in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapedDurabilityRecipe
- SERIALIZER - Static variable in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapelessDurabilityRecipe
- SerializerAttributeModifier - Class in net.darkhax.bookshelf.api.serialization
- SerializerBlockPos - Class in net.darkhax.bookshelf.api.serialization
- SerializerBlockPos() - Constructor for class net.darkhax.bookshelf.api.serialization.SerializerBlockPos
- SerializerBlockState - Class in net.darkhax.bookshelf.api.serialization
- SerializerBoolean - Class in net.darkhax.bookshelf.api.serialization
- SerializerByte - Class in net.darkhax.bookshelf.api.serialization
- SerializerCodec<T> - Class in net.darkhax.bookshelf.api.serialization
- SerializerCodec(Codec<T>) - Constructor for class net.darkhax.bookshelf.api.serialization.SerializerCodec
- SerializerCompoundTag - Class in net.darkhax.bookshelf.api.serialization
- SerializerDouble - Class in net.darkhax.bookshelf.api.serialization
- SerializerEffectInstance - Class in net.darkhax.bookshelf.api.serialization
- SerializerEffectInstance() - Constructor for class net.darkhax.bookshelf.api.serialization.SerializerEffectInstance
- SerializerEnchantmentInstance - Class in net.darkhax.bookshelf.api.serialization
- SerializerEnum<T extends Enum<T>> - Class in net.darkhax.bookshelf.api.serialization
- SerializerEnum(Class<T>) - Constructor for class net.darkhax.bookshelf.api.serialization.SerializerEnum
- SerializerEnum(Class<T>, T) - Constructor for class net.darkhax.bookshelf.api.serialization.SerializerEnum
- SerializerFloat - Class in net.darkhax.bookshelf.api.serialization
- SerializerIngredient - Class in net.darkhax.bookshelf.api.serialization
- SerializerInteger - Class in net.darkhax.bookshelf.api.serialization
- SerializerItemStack - Class in net.darkhax.bookshelf.api.serialization
- SerializerLong - Class in net.darkhax.bookshelf.api.serialization
- SerializerRegistryEntry<T> - Class in net.darkhax.bookshelf.api.serialization
- SerializerRegistryEntry(Registry<T>) - Constructor for class net.darkhax.bookshelf.api.serialization.SerializerRegistryEntry
- SerializerResourceLocation - Class in net.darkhax.bookshelf.api.serialization
- Serializers - Class in net.darkhax.bookshelf.api.serialization
- Serializers() - Constructor for class net.darkhax.bookshelf.api.serialization.Serializers
- SerializerShort - Class in net.darkhax.bookshelf.api.serialization
- SerializerString - Class in net.darkhax.bookshelf.api.serialization
- SerializerTagKey<T> - Class in net.darkhax.bookshelf.api.serialization
- SerializerTagKey(Function<ResourceLocation, TagKey<T>>) - Constructor for class net.darkhax.bookshelf.api.serialization.SerializerTagKey
- SerializerText - Class in net.darkhax.bookshelf.api.serialization
- SerializerText() - Constructor for class net.darkhax.bookshelf.api.serialization.SerializerText
- SerializerUUID - Class in net.darkhax.bookshelf.api.serialization
- SerializerVector3f - Class in net.darkhax.bookshelf.api.serialization
- SerializerVector3f() - Constructor for class net.darkhax.bookshelf.api.serialization.SerializerVector3f
- SerializerVector4f - Class in net.darkhax.bookshelf.api.serialization
- SerializerVector4f() - Constructor for class net.darkhax.bookshelf.api.serialization.SerializerVector4f
- serializeToJson(SingletonArgumentInfo.Template<T>, JsonObject) - Method in class net.darkhax.bookshelf.api.commands.args.SingletonArgumentInfo
- serializeToNetwork(SingletonArgumentInfo.Template<T>, FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.commands.args.SingletonArgumentInfo
- SERVER - Enum constant in enum class net.darkhax.bookshelf.api.PhysicalSide
- Services - Class in net.darkhax.bookshelf.api
- Services() - Constructor for class net.darkhax.bookshelf.api.Services
- setChanged() - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- setCopyText(MutableComponent, String) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- setDuration(int) - Method in interface net.darkhax.bookshelf.mixin.accessors.effect.AccessorMobEffectInstance
- setHover(T, A, AT) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- setHover(T, Component) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- setHover(T, HoverEvent) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- setHover(T, Entity) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- setHover(T, ItemStack) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- setItem(int, ItemStack) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- setLore(ItemStack, Component...) - Static method in class net.darkhax.bookshelf.api.util.ItemStackHelper
- setPlacedBy(Level, BlockPos, BlockState, LivingEntity, ItemStack) - Method in class net.darkhax.bookshelf.api.block.InventoryBlock
- setRenderType(Block, RenderType) - Method in interface net.darkhax.bookshelf.api.util.IClientHelper
- ShapedDurabilityRecipe - Class in net.darkhax.bookshelf.impl.data.recipes.crafting
- ShapedDurabilityRecipe(ResourceLocation, String, CraftingBookCategory, int, int, NonNullList<Ingredient>, ItemStack, int) - Constructor for class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapedDurabilityRecipe
- ShapedDurabilityRecipe.Serializer - Class in net.darkhax.bookshelf.impl.data.recipes.crafting
- ShapelessDurabilityRecipe - Class in net.darkhax.bookshelf.impl.data.recipes.crafting
- ShapelessDurabilityRecipe(ResourceLocation, String, CraftingBookCategory, ItemStack, NonNullList<Ingredient>, int) - Constructor for class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapelessDurabilityRecipe
- ShapelessDurabilityRecipe.Serializer - Class in net.darkhax.bookshelf.impl.data.recipes.crafting
- SHORT - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- singleElementFromNBT(RegistryAccess, String) - Static method in class net.darkhax.bookshelf.api.util.StructureHelper
- singleElementFromNBT(RegistryAccess, ResourceKey<StructureProcessorList>, String) - Static method in class net.darkhax.bookshelf.api.util.StructureHelper
- singleElementFromNBT(RegistryAccess, ResourceKey<StructureProcessorList>, String, StructureTemplatePool.Projection) - Static method in class net.darkhax.bookshelf.api.util.StructureHelper
- singleton(T) - Static method in class net.darkhax.bookshelf.api.function.CachedSupplier
-
Creates a cached supplier that can only produce a single value.
- SingletonArgumentInfo<T extends com.mojang.brigadier.arguments.ArgumentType<?>> - Class in net.darkhax.bookshelf.api.commands.args
- SingletonArgumentInfo.Template<T extends com.mojang.brigadier.arguments.ArgumentType<?>> - Class in net.darkhax.bookshelf.api.commands.args
- SNBT - Enum constant in enum class net.darkhax.bookshelf.impl.commands.CommandHand.OutputType
- Sound - Class in net.darkhax.bookshelf.api.data.sound
- Sound(SoundEvent, SoundSource, float, float) - Constructor for class net.darkhax.bookshelf.api.data.sound.Sound
- SOUND - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- SOUND_CATEGORY - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- SOUND_EVENT - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- SOUND_EVENT_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- Sound.Serializer - Class in net.darkhax.bookshelf.api.data.sound
- sounds - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- soundTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- soundTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- STACK_JSON - Enum constant in enum class net.darkhax.bookshelf.impl.commands.CommandHand.OutputType
- startOpen(Player) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- STAT_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- stats - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- statTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- statTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- stillValid(Player) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- stopOpen(Player) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
- STRING - Enum constant in enum class net.darkhax.bookshelf.impl.commands.CommandHand.OutputType
- STRING - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- STRUCTURE_POOL_ELEMENT - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- StructureHelper - Class in net.darkhax.bookshelf.api.util
- StructureHelper() - Constructor for class net.darkhax.bookshelf.api.util.StructureHelper
T
- TabBuilder - Class in net.darkhax.bookshelf.api.item.tab
- TabBuilder(CreativeModeTab.Builder) - Constructor for class net.darkhax.bookshelf.api.item.tab.TabBuilder
- TableBuilder<T> - Class in net.darkhax.bookshelf.api.lib
- TableBuilder() - Constructor for class net.darkhax.bookshelf.api.lib.TableBuilder
- TableBuilder.TableColumn<T> - Class in net.darkhax.bookshelf.api.lib
- TableColumn(String, Function<T, Object>) - Constructor for class net.darkhax.bookshelf.api.lib.TableBuilder.TableColumn
- tag(ResourceKey<? extends Registry<T>>, ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- tag(ResourceKey<? extends Registry<T>>, ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- TagHelperVanilla - Class in net.darkhax.bookshelf.impl.data
- TagHelperVanilla() - Constructor for class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- TAGS - Enum constant in enum class net.darkhax.bookshelf.impl.commands.CommandHand.OutputType
- TAGS - Static variable in class net.darkhax.bookshelf.api.Services
- Template(Supplier<T>, ArgumentTypeInfo<T, ?>) - Constructor for class net.darkhax.bookshelf.api.commands.args.SingletonArgumentInfo.Template
- test() - Method in interface net.darkhax.bookshelf.api.data.conditions.ILoadCondition
-
Tests if the condition has been met or not.
- test(LootContext, CallbackInfoReturnable<Boolean>) - Method in class net.darkhax.bookshelf.mixin.patches.loot.MixinLootItemKilledByPlayerCondition
-
This patch allows mobs that were killed with Bookshelfs fake player damage to satisfy the minecraft:killed_by_player loot condition.
- testBytebufEmptyOptionalSingleton(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testBytebufList(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testBytebufNullable(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testBytebufOptionalSingleton(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testBytebufSet(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testBytebufSingleton(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testBytebufWeightedList(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testBytebufWeightedSingleton(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testFrom(Collection<TestFunction>, T) - Static method in class net.darkhax.bookshelf.impl.gametest.BookshelfGameTests
-
Generates tests from a pre-instantiated instance of a class.
- testJsonEmptyOptionalSingleton(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testJsonList(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testJsonListEmpty(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testJsonListNull(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testJsonNullable(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testJsonOptionalSingleton(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testJsonSet(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testJsonSingleton(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testJsonWeightedList(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testJsonWeightedSingleton(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testNbtList(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- testNbtSingleton(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.TestSerialization
- TestSerialization<T> - Class in net.darkhax.bookshelf.impl.gametest
- TestSerialization(String, ISerializer<T>, BiPredicate<T, T>, T...) - Constructor for class net.darkhax.bookshelf.impl.gametest.TestSerialization
- TestSerialization(String, ISerializer<T>, BiPredicate<T, T>, T, T...) - Constructor for class net.darkhax.bookshelf.impl.gametest.TestSerialization
- TestSerialization(String, ISerializer<T>, T...) - Constructor for class net.darkhax.bookshelf.impl.gametest.TestSerialization
- TEXT - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- TextHelper - Class in net.darkhax.bookshelf.api.util
- TextHelper() - Constructor for class net.darkhax.bookshelf.api.util.TextHelper
- textWithCopy(String) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
- title(Component) - Method in interface net.darkhax.bookshelf.api.item.tab.ITabBuilder
- title(Component) - Method in class net.darkhax.bookshelf.api.item.tab.TabBuilder
- toByteBuf(FriendlyByteBuf, Boolean) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBoolean
- toByteBuf(FriendlyByteBuf, Byte) - Method in class net.darkhax.bookshelf.api.serialization.SerializerByte
- toByteBuf(FriendlyByteBuf, Double) - Method in class net.darkhax.bookshelf.api.serialization.SerializerDouble
- toByteBuf(FriendlyByteBuf, Float) - Method in class net.darkhax.bookshelf.api.serialization.SerializerFloat
- toByteBuf(FriendlyByteBuf, Integer) - Method in class net.darkhax.bookshelf.api.serialization.SerializerInteger
- toByteBuf(FriendlyByteBuf, Long) - Method in class net.darkhax.bookshelf.api.serialization.SerializerLong
- toByteBuf(FriendlyByteBuf, Short) - Method in class net.darkhax.bookshelf.api.serialization.SerializerShort
- toByteBuf(FriendlyByteBuf, String) - Method in class net.darkhax.bookshelf.api.serialization.SerializerString
- toByteBuf(FriendlyByteBuf, UUID) - Method in class net.darkhax.bookshelf.api.serialization.SerializerUUID
- toByteBuf(FriendlyByteBuf, Sound) - Method in class net.darkhax.bookshelf.api.data.sound.Sound.Serializer
- toByteBuf(FriendlyByteBuf, BlockPos) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBlockPos
- toByteBuf(FriendlyByteBuf, CompoundTag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerCompoundTag
- toByteBuf(FriendlyByteBuf, Component) - Method in class net.darkhax.bookshelf.api.serialization.SerializerText
- toByteBuf(FriendlyByteBuf, ResourceLocation) - Method in class net.darkhax.bookshelf.api.serialization.SerializerResourceLocation
- toByteBuf(FriendlyByteBuf, TagKey<T>) - Method in class net.darkhax.bookshelf.api.serialization.SerializerTagKey
- toByteBuf(FriendlyByteBuf, MobEffectInstance) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEffectInstance
- toByteBuf(FriendlyByteBuf, AttributeModifier) - Method in class net.darkhax.bookshelf.api.serialization.SerializerAttributeModifier
- toByteBuf(FriendlyByteBuf, Ingredient) - Method in class net.darkhax.bookshelf.api.serialization.SerializerIngredient
- toByteBuf(FriendlyByteBuf, EnchantmentInstance) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEnchantmentInstance
- toByteBuf(FriendlyByteBuf, ItemStack) - Method in class net.darkhax.bookshelf.api.serialization.SerializerItemStack
- toByteBuf(FriendlyByteBuf, BlockState) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBlockState
- toByteBuf(FriendlyByteBuf, Vector3f) - Method in class net.darkhax.bookshelf.api.serialization.SerializerVector3f
- toByteBuf(FriendlyByteBuf, Vector4f) - Method in class net.darkhax.bookshelf.api.serialization.SerializerVector4f
- toByteBuf(FriendlyByteBuf, T) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes a value to a byte buffer.
- toByteBuf(FriendlyByteBuf, T) - Method in class net.darkhax.bookshelf.api.serialization.SerializerCodec
- toByteBuf(FriendlyByteBuf, T) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEnum
- toByteBuf(FriendlyByteBuf, T) - Method in class net.darkhax.bookshelf.api.serialization.SerializerRegistryEntry
- toByteBufList(FriendlyByteBuf, List<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes a list of values to a byte buffer.
- toByteBufNullable(FriendlyByteBuf, T) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- toByteBufOptional(FriendlyByteBuf, Optional<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes an optional value to the byte buffer.
- toByteBufWeighted(FriendlyByteBuf, WeightedEntry.Wrapper<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes a weighted wrapped value to a byte buffer.
- toByteBufWeightedList(FriendlyByteBuf, SimpleWeightedRandomList<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes a list of weighted wrapped entries to a byte buffer.
- toJSON(JsonObject, String, T) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- toJSON(Boolean) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBoolean
- toJSON(Byte) - Method in class net.darkhax.bookshelf.api.serialization.SerializerByte
- toJSON(Double) - Method in class net.darkhax.bookshelf.api.serialization.SerializerDouble
- toJSON(Float) - Method in class net.darkhax.bookshelf.api.serialization.SerializerFloat
- toJSON(Integer) - Method in class net.darkhax.bookshelf.api.serialization.SerializerInteger
- toJSON(Long) - Method in class net.darkhax.bookshelf.api.serialization.SerializerLong
- toJSON(Short) - Method in class net.darkhax.bookshelf.api.serialization.SerializerShort
- toJSON(String) - Method in class net.darkhax.bookshelf.api.serialization.SerializerString
- toJSON(UUID) - Method in class net.darkhax.bookshelf.api.serialization.SerializerUUID
- toJSON(Sound) - Method in class net.darkhax.bookshelf.api.data.sound.Sound.Serializer
- toJSON(BlockPos) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBlockPos
- toJSON(CompoundTag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerCompoundTag
- toJSON(Component) - Method in class net.darkhax.bookshelf.api.serialization.SerializerText
- toJSON(ResourceLocation) - Method in class net.darkhax.bookshelf.api.serialization.SerializerResourceLocation
- toJSON(TagKey<T>) - Method in class net.darkhax.bookshelf.api.serialization.SerializerTagKey
- toJSON(MobEffectInstance) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEffectInstance
- toJSON(AttributeModifier) - Method in class net.darkhax.bookshelf.api.serialization.SerializerAttributeModifier
- toJSON(Ingredient) - Method in class net.darkhax.bookshelf.api.serialization.SerializerIngredient
- toJSON(EnchantmentInstance) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEnchantmentInstance
- toJSON(ItemStack) - Method in class net.darkhax.bookshelf.api.serialization.SerializerItemStack
- toJSON(BlockState) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBlockState
- toJSON(Vector3f) - Method in class net.darkhax.bookshelf.api.serialization.SerializerVector3f
- toJSON(Vector4f) - Method in class net.darkhax.bookshelf.api.serialization.SerializerVector4f
- toJSON(T) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes a value to a JSON element.
- toJSON(T) - Method in class net.darkhax.bookshelf.api.serialization.SerializerCodec
- toJSON(T) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEnum
- toJSON(T) - Method in class net.darkhax.bookshelf.api.serialization.SerializerRegistryEntry
- toJSONList(JsonObject, String, List<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes a list of values to a JSON object, if the list is null or empty it will be ignored.
- toJSONList(List<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes a list of values to a JSON element.
- toJSONNullable(JsonObject, String, T) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- toJSONNullable(T) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- toJSONOptional(JsonObject, String, Optional<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Write an optional value to a JSON object.
- toJSONOptional(Optional<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes an optional value to a JSON element.
- toJSONOptional(T) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes an optional value to a JSON element.
- toJSONSet(Set<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes a set of values to a JSON element.
- toJSONString(T) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes the value to a string representation of a JSON element.
- toJSONWeighted(WeightedEntry.Wrapper<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes a weighted entry to a JSON element.
- toJSONWeightedList(SimpleWeightedRandomList<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes a list of weighted wrapped entries to JSON.
- toList(Container) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
-
Creates a list view of a Container's inventory contents.
- toNBT(Boolean) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBoolean
- toNBT(Byte) - Method in class net.darkhax.bookshelf.api.serialization.SerializerByte
- toNBT(Double) - Method in class net.darkhax.bookshelf.api.serialization.SerializerDouble
- toNBT(Float) - Method in class net.darkhax.bookshelf.api.serialization.SerializerFloat
- toNBT(Integer) - Method in class net.darkhax.bookshelf.api.serialization.SerializerInteger
- toNBT(Long) - Method in class net.darkhax.bookshelf.api.serialization.SerializerLong
- toNBT(Short) - Method in class net.darkhax.bookshelf.api.serialization.SerializerShort
- toNBT(String) - Method in class net.darkhax.bookshelf.api.serialization.SerializerString
- toNBT(UUID) - Method in class net.darkhax.bookshelf.api.serialization.SerializerUUID
- toNBT(Sound) - Method in class net.darkhax.bookshelf.api.data.sound.Sound.Serializer
- toNBT(BlockPos) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBlockPos
- toNBT(CompoundTag) - Method in class net.darkhax.bookshelf.api.serialization.SerializerCompoundTag
- toNBT(CompoundTag, String, T) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- toNBT(Component) - Method in class net.darkhax.bookshelf.api.serialization.SerializerText
- toNBT(ResourceLocation) - Method in class net.darkhax.bookshelf.api.serialization.SerializerResourceLocation
- toNBT(TagKey<T>) - Method in class net.darkhax.bookshelf.api.serialization.SerializerTagKey
- toNBT(MobEffectInstance) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEffectInstance
- toNBT(AttributeModifier) - Method in class net.darkhax.bookshelf.api.serialization.SerializerAttributeModifier
- toNBT(Ingredient) - Method in class net.darkhax.bookshelf.api.serialization.SerializerIngredient
- toNBT(EnchantmentInstance) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEnchantmentInstance
- toNBT(ItemStack) - Method in class net.darkhax.bookshelf.api.serialization.SerializerItemStack
- toNBT(BlockState) - Method in class net.darkhax.bookshelf.api.serialization.SerializerBlockState
- toNBT(Vector3f) - Method in class net.darkhax.bookshelf.api.serialization.SerializerVector3f
- toNBT(Vector4f) - Method in class net.darkhax.bookshelf.api.serialization.SerializerVector4f
- toNBT(T) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes a value to a named binary tag (NBT).
- toNBT(T) - Method in class net.darkhax.bookshelf.api.serialization.SerializerCodec
- toNBT(T) - Method in class net.darkhax.bookshelf.api.serialization.SerializerEnum
- toNBT(T) - Method in class net.darkhax.bookshelf.api.serialization.SerializerRegistryEntry
- toNBTList(List<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- toNBTList(CompoundTag, String, List<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
- toNetwork(FriendlyByteBuf, ShapedDurabilityRecipe) - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapedDurabilityRecipe.Serializer
- toNetwork(FriendlyByteBuf, ShapelessDurabilityRecipe) - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapelessDurabilityRecipe.Serializer
- toString() - Method in class net.darkhax.bookshelf.api.lib.TableBuilder
- trades - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- TriConsumer<P1,
P2, P3> - Interface in net.darkhax.bookshelf.api.function - tryPercentage(double) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
-
A method which handles the calculating of percentages.
- type() - Method in class net.darkhax.bookshelf.api.commands.args.SingletonArgumentInfo.Template
U
- unpack(T) - Method in class net.darkhax.bookshelf.api.commands.args.SingletonArgumentInfo
- updateBlockEntity(BlockEntity) - Static method in class net.darkhax.bookshelf.api.util.WorldHelper
- updateBlockEntity(BlockEntity, boolean) - Static method in class net.darkhax.bookshelf.api.util.WorldHelper
- updateSlot(int, ItemStack) - Method in class net.darkhax.bookshelf.api.inventory.ContainerInventoryAccess
- UUID - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
V
- valueOf(String) - Static method in enum class net.darkhax.bookshelf.api.entity.merchant.MerchantTier
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.darkhax.bookshelf.api.event.IEventHelper.Ordering
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.darkhax.bookshelf.api.PhysicalSide
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.darkhax.bookshelf.impl.commands.CommandHand.OutputType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.darkhax.bookshelf.api.entity.merchant.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.api.event.IEventHelper.Ordering
-
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.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.impl.commands.CommandHand.OutputType
-
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.api.serialization.Serializers
- VECTOR_4F - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- VILLAGER_PROFESSION - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- VILLAGER_PROFESSION_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- VILLAGER_TYPE - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- VILLAGER_TYPE_TAG - Static variable in class net.darkhax.bookshelf.api.serialization.Serializers
- VillagerBuys - Class in net.darkhax.bookshelf.api.entity.merchant.trade
- VillagerBuys(Supplier<ItemStack>, int, int, int, float) - Constructor for class net.darkhax.bookshelf.api.entity.merchant.trade.VillagerBuys
- villagerProfessions - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- villagerProfessionTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- villagerProfessionTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
- VillagerSells - Class in net.darkhax.bookshelf.api.entity.merchant.trade
- VillagerSells(Supplier<ItemStack>, int, int, int, float) - Constructor for class net.darkhax.bookshelf.api.entity.merchant.trade.VillagerSells
- VillagerTradeEntries - Class in net.darkhax.bookshelf.api.registry
- VillagerTradeEntries() - Constructor for class net.darkhax.bookshelf.api.registry.VillagerTradeEntries
- villagerTypeTag(ResourceLocation) - Method in interface net.darkhax.bookshelf.api.data.ITagHelper
- villagerTypeTag(ResourceLocation) - Method in class net.darkhax.bookshelf.impl.data.TagHelperVanilla
W
- withAutoItemBlocks() - Method in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- withItemTab(Supplier<ItemStack>) - Method in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
- WorldHelper - Class in net.darkhax.bookshelf.api.util
- WorldHelper() - Constructor for class net.darkhax.bookshelf.api.util.WorldHelper
- WorldlyContainerInventoryAccess<T extends net.minecraft.world.WorldlyContainer> - Class in net.darkhax.bookshelf.api.inventory
- WorldlyContainerInventoryAccess(T) - Constructor for class net.darkhax.bookshelf.api.inventory.WorldlyContainerInventoryAccess
- WorldlyInventoryBlockEntity<T extends net.minecraft.world.Container> - Class in net.darkhax.bookshelf.api.block.entity
-
An implementation of InventoryBlockEntity that allows the inventory to be externally accessed by stuff like hoppers.
- WorldlyInventoryBlockEntity(BlockEntityType, BlockPos, BlockState) - Constructor for class net.darkhax.bookshelf.api.block.entity.WorldlyInventoryBlockEntity
- wrapDisplayGen(IDisplayGenerator) - Method in interface net.darkhax.bookshelf.api.util.IConstructHelper
- writeByteBufSet(FriendlyByteBuf, Set<T>) - Method in interface net.darkhax.bookshelf.api.serialization.ISerializer
-
Writes a set of values from a byte buffer.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form