Class WoodlandMansionPieces.SimpleGrid

java.lang.Object
net.minecraft.world.level.levelgen.structure.structures.WoodlandMansionPieces.SimpleGrid
Enclosing class:
WoodlandMansionPieces

static class WoodlandMansionPieces.SimpleGrid extends Object
  • Field Summary

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

    Constructors
    Constructor
    Description
    SimpleGrid(int p_230164_, int p_230165_, int p_230166_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    edgesTo(int p_230186_, int p_230187_, int p_230188_)
     
    int
    get(int p_230168_, int p_230169_)
     
    void
    set(int p_230171_, int p_230172_, int p_230173_)
     
    void
    set(int p_230180_, int p_230181_, int p_230182_, int p_230183_, int p_230184_)
     
    void
    setif(int p_230175_, int p_230176_, int p_230177_, int p_230178_)
     

    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

      final int width
    • height

      final int height
    • valueIfOutside

      private final int valueIfOutside
  • Constructor Details

    • SimpleGrid

      public SimpleGrid(int p_230164_, int p_230165_, int p_230166_)
  • Method Details

    • set

      public void set(int p_230171_, int p_230172_, int p_230173_)
    • set

      public void set(int p_230180_, int p_230181_, int p_230182_, int p_230183_, int p_230184_)
    • get

      public int get(int p_230168_, int p_230169_)
    • setif

      public void setif(int p_230175_, int p_230176_, int p_230177_, int p_230178_)
    • edgesTo

      public boolean edgesTo(int p_230186_, int p_230187_, int p_230188_)