Class WGShapeData
java.lang.Object
net.rodofire.easierworldcreator.shape.block.placer.WGShapeData
Class to define how multi-chunk features should be placed.
For example, for terrain modification,
it is better to place the feature before
GenerationStep.Feature.VEGETAL_DECORATION decorations.
This class allows you to manage this and define when is the good moment to place your structure.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionOptional<net.minecraft.util.Pair<net.minecraft.world.gen.feature.PlacedFeature, WGShapeData.PlacementShift>> getName()Optional<net.minecraft.world.gen.GenerationStep.Feature> getStep()static WGShapeDataofShift(WGShapeData.PlacementShift shift, net.minecraft.world.gen.feature.PlacedFeature feature, String name) static WGShapeDatatoString()
-
Method Details
-
ofStep
-
ofShift
public static WGShapeData ofShift(WGShapeData.PlacementShift shift, net.minecraft.world.gen.feature.PlacedFeature feature, String name) -
getName
-
getFeatureShift
public Optional<net.minecraft.util.Pair<net.minecraft.world.gen.feature.PlacedFeature,WGShapeData.PlacementShift>> getFeatureShift() -
getStep
-
toString
-