Class WGShapePlacerManager

java.lang.Object
net.rodofire.easierworldcreator.shape.block.placer.WGShapePlacerManager

public class WGShapePlacerManager extends Object
Class to manager all the multi-chunk features of a chunk. This an object of this class is created for each chunk in ChunkGeneratorMixin when the chunk get generated. The class gives the JSON files path of the moment being generated.
  • Constructor Summary

    Constructors
    Constructor
    Description
    WGShapePlacerManager(net.minecraft.util.math.ChunkPos pos, int referenceSize)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getLeft(net.minecraft.world.StructureWorldAccess worldAccess)
     
    getToPlace(net.minecraft.world.StructureWorldAccess worldAccess, net.minecraft.world.gen.feature.PlacedFeature beforeFeature, net.minecraft.world.gen.feature.PlacedFeature featureAfter)
     
    getToPlace(net.minecraft.world.StructureWorldAccess worldAccess, net.minecraft.world.gen.GenerationStep.Feature feature)
     
    void
    put(WGShapeData placer)
     
    void
     

    Methods inherited from class java.lang.Object

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

    • WGShapePlacerManager

      public WGShapePlacerManager(net.minecraft.util.math.ChunkPos pos, int referenceSize)
  • Method Details

    • put

      public void put(WGShapeData placer)
    • putAll

      public void putAll(List<WGShapeData> placers)
    • getToPlace

      public Path[] getToPlace(net.minecraft.world.StructureWorldAccess worldAccess, net.minecraft.world.gen.feature.PlacedFeature beforeFeature, net.minecraft.world.gen.feature.PlacedFeature featureAfter)
    • getToPlace

      public Path[] getToPlace(net.minecraft.world.StructureWorldAccess worldAccess, net.minecraft.world.gen.GenerationStep.Feature feature)
    • getLeft

      public Path[] getLeft(net.minecraft.world.StructureWorldAccess worldAccess)