Class StructureComponent

    • Field Detail

      • coordBaseMode

        protected int coordBaseMode
      • componentType

        protected int componentType
    • Constructor Detail

      • StructureComponent

        protected StructureComponent​(int var1)
    • Method Detail

      • buildComponent

        public void buildComponent​(StructureComponent structurecomponent,
                                   java.util.List list,
                                   java.util.Random random)
      • addComponentParts

        public abstract boolean addComponentParts​(World world,
                                                  java.util.Random random,
                                                  StructureBoundingBox structureboundingbox)
      • getComponentType

        public int getComponentType()
      • isLiquidInStructureBoundingBox

        protected boolean isLiquidInStructureBoundingBox​(World var1,
                                                         StructureBoundingBox var2)
      • getXWithOffset

        protected int getXWithOffset​(int var1,
                                     int var2)
      • getYWithOffset

        protected int getYWithOffset​(int var1)
      • getZWithOffset

        protected int getZWithOffset​(int var1,
                                     int var2)
      • getMetadataWithOffset

        protected int getMetadataWithOffset​(int var1,
                                            int var2)
      • placeBlockAtCurrentPosition

        protected void placeBlockAtCurrentPosition​(World var1,
                                                   int var2,
                                                   int var3,
                                                   int var4,
                                                   int var5,
                                                   int var6,
                                                   StructureBoundingBox var7)
      • getBlockIdAtCurrentPosition

        protected int getBlockIdAtCurrentPosition​(World var1,
                                                  int var2,
                                                  int var3,
                                                  int var4,
                                                  StructureBoundingBox var5)
      • fillWithBlocks

        protected void fillWithBlocks​(World var1,
                                      StructureBoundingBox var2,
                                      int var3,
                                      int var4,
                                      int var5,
                                      int var6,
                                      int var7,
                                      int var8,
                                      int var9,
                                      int var10,
                                      boolean var11)
      • randomlyFillWithBlocks

        protected void randomlyFillWithBlocks​(World var1,
                                              StructureBoundingBox var2,
                                              java.util.Random var3,
                                              float var4,
                                              int var5,
                                              int var6,
                                              int var7,
                                              int var8,
                                              int var9,
                                              int var10,
                                              int var11,
                                              int var12,
                                              boolean var13)
      • randomlyPlaceBlock

        protected void randomlyPlaceBlock​(World var1,
                                          StructureBoundingBox var2,
                                          java.util.Random var3,
                                          float var4,
                                          int var5,
                                          int var6,
                                          int var7,
                                          int var8,
                                          int var9)
      • randomlyRareFillWithBlocks

        protected void randomlyRareFillWithBlocks​(World var1,
                                                  StructureBoundingBox var2,
                                                  int var3,
                                                  int var4,
                                                  int var5,
                                                  int var6,
                                                  int var7,
                                                  int var8,
                                                  int var9,
                                                  boolean var10)
      • clearCurrentPositionBlocksUpwards

        protected void clearCurrentPositionBlocksUpwards​(World var1,
                                                         int var2,
                                                         int var3,
                                                         int var4,
                                                         StructureBoundingBox var5)
      • fillCurrentPositionBlocksDownwards

        protected void fillCurrentPositionBlocksDownwards​(World var1,
                                                          int var2,
                                                          int var3,
                                                          int var4,
                                                          int var5,
                                                          int var6,
                                                          StructureBoundingBox var7)
      • createTreasureChestAtCurrentPosition

        protected void createTreasureChestAtCurrentPosition​(World var1,
                                                            StructureBoundingBox var2,
                                                            java.util.Random var3,
                                                            int var4,
                                                            int var5,
                                                            int var6,
                                                            StructurePieceTreasure[] var7,
                                                            int var8)
      • placeDoorAtCurrentPosition

        protected void placeDoorAtCurrentPosition​(World var1,
                                                  StructureBoundingBox var2,
                                                  java.util.Random var3,
                                                  int var4,
                                                  int var5,
                                                  int var6,
                                                  int var7)