Class WGShapePlacerManager
java.lang.Object
fr.rodofire.ewc.shape.block.placer.WGShapePlacerManager
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
ConstructorsConstructorDescriptionWGShapePlacerManager(net.minecraft.world.level.ChunkPos pos, int referenceSize) -
Method Summary
Modifier and TypeMethodDescriptionPath[]getLeft(net.minecraft.world.level.WorldGenLevel worldAccess) Path[]getToPlace(net.minecraft.world.level.WorldGenLevel worldAccess, net.minecraft.world.level.levelgen.GenerationStep.Decoration feature) Path[]getToPlace(net.minecraft.world.level.WorldGenLevel worldAccess, net.minecraft.world.level.levelgen.placement.PlacedFeature beforeFeature, net.minecraft.world.level.levelgen.placement.PlacedFeature featureAfter) voidput(WGShapeData placer) voidputAll(List<WGShapeData> placers)
-
Constructor Details
-
WGShapePlacerManager
public WGShapePlacerManager(net.minecraft.world.level.ChunkPos pos, int referenceSize)
-
-
Method Details
-
put
-
putAll
-
getToPlace
public Path[] getToPlace(net.minecraft.world.level.WorldGenLevel worldAccess, net.minecraft.world.level.levelgen.placement.PlacedFeature beforeFeature, net.minecraft.world.level.levelgen.placement.PlacedFeature featureAfter) -
getToPlace
public Path[] getToPlace(net.minecraft.world.level.WorldGenLevel worldAccess, net.minecraft.world.level.levelgen.GenerationStep.Decoration feature) -
getLeft
-