Interface Painter.World

All Superinterfaces:
Block.Setter
All Known Subinterfaces:
Painter.ReadableWorld
Enclosing interface:
Painter

public static interface Painter.World extends Block.Setter
  • Method Details

    • cube

      default void cube(Point mid, int size, Block block)
      Paints a cube at the given point with the given width.
    • cuboid

      void cuboid(Point min, Point max, Block block)
    • operation2d

      void operation2d(Painter.PosPredicate noise, Painter.Operation operation)
      Runs the given operation on any point where the noise predicate returns true.
      Parameters:
      noise - the noise predicate to determine where to run the operation. Note that the y value will always be 0.
      operation - the operation to run at each point.