Class EquipmentSlotArgumentType

java.lang.Object
net.raphimc.viabedrock.api.brigadier.EquipmentSlotArgumentType
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<Object>

public class EquipmentSlotArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<Object>
  • Constructor Details

    • EquipmentSlotArgumentType

      public EquipmentSlotArgumentType()
  • Method Details

    • equipmentSlot

      public static EquipmentSlotArgumentType equipmentSlot()
    • parse

      public Object parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<Object>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • listSuggestions

      public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
      Specified by:
      listSuggestions in interface com.mojang.brigadier.arguments.ArgumentType<Object>