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

public class ShapePlacer extends Object
Class that allow you to place a structure based on a coordinate map or a BlockListManager. It takes ShapePlacer.PlaceMoment argument which define when should the structure be placed. Different behaviors will happen depending on it. Since that placement is different depending on the moment where the shape is being placed, we have to use the enum.
  • Constructor Details

    • ShapePlacer

      public ShapePlacer(net.minecraft.world.StructureWorldAccess world, ShapePlacer.PlaceMoment placeMoment, net.minecraft.util.math.BlockPos center)
    • ShapePlacer

      public ShapePlacer(net.minecraft.world.StructureWorldAccess world, ShapePlacer.PlaceMoment placeMoment, net.minecraft.util.math.BlockPos center, net.minecraft.util.Identifier featureName)
    • ShapePlacer

      public ShapePlacer(net.minecraft.world.StructureWorldAccess world, ShapePlacer.PlaceMoment placeMoment, WGShapeData shapeData, net.minecraft.util.math.BlockPos center)
    • ShapePlacer

      public ShapePlacer(net.minecraft.world.StructureWorldAccess world, ShapePlacer.PlaceMoment placeMoment, WGShapeData shapeData, net.minecraft.util.math.BlockPos center, net.minecraft.util.Identifier featureName)
  • Method Details