Class CommandArgumentRegistryEntries

java.lang.Object
net.darkhax.bookshelf.api.registry.RegistryEntries<CommandArgumentEntry<?,?,?>>
net.darkhax.bookshelf.api.registry.CommandArgumentRegistryEntries
All Implemented Interfaces:
Iterable<CommandArgumentEntry<?,?,?>>, IOwnedRegistryEntries<CommandArgumentEntry<?,?,?>>, IRegistryEntries<CommandArgumentEntry<?,?,?>>

public class CommandArgumentRegistryEntries extends RegistryEntries<CommandArgumentEntry<?,?,?>>
  • Constructor Details

    • CommandArgumentRegistryEntries

      public CommandArgumentRegistryEntries(Supplier<String> idProvider, net.minecraft.resources.ResourceKey<?> registryKey)
  • Method Details

    • add

      public <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>> void add(Class<A> typeClass, Supplier<I> typeSerializer, String id)