All Known Implementing Classes:
ConstantBlock, MultiBlockSelector.SelectionEntry
Enclosing interface:
BlockSelector

public static interface BlockSelector.Entry
Represents a single weighted BlockState in a BlockSelector.
Author:
DaPorkchop_
  • Method Summary

    Modifier and Type
    Method
    Description
    org.cloudburstmc.api.block.BlockState
     
    int
     
  • Method Details

    • state

      org.cloudburstmc.api.block.BlockState state()
      Returns:
      the BlockState used by this entry
    • weight

      int weight()
      Returns:
      this entry's random selection weight