Class BlockPattern

java.lang.Object
com.hypixel.hytale.server.core.prefab.selection.mask.BlockPattern

public class BlockPattern extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getResolvedKeys

      public Integer[] getResolvedKeys()
    • resolve

      public void resolve()
    • isEmpty

      public boolean isEmpty()
    • hasInvalidBlocks

      public boolean hasInvalidBlocks()
    • nextBlock

      public int nextBlock(Random random)
    • nextBlockTypeKey

      @Nullable public BlockPattern.BlockEntry nextBlockTypeKey(Random random)
    • firstBlock

      @Deprecated public int firstBlock()
      Deprecated.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • parse

      public static BlockPattern parse(@Nonnull String str)
    • parseBlock

      public static int parseBlock(@Nonnull String blockText)
    • canParseBlock

      public static boolean canParseBlock(@Nonnull String blockText)
    • tryParseBlockTypeKey

      @Nullable public static BlockPattern.BlockEntry tryParseBlockTypeKey(String blockText)