Class LayerEntryCodec

java.lang.Object
com.hypixel.hytale.server.core.codec.LayerEntryCodec

public class LayerEntryCodec extends Object
Codec for layer entries used in LayerOperation and HeightmapLayerOperation. Stores depth, material (block type or tool arg name), and whether to resolve from tool arg.
  • Field Details

  • Constructor Details

    • LayerEntryCodec

      public LayerEntryCodec()
    • LayerEntryCodec

      public LayerEntryCodec(Integer depth, String material, boolean useToolArg)
  • Method Details

    • getDepth

      @Nonnull public Integer getDepth()
    • getMaterial

      @Nonnull public String getMaterial()
    • isUseToolArg

      public boolean isUseToolArg()
    • isSkip

      public boolean isSkip()