Index

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

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
 
AccessorAttributeModifier - Interface in net.darkhax.bookshelf.mixin.accessors.entity
 
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
 
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
 
ACTIVITY - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ACTIVITY - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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
 
addContextListener(Class<T>, CTX, CTX2, CTX3, QuadConsumer<T, CTX, CTX2, CTX3>) - Static method in class net.darkhax.bookshelf.impl.util.NeoForgeEventHelper
 
addContextListener(Class<T>, CTX, CTX2, TriConsumer<T, CTX, CTX2>) - Static method in class net.darkhax.bookshelf.impl.util.NeoForgeEventHelper
 
addContextListener(Class<T>, CTX, BiConsumer<T, CTX>) - Static method in class net.darkhax.bookshelf.impl.util.NeoForgeEventHelper
 
addContextListener(Class<T>, EventPriority, boolean, CTX, CTX2, CTX3, QuadConsumer<T, CTX, CTX2, CTX3>) - Static method in class net.darkhax.bookshelf.impl.util.NeoForgeEventHelper
 
addContextListener(Class<T>, EventPriority, boolean, CTX, CTX2, TriConsumer<T, CTX, CTX2>) - Static method in class net.darkhax.bookshelf.impl.util.NeoForgeEventHelper
 
addContextListener(Class<T>, EventPriority, boolean, CTX, BiConsumer<T, CTX>) - Static method in class net.darkhax.bookshelf.impl.util.NeoForgeEventHelper
 
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
 
addFarmlandTrampleListener(IFarmlandTrampleListener, IEventHelper.Ordering) - Method in class net.darkhax.bookshelf.impl.event.EventHelperNeoForge
 
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
 
addItemAttributeListener(IItemAttributeEvent.Listener, IEventHelper.Ordering) - Method in class net.darkhax.bookshelf.impl.event.EventHelperNeoForge
 
addItemTooltipListener(IItemTooltipEvent) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
 
addItemTooltipListener(IItemTooltipEvent, IEventHelper.Ordering) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
 
addItemTooltipListener(IItemTooltipEvent, IEventHelper.Ordering) - Method in class net.darkhax.bookshelf.impl.event.EventHelperNeoForge
 
addItemUseTickListener(IItemUseTickEvent) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
 
addItemUseTickListener(IItemUseTickEvent, IEventHelper.Ordering) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
 
addItemUseTickListener(IItemUseTickEvent, IEventHelper.Ordering) - Method in class net.darkhax.bookshelf.impl.event.EventHelperNeoForge
 
addLore(Component...) - Method in class net.darkhax.bookshelf.api.item.ItemStackBuilder
 
addModifier(Attribute, AttributeModifier) - Method in interface net.darkhax.bookshelf.api.event.item.IItemAttributeEvent
 
addModifier(Attribute, AttributeModifier) - Method in class net.darkhax.bookshelf.impl.event.NeoForgeItemAttributeEvent
 
addPlayerWakeUpListener(IPlayerWakeUpEvent) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
 
addPlayerWakeUpListener(IPlayerWakeUpEvent, IEventHelper.Ordering) - Method in interface net.darkhax.bookshelf.api.event.IEventHelper
 
addPlayerWakeUpListener(IPlayerWakeUpEvent, IEventHelper.Ordering) - Method in class net.darkhax.bookshelf.impl.event.EventHelperNeoForge
 
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
 
addRecipeSyncListener(IRecipeSyncEvent, IEventHelper.Ordering) - Method in class net.darkhax.bookshelf.impl.event.EventHelperNeoForge
 
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
 
allowLoading() - Method in interface net.darkhax.bookshelf.api.data.conditions.ILoadCondition
Tests if the condition has been met or not.
allowLoading() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.And
 
allowLoading() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.ModLoaded
 
allowLoading() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.Not
 
allowLoading() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.OnPlatform
 
allowLoading() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.Or
 
allowLoading() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.SpecificRegistryContains
 
alternatives(Codec<T>, Codec<T>, Function<T, Either<T, T>>) - Static method in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
And - Class in net.darkhax.bookshelf.api.data.conditions.impl
 
AND - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
andThen(Function<? super R, ? extends R>) - Method in interface net.darkhax.bookshelf.api.function.TriFunction
 
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.
apply(P1, P2, P3) - Method in interface net.darkhax.bookshelf.api.function.TriFunction
 
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
 
areCollectionTagsEquivalent(CollectionTag<?>, CollectionTag<?>) - Static method in class net.darkhax.bookshelf.api.util.ItemStackHelper
 
areCompoundTagsEquivalent(CompoundTag, CompoundTag) - Static method in class net.darkhax.bookshelf.api.util.ItemStackHelper
 
areEntitiesCloseEnough(Entity, Entity, double) - Static method in class net.darkhax.bookshelf.api.util.EntityHelper
Checks if two entities are close enough together.
areNumericTagsEquivalent(NumericTag, NumericTag) - Static method in class net.darkhax.bookshelf.api.util.ItemStackHelper
 
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
 
areTagsEquivalent(Tag, Tag) - 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
 
ARGUMENT_TYPE_INFO_CODEC_HELPER - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ARGUMENT_TYPE_INFO_CODEC_HELPER - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
ARMOR_MATERIAL - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ARMOR_MATERIAL - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
assemble(C, RegistryAccess) - Method in class net.darkhax.bookshelf.api.data.recipes.RecipeBaseData
 
assertEqual(GameTestHelper, Iterable<T>, Iterable<T>) - Static method in class net.darkhax.bookshelf.impl.gametest.TestHelper
 
assertEqual(GameTestHelper, Iterable<T>, Iterable<T>, BiPredicate<T, T>) - Static method in class net.darkhax.bookshelf.impl.gametest.TestHelper
 
assertEqual(GameTestHelper, Optional<T>, Optional<T>, BiPredicate<T, T>) - Static method in class net.darkhax.bookshelf.impl.gametest.TestHelper
 
assertEqual(GameTestHelper, SimpleWeightedRandomList<T>, SimpleWeightedRandomList<T>) - Static method in class net.darkhax.bookshelf.impl.gametest.TestHelper
 
assertEqual(GameTestHelper, SimpleWeightedRandomList<T>, SimpleWeightedRandomList<T>, BiPredicate<T, T>) - Static method in class net.darkhax.bookshelf.impl.gametest.TestHelper
 
assertEqual(GameTestHelper, WeightedEntry.Wrapper<T>, WeightedEntry.Wrapper<T>, BiPredicate<T, T>) - Static method in class net.darkhax.bookshelf.impl.gametest.TestHelper
 
assertEqual(GameTestHelper, T[], T[], BiPredicate<T, T>) - Static method in class net.darkhax.bookshelf.impl.gametest.TestHelper
 
assertEqual(TagKey<T>, TagKey<T>) - Static method in class net.darkhax.bookshelf.impl.gametest.TestHelper
 
assertEqual(Ingredient, Ingredient) - Static method in class net.darkhax.bookshelf.impl.gametest.TestHelper
 
assertEqual(EnchantmentInstance, EnchantmentInstance) - Static method in class net.darkhax.bookshelf.impl.gametest.TestHelper
 
ATTRIBUTE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ATTRIBUTE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
ATTRIBUTE_EXISTS - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
ATTRIBUTE_MODIFIER - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ATTRIBUTE_MODIFIER - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
ATTRIBUTE_OPERATION - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ATTRIBUTE_OPERATION - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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
 
awardAdvancement(ServerPlayer, ResourceLocation) - Static method in class net.darkhax.bookshelf.api.util.PlayerHelper
 
AXIS - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
AXIS - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 

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.data.bytebuf.BookshelfByteBufs
 
BANNER_PATTERN - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
bannerPatterns - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
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
 
BLOCK - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
BLOCK - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
BLOCK_ENTITY_EXISTS - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
BLOCK_ENTITY_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
BLOCK_ENTITY_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
BLOCK_EXISTS - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
BLOCK_POS - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
BLOCK_POS - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
BLOCK_PREDICATE_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
BLOCK_PREDICATE_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
BLOCK_STATE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
BLOCK_STATE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
BLOCK_STATE_MAP_CODEC - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
blockEntities - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
blockEntityType(Class<T>, BiFunction<BlockPos, BlockState, T>, Supplier<Collection<Block>>) - Method in interface net.darkhax.bookshelf.api.util.IConstructHelper
 
blockEntityType(Class<T>, BiFunction<BlockPos, BlockState, T>, Block...) - Method in interface net.darkhax.bookshelf.api.util.IConstructHelper
 
blockEntityType(Class<T>, BiFunction<BlockPos, BlockState, T>, Block...) - Method in class net.darkhax.bookshelf.impl.util.ConstructHelperNeoForge
 
blocks - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
BLOCKSTATE_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
BLOCKSTATE_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
bookshelf$createHoverEvent() - Method in interface net.darkhax.bookshelf.mixin.accessors.entity.AccessorEntity
 
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$getName() - Method in interface net.darkhax.bookshelf.mixin.accessors.entity.AccessorAttributeModifier
 
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$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$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$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$tickDownDuration() - Method in interface net.darkhax.bookshelf.mixin.accessors.effect.AccessorMobEffectInstance
 
BookshelfByteBufs - Class in net.darkhax.bookshelf.api.data.bytebuf
 
BookshelfByteBufs() - Constructor for class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
BookshelfCodecs - Class in net.darkhax.bookshelf.api.data.codecs
 
BookshelfCodecs() - Constructor for class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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
 
BookshelfForgeGameTests - Class in net.darkhax.bookshelf.impl.gametest
 
BookshelfForgeGameTests() - Constructor for class net.darkhax.bookshelf.impl.gametest.BookshelfForgeGameTests
 
BookshelfGameTests - Class in net.darkhax.bookshelf.impl.gametest
 
BookshelfGameTests() - Constructor for class net.darkhax.bookshelf.impl.gametest.BookshelfGameTests
 
BookshelfNeoForge - Class in net.darkhax.bookshelf
 
BookshelfNeoForge(IEventBus) - Constructor for class net.darkhax.bookshelf.BookshelfNeoForge
 
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.data.bytebuf.BookshelfByteBufs
 
BOOLEAN - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
broadcast(ServerLevel, ChunkPos, Packet<?>, boolean) - Static method in class net.darkhax.bookshelf.api.util.WorldHelper
 
bufHelper - Variable in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
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.data.bytebuf.BookshelfByteBufs
 
BYTE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
ByteBufHelper<T> - Class in net.darkhax.bookshelf.api.data.bytebuf
Logic for serializing data using a byte buffer.
ByteBufHelper(Function<FriendlyByteBuf, T>, BiConsumer<FriendlyByteBuf, T>, T...) - Constructor for class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
 
ByteBufTests<T> - Class in net.darkhax.bookshelf.impl.gametest.tests
 
ByteBufTests(String, ByteBufHelper<T>, BiPredicate<T, T>, T...) - Constructor for class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
ByteBufTests(String, ByteBufHelper<T>, BiPredicate<T, T>, T, T...) - Constructor for class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
ByteBufTests(String, ByteBufHelper<T>, T...) - Constructor for class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 

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.
canItemsStack(ItemStack, ItemStack) - Method in class net.darkhax.bookshelf.impl.util.InventoryHelperNeoForge
 
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
 
CARVER - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
CARVER - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
cast() - Method in class net.darkhax.bookshelf.api.function.CachedSupplier
Performs an unsafe cast to the expected type.
CAT_VARIANT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
CAT_VARIANT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
chargeExperiencePoints(Player, int) - Static method in class net.darkhax.bookshelf.api.util.ExperienceHelper
Attempts to charge the player an experience point cost.
CHUNK_STATUS - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
CHUNK_STATUS - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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
 
clearModifiers() - Method in class net.darkhax.bookshelf.impl.event.NeoForgeItemAttributeEvent
 
CLIENT - Enum constant in enum class net.darkhax.bookshelf.api.PhysicalSide
 
CLIENT - Static variable in class net.darkhax.bookshelf.api.ClientServices
 
ClientHelperNeoForge - Class in net.darkhax.bookshelf.impl.util
 
ClientHelperNeoForge() - Constructor for class net.darkhax.bookshelf.impl.util.ClientHelperNeoForge
 
ClientServices - Class in net.darkhax.bookshelf.api
 
ClientServices() - Constructor for class net.darkhax.bookshelf.api.ClientServices
 
codec() - Method in record class net.darkhax.bookshelf.api.data.conditions.LoadConditions.ConditionType
Returns the value of the codec record component.
codec() - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapedDurabilityRecipe.Serializer
 
codec() - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapelessDurabilityRecipe.Serializer
 
CODEC - Static variable in class net.darkhax.bookshelf.api.data.conditions.impl.And
 
CODEC - Static variable in class net.darkhax.bookshelf.api.data.conditions.impl.ModLoaded
 
CODEC - Static variable in class net.darkhax.bookshelf.api.data.conditions.impl.Not
 
CODEC - Static variable in class net.darkhax.bookshelf.api.data.conditions.impl.OnPlatform
 
CODEC - Static variable in class net.darkhax.bookshelf.api.data.conditions.impl.Or
 
CODEC - Static variable in class net.darkhax.bookshelf.api.data.sound.Sound
 
CODEC - Static variable in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapedDurabilityRecipe.Serializer
 
CODEC_HELPER - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
CODEC_OBJECT - Static variable in class net.darkhax.bookshelf.api.data.sound.Sound
 
CODEC_SIMPLE - Static variable in class net.darkhax.bookshelf.api.data.sound.Sound
 
codecHelper - Variable in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
CodecHelper<T> - Class in net.darkhax.bookshelf.api.data.codecs
A CodecHelper wraps a Codec to provide a large amount of helpers and utilities to make working with the Codec easier and more flexible.
CodecHelper(Codec<T>, T...) - Constructor for class net.darkhax.bookshelf.api.data.codecs.CodecHelper
 
CodecTests<T> - Class in net.darkhax.bookshelf.impl.gametest.tests
 
CodecTests(String, CodecHelper<T>, BiPredicate<T, T>, T...) - Constructor for class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
CodecTests(String, CodecHelper<T>, BiPredicate<T, T>, T, T...) - Constructor for class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
CodecTests(String, CodecHelper<T>, T...) - Constructor for class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
collection - Variable in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
collection - Variable in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
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.data.bytebuf.BookshelfByteBufs
 
COMPOUND_TAG - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
CONDITION_CODEC - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
ConditionType(ResourceLocation, Codec<? extends ILoadCondition>) - Constructor for record class net.darkhax.bookshelf.api.data.conditions.LoadConditions.ConditionType
Creates an instance of a ConditionType record class.
Constants - Class in net.darkhax.bookshelf
 
Constants() - Constructor for class net.darkhax.bookshelf.Constants
 
ConstructHelperNeoForge - Class in net.darkhax.bookshelf.impl.util
 
ConstructHelperNeoForge() - Constructor for class net.darkhax.bookshelf.impl.util.ConstructHelperNeoForge
 
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
 
ContentLoaderNeoForge - Class in net.darkhax.bookshelf.impl.registry
 
ContentLoaderNeoForge() - Constructor for class net.darkhax.bookshelf.impl.registry.ContentLoaderNeoForge
 
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
 
CREATIVE_MODE_TAB - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
CREATIVE_MODE_TAB - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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
 
CUSTOM_STAT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
CUSTOM_STAT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 

D

damageStack(ItemStack, int, LivingEntity, EquipmentSlot) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
Damages an ItemStack by a set amount.
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.
DECORATED_POT_PATTERNS - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
DECORATED_POT_PATTERNS - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
DEFAULT - Enum constant in enum class net.darkhax.bookshelf.api.event.IEventHelper.Ordering
 
DEFAULT - Static variable in interface net.darkhax.bookshelf.api.block.IItemBlockProvider
 
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
 
DIFFICULTY - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
DIFFICULTY - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
DIRECTION - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
DIRECTION - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
dispatchFallback(Codec<T>, Function<V, T>, Function<T, Codec<V>>, Supplier<Codec<V>>) - Static method in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
Creates a dispatch codec that will deserialize a value based on the serializer type defined by an optional property.
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.data.bytebuf.BookshelfByteBufs
 
DOUBLE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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.data.bytebuf.BookshelfByteBufs
 
DYE_COLOR - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 

E

EFFECT_INSTANCE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
EFFECT_INSTANCE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
EFFECT_INSTANCE_WITH_HIDDEN - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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.data.bytebuf.BookshelfByteBufs
 
ENCHANTMENT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
ENCHANTMENT_CATEGORY - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ENCHANTMENT_CATEGORY - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
ENCHANTMENT_EXISTS - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
ENCHANTMENT_INSTANCE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ENCHANTMENT_INSTANCE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
ENCHANTMENT_RARITY - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ENCHANTMENT_RARITY - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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
 
entities - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
ENTITY_EXISTS - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
ENTITY_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ENTITY_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
EntityHelper - Class in net.darkhax.bookshelf.api.util
 
EntityHelper() - Constructor for class net.darkhax.bookshelf.api.util.EntityHelper
 
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
 
enumerable(Class<T>) - Static method in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
enumerable(Class<T>) - Static method in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
Creates a Codec that handles enum values by using their enum constant names.
equality - Variable in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
equality - Variable in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
equals(Object) - Method in record class net.darkhax.bookshelf.api.data.conditions.LoadConditions.ConditionType
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.darkhax.bookshelf.api.data.sound.Sound
 
EQUIPMENT_SLOT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
EQUIPMENT_SLOT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
EventHelperNeoForge - Class in net.darkhax.bookshelf.impl.event
 
EventHelperNeoForge() - Constructor for class net.darkhax.bookshelf.impl.event.EventHelperNeoForge
 
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
 
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
 
extract(int, int, Direction, boolean) - Method in class net.darkhax.bookshelf.impl.inventory.ItemHandlerInventoryAccess
 

F

FAKE_PLAYER - Static variable in class net.darkhax.bookshelf.api.data.BookshelfTags.DamageTypes
 
fallback(Codec<T>, String, Supplier<T>) - Static method in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
Creates a Codec that will use a fallback value if no other value is specified.
fallback(Codec<T>, String, Supplier<T>, boolean) - Static method in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
Creates a Codec that will use a fallback value if no other value is specified.
FEATURE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
FEATURE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
FEATURE_SIZE_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
FEATURE_SIZE_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
fill(Container, NonNullList<ItemStack>) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
Fills an inventory with a list of ItemStack.
flexibleArray(Codec<T>, IntFunction<T[]>) - Static method in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
Creates a Codec that can flexibly read both individual values and arrays of values as an array.
flexibleList(Codec<T>) - Static method in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
Creates a Codec that can flexibly read individual values as a list in addition to traditional lists.
flexibleSet(Codec<T>) - Static method in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
Creates a Codec that can flexibly read both individual values and arrays of values as a set.
FLOAT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
FLOAT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
FLOAT_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
FLOAT_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
FLUID - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
FLUID - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
fluids - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
FOLIAGE_PLACER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
FOLIAGE_PLACER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
FONT_ALT - Static variable in class net.darkhax.bookshelf.api.util.TextHelper
A constant reference to the ID of the alt font.
FONT_DEFAULT - Static variable in class net.darkhax.bookshelf.api.util.TextHelper
A constant reference to the ID of the default Minecraft font.
FONT_ILLAGER - Static variable in class net.darkhax.bookshelf.api.util.TextHelper
A constant reference to the ID of the illager font.
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
A constant reference to the ID of the uniform font.
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
 
formatCollection(Collection<T>) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Formats a collection of values to a string using Object.toString().
formatCollection(Collection<T>, Function<T, String>, String) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Formats a collection of values to a string.
FROG_VARIANT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
FROG_VARIANT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
fromByteBuf(FriendlyByteBuf) - Static method in class net.darkhax.bookshelf.api.data.sound.Sound
 
fromJson(GameTestHelper, Codec<DT>, JsonElement) - Static method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
fromJson(GameTestHelper, MapCodec<DT>, JsonElement) - Static method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
fromNetwork(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapedDurabilityRecipe.Serializer
 
fromNetwork(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapelessDurabilityRecipe.Serializer
 

G

GAME_EVENT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
GAME_EVENT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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.data.codecs.CodecHelper
Gets a codec that can read and write single instances of the element.
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, Function<O, T>) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field of this type in a RecordCodecBuilder.
get(String, Function<O, T>, T) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field of this type in a RecordCodecBuilder.
get(ItemStack) - Static method in interface net.darkhax.bookshelf.api.item.IEquippable
 
getArray() - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
Gets a codec that can read and write an array.
getArray(String, Function<O, T[]>) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field for an array of this type in a RecordCodecBuilder.
getArray(String, Function<O, T[]>, T...) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field for an array of this type in a RecordCodecBuilder.
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
 
getAvailableSlots(Direction) - Method in class net.darkhax.bookshelf.impl.inventory.ItemHandlerInventoryAccess
 
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.
getCategory() - Method in class net.darkhax.bookshelf.api.data.sound.Sound
 
getCommonWanderingTrades() - Method in class net.darkhax.bookshelf.api.registry.VillagerTradeEntries
 
getConditions() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.And
 
getConditions() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.Not
 
getConditions() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.Or
 
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.
getConfigPath() - Method in class net.darkhax.bookshelf.impl.util.PlatformHelperNeoForge
 
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
 
getCraftingPlayer(Container) - Method in class net.darkhax.bookshelf.impl.util.InventoryHelperNeoForge
 
getCraftingRemainder(ItemStack) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
 
getCraftingRemainder(ItemStack) - Method in class net.darkhax.bookshelf.impl.util.InventoryHelperNeoForge
 
getDamageAmount() - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapelessDurabilityRecipe
 
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.tests.ByteBufTests
 
getDefaultBatch() - Method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
getDefaultBatch() - Method in class net.darkhax.bookshelf.impl.gametest.tests.ItemStackTests
 
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
 
getFormattedTime(int) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Creates a component that displays a duration of ticks in HH:MM:SS format.
getFormattedTime(int, boolean) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
 
getFormattedTime(int, boolean, float) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Creates a component that displays a duration of ticks in HH:MM:SS format.
getFormattedTime(int, boolean, Level) - 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.
getGamePath() - Method in class net.darkhax.bookshelf.impl.util.PlatformHelperNeoForge
 
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 class net.darkhax.bookshelf.impl.util.InventoryHelperNeoForge
 
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
 
getItemStack() - Method in class net.darkhax.bookshelf.impl.event.NeoForgeItemAttributeEvent
 
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.
getList() - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
Gets a codec that can read and write a list.
getList(String, Function<O, List<T>>) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field for a list of this type in a RecordCodecBuilder.
getList(String, Function<O, List<T>>, List<T>) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field for a list of this type in a RecordCodecBuilder.
getList(String, Function<O, List<T>>, T...) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field for a list of this type in a RecordCodecBuilder.
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.
getModName(String) - Method in class net.darkhax.bookshelf.impl.util.PlatformHelperNeoForge
 
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.
getModsPath() - Method in class net.darkhax.bookshelf.impl.util.PlatformHelperNeoForge
 
getName() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
Gets the name of the platform.
getName() - Method in class net.darkhax.bookshelf.impl.util.PlatformHelperNeoForge
 
getNullable(String) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
Gets a codec that can read and write nullable values.
getNullable(String, Function<O, T>) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field for a nullable value of this type in a RecordCodecBuilder.
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
 
getOptional(String) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
Gets a codec that can read and write an optional value.
getOptional(String, Function<O, Optional<T>>) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field for an optional value of this type in a RecordCodecBuilder.
getOptional(String, Function<O, Optional<T>>, Optional<T>) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field for an optional value of this type in a RecordCodecBuilder.
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
 
getOutput() - Method in class net.darkhax.bookshelf.impl.data.recipes.crafting.ShapelessDurabilityRecipe
 
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
 
getPathfindingType(BlockState, BlockGetter, BlockPos) - Method in interface net.darkhax.bookshelf.api.block.IBlockHooks
Gets the pathfinding type that should be used for the block.
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.
getPhysicalSide() - Method in class net.darkhax.bookshelf.impl.util.PlatformHelperNeoForge
 
getPitch() - Method in class net.darkhax.bookshelf.api.data.sound.Sound
 
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.
getPossibleMatches(String, Iterable<String>) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Finds a set of possible matches within an iterable group of strings.
getPossibleMatches(String, Iterable<String>, int) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Finds a set of possible matches within an iterable group of strings.
getRareWanderingTrades() - Method in class net.darkhax.bookshelf.api.registry.VillagerTradeEntries
 
getRegisteredFonts() - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Gathers a set of font IDs from the game.
getRegistry() - Method in class net.darkhax.bookshelf.api.data.codecs.RegistryCodecHelper
 
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
 
getRequiredEntries() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.SpecificRegistryContains
 
getRequiredMods() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.ModLoaded
 
getRequiredPlatform() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.OnPlatform
 
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
 
getSet() - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
Gets a codec that can read and write a set.
getSet(String, Function<O, Set<T>>) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field for a set of this type in a RecordCodecBuilder.
getSet(String, Function<O, Set<T>>, Set<T>) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field for a set of this type in a RecordCodecBuilder.
getSet(String, Function<O, Set<T>>, T...) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field for a set of this type in a RecordCodecBuilder.
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.
getSlotSize(int) - Method in class net.darkhax.bookshelf.impl.inventory.ItemHandlerInventoryAccess
 
getSlotType() - Method in interface net.darkhax.bookshelf.api.event.item.IItemAttributeEvent
 
getSlotType() - Method in class net.darkhax.bookshelf.impl.event.NeoForgeItemAttributeEvent
 
getSound() - Method in class net.darkhax.bookshelf.api.data.sound.Sound
 
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.
getStackInSlot(int) - Method in class net.darkhax.bookshelf.impl.inventory.ItemHandlerInventoryAccess
 
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 interface net.darkhax.bookshelf.api.data.conditions.ILoadCondition
 
getType() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.And
 
getType() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.ModLoaded
 
getType() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.Not
 
getType() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.OnPlatform
 
getType() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.Or
 
getType() - Method in class net.darkhax.bookshelf.api.data.conditions.impl.SpecificRegistryContains
 
getType() - Method in class net.darkhax.bookshelf.api.registry.CommandArgumentEntry
 
getType(ResourceLocation) - Static method in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
getValue(int) - Method in class net.darkhax.bookshelf.api.lib.TableBuilder.TableColumn
 
getVillagerTrades() - Method in class net.darkhax.bookshelf.api.registry.VillagerTradeEntries
 
getVolume() - Method in class net.darkhax.bookshelf.api.data.sound.Sound
 
getWeighted() - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
Gets a codec that can read and write a weighted entry.
getWeighted(String, Function<O, WeightedEntry.Wrapper<T>>) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field for a weighted entry of this type in a RecordCodecBuilder.
getWeightedList() - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
Gets a codec that can read and write a weighted list.
getWeightedList(String, Function<O, SimpleWeightedRandomList<T>>) - Method in class net.darkhax.bookshelf.api.data.codecs.CodecHelper
A helper for defining a field for a weighted list of this type in a RecordCodecBuilder.

H

HandArgument - Class in net.darkhax.bookshelf.impl.commands.args
 
hasAnyOf(Set<Item>) - Method in class net.darkhax.bookshelf.api.block.entity.InventoryBlockEntity
 
hasCraftingRemainder(ItemStack) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
 
hasCraftingRemainder(ItemStack) - Method in class net.darkhax.bookshelf.impl.util.InventoryHelperNeoForge
 
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 record class net.darkhax.bookshelf.api.data.conditions.LoadConditions.ConditionType
Returns a hash code value for this object.
hashCode() - Method in class net.darkhax.bookshelf.api.data.sound.Sound
 
hasItemBlock(Block) - Method in interface net.darkhax.bookshelf.api.block.IItemBlockProvider
 
HEIGHT_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
HEIGHT_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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
 
IBlockHooks - 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() - Method in record class net.darkhax.bookshelf.api.data.conditions.LoadConditions.ConditionType
Returns the value of the id record component.
id(String) - Static method in class net.darkhax.bookshelf.Constants
 
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.
INGREDIENT - Enum constant in enum class net.darkhax.bookshelf.impl.commands.CommandHand.OutputType
 
INGREDIENT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
INGREDIENT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
INGREDIENT_NONEMPTY - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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) - Method in class net.darkhax.bookshelf.impl.inventory.ItemHandlerInventoryAccess
 
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
 
instantiate(CommandBuildContext) - Method in class net.darkhax.bookshelf.api.commands.args.SingletonArgumentInfo.Template
 
INSTRUMENT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
INSTRUMENT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
INT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
INT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
INT_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
INT_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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
 
InventoryHelperNeoForge - Class in net.darkhax.bookshelf.impl.util
 
InventoryHelperNeoForge() - Constructor for class net.darkhax.bookshelf.impl.util.InventoryHelperNeoForge
 
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
 
isDecimal(NumericTag) - Static method in class net.darkhax.bookshelf.api.util.ItemStackHelper
 
isDevelopmentEnvironment() - Method in interface net.darkhax.bookshelf.api.util.IPlatformHelper
Checks if the mod is running in a development environment.
isDevelopmentEnvironment() - Method in class net.darkhax.bookshelf.impl.util.PlatformHelperNeoForge
 
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
 
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.
isModLoaded(String) - Method in class net.darkhax.bookshelf.impl.util.PlatformHelperNeoForge
 
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.
isTestingEnvironment() - Method in class net.darkhax.bookshelf.impl.util.PlatformHelperNeoForge
 
isTreasureOnly() - Method in class net.darkhax.bookshelf.api.enchantment.CurseEnchantment
 
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.
isValidForSlot(int, ItemStack, Direction) - Method in class net.darkhax.bookshelf.impl.inventory.ItemHandlerInventoryAccess
 
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
 
ITEM - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ITEM - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
ITEM_EXISTS - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
ITEM_RARITY - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ITEM_RARITY - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
ITEM_STACK - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ITEM_STACK - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
ITEM_STACK_FLEXIBLE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
ItemHandlerInventoryAccess - Class in net.darkhax.bookshelf.impl.inventory
 
ItemHandlerInventoryAccess(IItemHandler) - Constructor for class net.darkhax.bookshelf.impl.inventory.ItemHandlerInventoryAccess
 
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
 
ItemStackTests - Class in net.darkhax.bookshelf.impl.gametest.tests
 
ItemStackTests() - Constructor for class net.darkhax.bookshelf.impl.gametest.tests.ItemStackTests
 
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
Joins multiple components together using a separator component.
join(Component, Iterator<Component>) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Joins multiple components together using a separator component.
join(Component, Component...) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Joins multiple components together using a separator component.
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
 
LOAD_CONDITION - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
LoadConditions - Class in net.darkhax.bookshelf.api.data.conditions
 
LoadConditions() - Constructor for class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
LoadConditions.ConditionType - Record Class in net.darkhax.bookshelf.api.data.conditions
 
loadContent(RegistryDataProvider) - Method in interface net.darkhax.bookshelf.api.registry.IContentLoader
 
loadContent(RegistryDataProvider) - Method in class net.darkhax.bookshelf.impl.registry.ContentLoaderNeoForge
 
LOG - Static variable in class net.darkhax.bookshelf.Constants
 
LONG - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
LONG - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
lookupTranslation(String, Object...) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Attempts to localize the text.
lookupTranslation(String, BiFunction<String, Object[], MutableComponent>, Object...) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Attempts to localize text, if the text can not be localized the fallback will be used.
lookupTranslation(String, MutableComponent, Object...) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Attempts to localize the text.
lookupTranslationWithAlias(String[], Object...) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Attempts to localize several translation keys, only returning the first key that can be localized.
lookupTranslationWithAlias(ResourceLocation, String...) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Attempts to localize several translation keys.
LOOT_CONDITION_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
LOOT_CONDITION_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
LOOT_FUNCTION_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
LOOT_FUNCTION_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
LOOT_NBT_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
LOOT_NBT_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
LOOT_NUMBER_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
LOOT_NUMBER_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
LOOT_POOL_ENTRY_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
LOOT_POOL_ENTRY_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
LOOT_SCORE_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
LOOT_SCORE_PROVIDER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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
 
MEMORY_MODULE_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
MEMORY_MODULE_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
MENU - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
MENU - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
menus - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
menuType(TriFunction<Integer, Inventory, FriendlyByteBuf, T>) - Method in interface net.darkhax.bookshelf.api.util.IConstructHelper
 
menuType(TriFunction<Integer, Inventory, FriendlyByteBuf, T>) - Method in class net.darkhax.bookshelf.impl.util.ConstructHelperNeoForge
 
MerchantTier - Enum Class in net.darkhax.bookshelf.api.entity.merchant
 
MIRROR - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
MIRROR - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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
 
MixinWalkNodeEvaluator - Class in net.darkhax.bookshelf.mixin.patches.world.level.pathfinder
 
MixinWalkNodeEvaluator() - Constructor for class net.darkhax.bookshelf.mixin.patches.world.level.pathfinder.MixinWalkNodeEvaluator
 
MOB_CATEGORY - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
MOB_CATEGORY - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
MOB_EFFECT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
MOB_EFFECT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
MOB_EFFECT_EXISTS - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
mobEffects - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
MOD_ID - Static variable in class net.darkhax.bookshelf.Constants
 
MOD_LOADED - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
MOD_NAME - Static variable in class net.darkhax.bookshelf.Constants
 
ModLoaded - Class in net.darkhax.bookshelf.api.data.conditions.impl
 
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.
mutable(Component) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Gets a mutable instance of a component.

N

name(Component) - Method in class net.darkhax.bookshelf.api.item.ItemStackBuilder
 
NeoForgeEventHelper - Class in net.darkhax.bookshelf.impl.util
 
NeoForgeEventHelper() - Constructor for class net.darkhax.bookshelf.impl.util.NeoForgeEventHelper
 
NeoForgeItemAttributeEvent - Class in net.darkhax.bookshelf.impl.event
 
NeoForgeItemAttributeEvent(ItemAttributeModifierEvent) - Constructor for class net.darkhax.bookshelf.impl.event.NeoForgeItemAttributeEvent
 
NeoForgeRenderHelper - Class in net.darkhax.bookshelf.impl.client
 
NeoForgeRenderHelper() - Constructor for class net.darkhax.bookshelf.impl.client.NeoForgeRenderHelper
 
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.bytebuf - package net.darkhax.bookshelf.api.data.bytebuf
 
net.darkhax.bookshelf.api.data.codecs - package net.darkhax.bookshelf.api.data.codecs
 
net.darkhax.bookshelf.api.data.conditions - package net.darkhax.bookshelf.api.data.conditions
 
net.darkhax.bookshelf.api.data.conditions.impl - package net.darkhax.bookshelf.api.data.conditions.impl
 
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.util - package net.darkhax.bookshelf.api.util
 
net.darkhax.bookshelf.impl - package net.darkhax.bookshelf.impl
 
net.darkhax.bookshelf.impl.client - package net.darkhax.bookshelf.impl.client
 
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.recipes.crafting - package net.darkhax.bookshelf.impl.data.recipes.crafting
 
net.darkhax.bookshelf.impl.event - package net.darkhax.bookshelf.impl.event
 
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.gametest.tests - package net.darkhax.bookshelf.impl.gametest.tests
 
net.darkhax.bookshelf.impl.inventory - package net.darkhax.bookshelf.impl.inventory
 
net.darkhax.bookshelf.impl.registry - package net.darkhax.bookshelf.impl.registry
 
net.darkhax.bookshelf.impl.util - package net.darkhax.bookshelf.impl.util
 
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.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.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.loot - package net.darkhax.bookshelf.mixin.patches.loot
 
net.darkhax.bookshelf.mixin.patches.packs.resources - package net.darkhax.bookshelf.mixin.patches.packs.resources
 
net.darkhax.bookshelf.mixin.patches.world.level.pathfinder - package net.darkhax.bookshelf.mixin.patches.world.level.pathfinder
 
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
 
Not - Class in net.darkhax.bookshelf.api.data.conditions.impl
 
NOT - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
NOVICE - Enum constant in enum class net.darkhax.bookshelf.api.entity.merchant.MerchantTier
 
nullable(Codec<T>, String) - Static method in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
Creates a Codec that can handle nullable values.

O

of(String, Registry<RT>) - Static method in class net.darkhax.bookshelf.api.data.conditions.impl.SpecificRegistryContains
 
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
 
ON_PLATFORM - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
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.
OnPlatform - Class in net.darkhax.bookshelf.api.data.conditions.impl
 
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>) - Method in class net.darkhax.bookshelf.impl.util.InventoryHelperNeoForge
 
optional(Codec<T>, String, Optional<T>, boolean) - Static method in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
Creates a Codec that handles optional values.
Or - Class in net.darkhax.bookshelf.api.data.conditions.impl
 
OR - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 

P

PAINTING_EXISTS - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
PAINTING_VARIANT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
PAINTING_VARIANT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
paintings - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
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_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
PARTICLE_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
particleTypes - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
PhysicalSide - Enum Class in net.darkhax.bookshelf.api
 
PLACEMENT_MODIFIER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
PLACEMENT_MODIFIER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
PLANE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
PLANE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
PLATFORM - Static variable in class net.darkhax.bookshelf.api.Services
 
PlatformHelperNeoForge - Class in net.darkhax.bookshelf.impl.util
 
PlatformHelperNeoForge() - Constructor for class net.darkhax.bookshelf.impl.util.PlatformHelperNeoForge
 
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
 
POINT_OF_INTEREST_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
POINT_OF_INTEREST_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
poolElementFromNBT(RegistryAccess, ResourceKey<StructureProcessorList>, String, StructureTemplatePool.Projection, boolean) - Static method in class net.darkhax.bookshelf.api.util.StructureHelper
 
POS_RULE_TEST - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
POS_RULE_TEST - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
POSITION_SOURCE_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
POSITION_SOURCE_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
POTION - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
POTION - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
POTION_EXISTS - Static variable in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
potions - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
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
 
randomOffset(BlockPos, RandomSource, int, int, int) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
Offsets a position by a random amount within a given range.
randomOffsetHorizontal(BlockPos, RandomSource, int) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
Offsets a position by a random amount horizontally within an upper range.
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.
read(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Reads the data from the buffer directly.
readArray(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Reads an array of values from the buffer.
readCollection(FriendlyByteBuf, Supplier<C>) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Reads a collection of values from the 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.
readList(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Reads a list of values from the buffer.
readNullable(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Read a nullable value from the buffer.
readOptional(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Reads an optional value from the buffer.
readSet(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Reads a set of values from the buffer.
readWeighted(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Read a weighted value from the buffer.
readWeightedList(FriendlyByteBuf) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Read a weighted random list from the buffer.
RECIPE_SERIALIZER - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
RECIPE_SERIALIZER - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
RECIPE_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
RECIPE_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
RecipeBaseData<C extends net.minecraft.world.Container> - Class in net.darkhax.bookshelf.api.data.recipes
A partial implementation of Recipe that is intended for recipes that are not crafted through an inventory or traditional crafting system.
RecipeBaseData() - Constructor for class net.darkhax.bookshelf.api.data.recipes.RecipeBaseData
 
recipeSerializers - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
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
 
register(ResourceLocation, Codec<T>) - Static method in class net.darkhax.bookshelf.api.data.conditions.LoadConditions
 
registerTests(RegisterGameTestsEvent) - Static method in class net.darkhax.bookshelf.impl.gametest.BookshelfForgeGameTests
 
REGISTRIES - Static variable in class net.darkhax.bookshelf.api.Services
 
registry(Registry<T>) - Static method in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
Creates a codec for a registry that will error when no value can be found rather than passing a default value like air.
RegistryByteBufHelper<T> - Class in net.darkhax.bookshelf.api.data.bytebuf
 
RegistryByteBufHelper(Registry<T>) - Constructor for class net.darkhax.bookshelf.api.data.bytebuf.RegistryByteBufHelper
 
RegistryCodecHelper<T> - Class in net.darkhax.bookshelf.api.data.codecs
 
RegistryCodecHelper(Registry<T>) - Constructor for class net.darkhax.bookshelf.api.data.codecs.RegistryCodecHelper
 
RegistryCodecTests<T> - Class in net.darkhax.bookshelf.impl.gametest.tests
 
RegistryCodecTests(String, CodecHelper<T>, T...) - Constructor for class net.darkhax.bookshelf.impl.gametest.tests.RegistryCodecTests
 
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
 
removeAttribute(Attribute) - Method in class net.darkhax.bookshelf.impl.event.NeoForgeItemAttributeEvent
 
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
 
removeModifier(Attribute, AttributeModifier) - Method in class net.darkhax.bookshelf.impl.event.NeoForgeItemAttributeEvent
 
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
 
renderFluidBox(PoseStack, FluidState, Level, BlockPos, MultiBufferSource, int, int) - Method in class net.darkhax.bookshelf.impl.client.NeoForgeRenderHelper
 
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.data.bytebuf.BookshelfByteBufs
 
RESOURCE_LOCATION - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
resourceListeners - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
ROOT_PLACER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ROOT_PLACER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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.
ROTATION - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
ROTATION - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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.
RULE_BLOCK_ENTITY_MODIFIER - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
RULE_BLOCK_ENTITY_MODIFIER - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
RULE_TEST - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
RULE_TEST - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 

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
 
SCHEDULE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
SCHEDULE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
SENSOR_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
SENSOR_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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.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
 
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
Adds a click event to a component that will copy the provided text to the players clipboard when they click it.
setDuration(int) - Method in interface net.darkhax.bookshelf.mixin.accessors.effect.AccessorMobEffectInstance
 
setHover(Component, AT, AV) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Attaches a hover event to a component.
setHover(Component, Component) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Attaches a component to another as a hover component.
setHover(Component, HoverEvent) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Attaches a hover event to a component.
setHover(Component, Entity) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Attaches a hover event that displays information about an entity.
setHover(Component, Item) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Attaches a hover event that displays information about an item.
setHover(Component, ItemStack) - Static method in class net.darkhax.bookshelf.api.util.TextHelper
Attaches a hover event that displays information about an ItemStack.
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
 
setRenderType(Block, RenderType) - Method in class net.darkhax.bookshelf.impl.util.ClientHelperNeoForge
 
ShapedDurabilityRecipe - Class in net.darkhax.bookshelf.impl.data.recipes.crafting
 
ShapedDurabilityRecipe(String, CraftingBookCategory, ShapedRecipePattern, ItemStack, boolean, 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(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.data.bytebuf.BookshelfByteBufs
 
SHORT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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 - Variable in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
singleton - Variable in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
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) - Constructor for class net.darkhax.bookshelf.api.data.sound.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.data.bytebuf.BookshelfByteBufs
 
SOUND - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
SOUND_EVENT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
SOUND_EVENT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
SOUND_SOURCE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
SOUND_SOURCE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
sounds - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
SpecificRegistryContains<T> - Class in net.darkhax.bookshelf.api.data.conditions.impl
 
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_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
STAT_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
stats - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
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.data.bytebuf.BookshelfByteBufs
 
STRING - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
STRUCTURE_PIECE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
STRUCTURE_PIECE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
STRUCTURE_PLACEMENT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
STRUCTURE_PLACEMENT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
STRUCTURE_POOL_ELEMENT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
STRUCTURE_POOL_ELEMENT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
STRUCTURE_PROCESSOR - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
STRUCTURE_PROCESSOR - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
STRUCTURE_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
STRUCTURE_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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() - Method in class net.darkhax.bookshelf.api.data.bytebuf.RegistryByteBufHelper
 
tag() - Method in class net.darkhax.bookshelf.api.data.codecs.RegistryCodecHelper
 
TAGS - Enum constant in enum class net.darkhax.bookshelf.impl.commands.CommandHand.OutputType
 
Template(Supplier<T>, ArgumentTypeInfo<T, ?>) - Constructor for class net.darkhax.bookshelf.api.commands.args.SingletonArgumentInfo.Template
 
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.
test_array(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
test_array(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
test_list(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
test_list(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
test_list_empty(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
test_list_singleton(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
test_missing_gives_null(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.RegistryCodecTests
 
test_nullable(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
test_nullable(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
test_nullable_null(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
test_nullable_null(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
test_optional(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
test_optional(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
test_optional_empty(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
test_optional_empty(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
test_set(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
test_set(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
test_singleton(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
test_singleton(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
test_stack(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.ItemStackTests
 
test_stack_tag(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.ItemStackTests
 
test_weighted(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
test_weighted(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
test_weighted_list(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
test_weighted_list(GameTestHelper) - Method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
testFrom(Collection<TestFunction>, T) - Static method in class net.darkhax.bookshelf.impl.gametest.BookshelfGameTests
Generates tests from a pre-instantiated instance of a class.
TestHelper - Class in net.darkhax.bookshelf.impl.gametest
 
TestHelper() - Constructor for class net.darkhax.bookshelf.impl.gametest.TestHelper
 
TEXT - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
TEXT - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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
Creates a component that will copy the value to the players clipboard when they click it.
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, Sound) - Static method in class net.darkhax.bookshelf.api.data.sound.Sound
 
toJson(GameTestHelper, Codec<DT>, DT) - Static method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
toJson(GameTestHelper, MapCodec<DT>, DT) - Static method in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
toList(Container) - Method in interface net.darkhax.bookshelf.api.util.IInventoryHelper
Creates a list view of a Container's inventory contents.
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 record class net.darkhax.bookshelf.api.data.conditions.LoadConditions.ConditionType
Returns a string representation of this record class.
toString() - Method in class net.darkhax.bookshelf.api.data.sound.Sound
 
toString() - Method in class net.darkhax.bookshelf.api.lib.TableBuilder
 
trades - Variable in class net.darkhax.bookshelf.api.registry.RegistryDataProvider
 
TREE_DECORATOR_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
TREE_DECORATOR_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
TriConsumer<P1,P2,P3> - Interface in net.darkhax.bookshelf.api.function
 
TriFunction<P1,P2,P3,R> - Interface in net.darkhax.bookshelf.api.function
 
TRUNK_PLACER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
TRUNK_PLACER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
tryPercentage(double) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
A method which handles the calculating of percentages.
type - Variable in class net.darkhax.bookshelf.impl.gametest.tests.ByteBufTests
 
type - Variable in class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
 
type() - Method in class net.darkhax.bookshelf.api.commands.args.SingletonArgumentInfo.Template
 
TYPE_CLASSES - Static variable in interface net.darkhax.bookshelf.api.util.IConstructHelper
 

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.data.bytebuf.BookshelfByteBufs
 
UUID - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 

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.
vec3(BlockPos) - Static method in class net.darkhax.bookshelf.api.util.MathsHelper
 
VECTOR_3F - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
VECTOR_3F - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
VILLAGER_PROFESSION - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
VILLAGER_PROFESSION - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
VILLAGER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.bytebuf.BookshelfByteBufs
 
VILLAGER_TYPE - Static variable in class net.darkhax.bookshelf.api.data.codecs.BookshelfCodecs
 
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
 
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
 

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
 
wrapDisplayGen(IDisplayGenerator) - Method in class net.darkhax.bookshelf.impl.util.ConstructHelperNeoForge
 
write(FriendlyByteBuf, T) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Writes the data to the buffer directly.
writeArray(FriendlyByteBuf, T[]) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Writes an array of values to the buffer.
writeCollection(FriendlyByteBuf, Collection<T>) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Writes a collection of values to the buffer.
writeList(FriendlyByteBuf, List<T>) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Writes a list of values to the buffer.
writeNullable(FriendlyByteBuf, T) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Writes a nullable value to the buffer.
writeOptional(FriendlyByteBuf, Optional<T>) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Writes an optional value to the buffer.
writeSet(FriendlyByteBuf, Set<T>) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Writes a set of values to the buffer.
writeWeighted(FriendlyByteBuf, WeightedEntry.Wrapper<T>) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Write a weighted value to the buffer.
writeWeightedList(FriendlyByteBuf, SimpleWeightedRandomList<T>) - Method in class net.darkhax.bookshelf.api.data.bytebuf.ByteBufHelper
Write a weighted random list to the buffer.
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values