Class ArgumentNbtCompoundTag

java.lang.Object
net.minestom.server.command.builder.arguments.Argument<net.kyori.adventure.nbt.CompoundBinaryTag>
net.minestom.server.command.builder.arguments.minecraft.ArgumentNbtCompoundTag

public class ArgumentNbtCompoundTag extends Argument<net.kyori.adventure.nbt.CompoundBinaryTag>
Argument used to retrieve a CompoundBinaryTag if you need key-value data.

Example: {display:{Name:"{\"text\":\"Sword of Power\"}"}}

  • Field Details

  • Constructor Details

    • ArgumentNbtCompoundTag

      public ArgumentNbtCompoundTag(String id)
  • Method Details