Record Class ClientboundCommandsPacket.ArgumentNodeStub

java.lang.Object
java.lang.Record
net.minecraft.network.protocol.game.ClientboundCommandsPacket.ArgumentNodeStub
All Implemented Interfaces:
ClientboundCommandsPacket.NodeStub
Enclosing class:
ClientboundCommandsPacket

private static record ClientboundCommandsPacket.ArgumentNodeStub(String id, ArgumentTypeInfo.Template<?> argumentType, @Nullable Identifier suggestionId) extends Record implements ClientboundCommandsPacket.NodeStub
  • Field Details

    • id

      private final String id
      The field for the id record component.
    • argumentType

      private final ArgumentTypeInfo.Template<?> argumentType
      The field for the argumentType record component.
    • suggestionId

      private final @Nullable Identifier suggestionId
      The field for the suggestionId record component.
  • Constructor Details

    • ArgumentNodeStub

      private ArgumentNodeStub(String id, ArgumentTypeInfo.Template<?> argumentType, @Nullable Identifier suggestionId)
      Creates an instance of a ArgumentNodeStub record class.
      Parameters:
      id - the value for the id record component
      argumentType - the value for the argumentType record component
      suggestionId - the value for the suggestionId record component
  • Method Details