Class CylinderGen
java.lang.Object
net.rodofire.easierworldcreator.shapeutil.Shape
net.rodofire.easierworldcreator.shapeutil.FillableShape
net.rodofire.easierworldcreator.shapegen.CylinderGen
class to generate cylinder
this class use methods to generate circles with some modifications for the height
-
Nested Class Summary
Nested classes/interfaces inherited from class net.rodofire.easierworldcreator.shapeutil.FillableShape
FillableShape.TypeNested classes/interfaces inherited from class net.rodofire.easierworldcreator.shapeutil.Shape
Shape.LayerPlace, Shape.LayersType, Shape.PlaceType -
Constructor Summary
ConstructorsConstructorDescriptionCylinderGen(@NotNull net.minecraft.world.StructureWorldAccess world, @NotNull net.minecraft.util.math.BlockPos pos, int radius, int height) -
Method Summary
Modifier and TypeMethodDescriptionList<net.minecraft.util.math.BlockPos> List<net.minecraft.util.math.BlockPos> this generates a full cylinderList<net.minecraft.util.math.BlockPos> List<net.minecraft.util.math.BlockPos> this generates a full cylinderList<net.minecraft.util.math.BlockPos> List<net.minecraft.util.math.BlockPos> intList<net.minecraft.util.math.BlockPos> getOvalBlocks(int centerX, int centerZ, int x, int y, int z) intintList<net.minecraft.util.math.Vec3d> getVec3d()List<net.minecraft.util.math.BlockPos> placeFullOval(int centerX, int centerZ, int x, int y, int z) voidsetHeight(int height) voidsetRadiusX(int radius) voidsetRadiusZ(int radius) Methods inherited from class net.rodofire.easierworldcreator.shapeutil.FillableShape
getCustomFill, getFillingType, setCustomFill, setFill, setFillingTypeMethods inherited from class net.rodofire.easierworldcreator.shapeutil.Shape
addBlockLayer, addBlockLayers, addBlocksToForce, addBlocksToForce, addPosOffset, addSecondxrotation, addXrotation, addYrotation, getBlockLayer, getBlockLayers, getBlocksToForce, getCoordinatesRotation, getCoordinatesRotation, getCoordinatesRotationList, getForce, getGenTime, getLayerPlace, getLayersType, getNoise, getPlaceType, getPos, getRotations, getSecondXrotation, getWorld, getXrotation, getYrotation, place, placeBlocks, placeBlocks, placeBlocksWithVerification, placeBlocksWithVerification, placeCylindricalBlocks, placeFirstSurfaceBlockLayers, placeLayers, placeRadialBlocks, placeSurfaceBlockLayers, removeBlockLayer, removeBlockLayer, removeBlockLayer, setBlockLayers, setBlockLayers, setBlocksToForce, setForce, setLayerDirection, setLayerPlace, setLayersType, setNoise, setPlaceType, setPos, setSecondxrotation, setXrotation, setYrotation, verifyBlocks
-
Constructor Details
-
CylinderGen
public CylinderGen(@NotNull @NotNull net.minecraft.world.StructureWorldAccess world, @NotNull @NotNull net.minecraft.util.math.BlockPos pos, int radius, int height)
-
-
Method Details
-
setHeight
public void setHeight(int height) -
getHeight
public int getHeight() -
setRadiusX
public void setRadiusX(int radius) -
getRadiusX
public int getRadiusX() -
setRadiusZ
public void setRadiusZ(int radius) -
getRadiusZ
public int getRadiusZ() -
getBlockPos
- Specified by:
getBlockPosin classShape
-
generateCylinder
-
generateFullCylinder
this generates a full cylinder- Returns:
- blockStates list of the structures
-
generateEmptyCylinder
this generates a full cylinder- Returns:
- blockStates list of the structures
-
generateFatsOval
-
getOvalBlocks
public List<net.minecraft.util.math.BlockPos> getOvalBlocks(int centerX, int centerZ, int x, int y, int z) -
placeFullOval
public List<net.minecraft.util.math.BlockPos> placeFullOval(int centerX, int centerZ, int x, int y, int z) -
getCircleWithRotation
-
getVec3d
-