Interface CountOnEveryLayerPlacement

All Superinterfaces:
PlacementModifier, Wrapper

@NullMarked @AsOf("3.0.0") public interface CountOnEveryLayerPlacement extends PlacementModifier
In the horizontal relative range (0,0) to (16,16), at each vertical layer separated by air, lava or water, tries to randomly select the specified number of horizontal positions, whose Y coordinate is one block above this layer at this selected horizontal position. Return these selected positions.
Since:
3.0.0
See Also:
  • Method Details

    • count

      @AsOf("3.0.0") IntProvider count()
      Count on each layer between 0 and 256.
      Returns:
      the count
      Since:
      3.0.0
    • of

      Deprecated.
      deprecated in Minecraft.
      Creates a new count on each layer placement.
      Parameters:
      count - the count
      Returns:
      a new count on each layer placement
      Since:
      3.0.0