Class StructureStart<C extends IFeatureConfig>

java.lang.Object
net.minecraft.world.gen.feature.structure.StructureStart<C>
Direct Known Subclasses:
BuriedTreasureStructure.Start, DesertPyramidStructure.Start, EndCityStructure.Start, FortressStructure.Start, IglooStructure.Start, JunglePyramidStructure.Start, MarginedStructureStart, MineshaftStructure.Start, OceanMonumentStructure.Start, OceanRuinStructure.Start, RuinedPortalStructure.Start, ShipwreckStructure.Start, StrongholdStructure.Start, SwampHutStructure.Start, WoodlandMansionStructure.Start

public abstract class StructureStart<C extends IFeatureConfig> extends Object
  • Field Details

  • Constructor Details

    • StructureStart

      public StructureStart(Structure<C> p_i225876_1_, int p_i225876_2_, int p_i225876_3_, MutableBoundingBox p_i225876_4_, int p_i225876_5_, long p_i225876_6_)
  • Method Details

    • generatePieces

      public abstract void generatePieces(DynamicRegistries p_230364_1_, ChunkGenerator p_230364_2_, TemplateManager p_230364_3_, int p_230364_4_, int p_230364_5_, Biome p_230364_6_, C p_230364_7_)
    • getBoundingBox

      public MutableBoundingBox getBoundingBox()
    • getPieces

      public List<StructurePiece> getPieces()
    • placeInChunk

      public void placeInChunk(ISeedReader p_230366_1_, StructureManager p_230366_2_, ChunkGenerator p_230366_3_, Random p_230366_4_, MutableBoundingBox p_230366_5_, ChunkPos p_230366_6_)
    • calculateBoundingBox

      protected void calculateBoundingBox()
    • createTag

      public CompoundNBT createTag(int p_143021_1_, int p_143021_2_)
    • moveBelowSeaLevel

      protected void moveBelowSeaLevel(int p_214628_1_, Random p_214628_2_, int p_214628_3_)
    • moveInsideHeights

      protected void moveInsideHeights(Random p_214626_1_, int p_214626_2_, int p_214626_3_)
    • isValid

      public boolean isValid()
    • getChunkX

      public int getChunkX()
    • getChunkZ

      public int getChunkZ()
    • getLocatePos

      public BlockPos getLocatePos()
    • canBeReferenced

      public boolean canBeReferenced()
    • addReference

      public void addReference()
    • getReferences

      public int getReferences()
    • getMaxReferences

      protected int getMaxReferences()
    • getFeature

      public Structure<?> getFeature()