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<?>>
  • Constructor Details

  • Method Details

    • add

      public <A extends com.mojang.brigadier.arguments.ArgumentType<?>, T extends net.minecraft.commands.synchronization.ArgumentTypeInfo.Template<A>> void add(String id, Class argumentClass, net.minecraft.commands.synchronization.ArgumentTypeInfo<A,T> info)