Class MaterialQuantity

java.lang.Object
com.hypixel.hytale.server.core.inventory.MaterialQuantity
All Implemented Interfaces:
NetworkSerializable<MaterialQuantity>

public class MaterialQuantity extends Object implements NetworkSerializable<MaterialQuantity>
  • Field Details

    • EMPTY_ARRAY

      public static final MaterialQuantity[] EMPTY_ARRAY
    • CODEC

      public static final BuilderCodec<MaterialQuantity> CODEC
    • itemId

      @Nullable protected String itemId
    • resourceTypeId

      @Nullable protected String resourceTypeId
    • tag

      protected String tag
    • tagIndex

      protected int tagIndex
    • quantity

      protected int quantity
    • metadata

      @Nullable protected org.bson.BsonDocument metadata
  • Constructor Details

    • MaterialQuantity

      public MaterialQuantity(@Nullable String itemId, @Nullable String resourceTypeId, @Nullable String tag, int quantity, org.bson.BsonDocument metadata)
    • MaterialQuantity

      protected MaterialQuantity()
  • Method Details