Class BookshelfContent
java.lang.Object
net.darkhax.bookshelf.common.impl.BookshelfContent
- All Implemented Interfaces:
IContentProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterCommandArguments(ArgumentRegister register) voidregisterCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher, net.minecraft.commands.CommandBuildContext context, net.minecraft.commands.Commands.CommandSelection selection) voidregisterLoadConditions(Register<com.mojang.serialization.MapCodec<? extends ILoadCondition>> registry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.darkhax.bookshelf.common.api.registry.IContentProvider
registerAttributes, registerBlockEntities, registerBlocks, registerEntities, registerItemComponents, registerItems, registerLootConditions, registerLootFunctions, registerMenus, registerMobEffects, registerPackets, registerPotPatterns, registerRecipeSerializers, registerRecipeTypes
-
Constructor Details
-
BookshelfContent
public BookshelfContent()
-
-
Method Details
-
contentNamespace
- Specified by:
contentNamespacein interfaceIContentProvider
-
registerCommands
public void registerCommands(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher, net.minecraft.commands.CommandBuildContext context, net.minecraft.commands.Commands.CommandSelection selection) - Specified by:
registerCommandsin interfaceIContentProvider
-
registerCommandArguments
- Specified by:
registerCommandArgumentsin interfaceIContentProvider
-
registerLoadConditions
public void registerLoadConditions(Register<com.mojang.serialization.MapCodec<? extends ILoadCondition>> registry) - Specified by:
registerLoadConditionsin interfaceIContentProvider
-