Class OuterCylindricalLayer
java.lang.Object
net.rodofire.easierworldcreator.shape.block.layer.AbstractRadialLikeLayer
net.rodofire.easierworldcreator.shape.block.layer.AbstractOuterLayer
net.rodofire.easierworldcreator.shape.block.layer.OuterCylindricalLayer
- All Implemented Interfaces:
Layer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BlockLayerManagerprotected net.minecraft.util.math.Vec3dprotected net.minecraft.util.math.Vec3dFields inherited from class net.rodofire.easierworldcreator.shape.block.layer.AbstractOuterLayer
maxDistance -
Method Summary
Modifier and TypeMethodDescriptionprotected intfindLayerIndex(int[] layerDistance, float distance) net.minecraft.util.math.Vec3dnet.minecraft.util.math.Vec3dprotected floatgetDistance(int[] pos) protected floatgetDistance(int posX, int posY, int posZ) voidsetCenterPos(net.minecraft.util.math.Vec3d centerPos) voidsetDirectionVector(net.minecraft.util.math.Vec3i directionVector) Methods inherited from class net.rodofire.easierworldcreator.shape.block.layer.AbstractOuterLayer
get, get, get, getDivided, getDivided, getDivided, getVerified, getVerified, getVerified, getVerifiedDivided, getVerifiedDivided, getVerifiedDivided, place, place, place
-
Field Details
-
blockLayer
-
centerPos
protected net.minecraft.util.math.Vec3d centerPos -
directionVector
protected net.minecraft.util.math.Vec3d directionVector
-
-
Method Details
-
findLayerIndex
protected int findLayerIndex(int[] layerDistance, float distance) - Specified by:
findLayerIndexin classAbstractRadialLikeLayer
-
getDistance
protected float getDistance(int[] pos) - Specified by:
getDistancein classAbstractRadialLikeLayer
-
getDistance
protected float getDistance(int posX, int posY, int posZ) - Specified by:
getDistancein classAbstractRadialLikeLayer
-
getCenterPos
public net.minecraft.util.math.Vec3d getCenterPos()- Specified by:
getCenterPosin interfaceLayer
-
setCenterPos
public void setCenterPos(net.minecraft.util.math.Vec3d centerPos) - Specified by:
setCenterPosin interfaceLayer
-
getDirectionVector
public net.minecraft.util.math.Vec3d getDirectionVector()- Specified by:
getDirectionVectorin interfaceLayer
-
setDirectionVector
public void setDirectionVector(net.minecraft.util.math.Vec3i directionVector) - Specified by:
setDirectionVectorin interfaceLayer
-