Class WoodlandMansionPieces.SimpleGrid

java.lang.Object
net.minecraft.world.gen.feature.structure.WoodlandMansionPieces.SimpleGrid
Enclosing class:
WoodlandMansionPieces

static class WoodlandMansionPieces.SimpleGrid extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int[][]
     
    private final int
     
    private final int
     
    private final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SimpleGrid(int p_i47358_1_, int p_i47358_2_, int p_i47358_3_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    edgesTo(int p_191147_1_, int p_191147_2_, int p_191147_3_)
     
    int
    get(int p_191145_1_, int p_191145_2_)
     
    void
    set(int p_191144_1_, int p_191144_2_, int p_191144_3_)
     
    void
    set(int p_191142_1_, int p_191142_2_, int p_191142_3_, int p_191142_4_, int p_191142_5_)
     
    void
    setif(int p_197588_1_, int p_197588_2_, int p_197588_3_, int p_197588_4_)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • grid

      private final int[][] grid
    • width

      private final int width
    • height

      private final int height
    • valueIfOutside

      private final int valueIfOutside
  • Constructor Details

    • SimpleGrid

      public SimpleGrid(int p_i47358_1_, int p_i47358_2_, int p_i47358_3_)
  • Method Details

    • set

      public void set(int p_191144_1_, int p_191144_2_, int p_191144_3_)
    • set

      public void set(int p_191142_1_, int p_191142_2_, int p_191142_3_, int p_191142_4_, int p_191142_5_)
    • get

      public int get(int p_191145_1_, int p_191145_2_)
    • setif

      public void setif(int p_197588_1_, int p_197588_2_, int p_197588_3_, int p_197588_4_)
    • edgesTo

      public boolean edgesTo(int p_191147_1_, int p_191147_2_, int p_191147_3_)