Class CommandArgumentAdapter
java.lang.Object
net.darkhax.bookshelf.common.api.registry.adapters.GenericRegistryAdapter<CommandArgumentAdapter.TypeInfo<?>>
net.darkhax.bookshelf.common.impl.registry.adapter.CommandArgumentAdapter
- All Implemented Interfaces:
RegistryAdapter<net.minecraft.resources.Identifier, CommandArgumentAdapter.TypeInfo<?>>
public class CommandArgumentAdapter
extends GenericRegistryAdapter<CommandArgumentAdapter.TypeInfo<?>>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordCommandArgumentAdapter.TypeInfo<A extends com.mojang.brigadier.arguments.ArgumentType<?>> -
Field Summary
Fields inherited from class GenericRegistryAdapter
context, registryFunc -
Constructor Summary
ConstructorsConstructorDescriptionCommandArgumentAdapter(RegistrationContext context, BiConsumer<net.minecraft.resources.Identifier, Supplier<CommandArgumentAdapter.TypeInfo<?>>> registryFunc) -
Method Summary
Methods inherited from class GenericRegistryAdapter
add, add, addMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RegistryAdapter
add
-
Constructor Details
-
CommandArgumentAdapter
public CommandArgumentAdapter(RegistrationContext context, BiConsumer<net.minecraft.resources.Identifier, Supplier<CommandArgumentAdapter.TypeInfo<?>>> registryFunc)
-
-
Method Details
-
add
-