Class InnerCylindricalLayer
java.lang.Object
fr.rodofire.ewc.shape.block.layer.AbstractRadialLikeLayer
fr.rodofire.ewc.shape.block.layer.InnerCylindricalLayer
- All Implemented Interfaces:
Layer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BlockLayerManagerprotected net.minecraft.world.phys.Vec3protected net.minecraft.world.phys.Vec3 -
Method Summary
Modifier and TypeMethodDescriptionprotected intfindLayerIndex(int[] layerDistance, float distance) net.minecraft.world.phys.Vec3net.minecraft.world.phys.Vec3protected floatgetDistance(int[] pos) protected floatgetDistance(int posX, int posY, int posZ) voidsetCenterPos(net.minecraft.world.phys.Vec3 centerPos) voidsetDirectionVector(net.minecraft.core.Vec3i directionVector) Methods inherited from class fr.rodofire.ewc.shape.block.layer.AbstractRadialLikeLayer
get, get, get, getDivided, getDivided, getDivided, getVerified, getVerified, getVerified, getVerifiedDivided, getVerifiedDivided, getVerifiedDivided, place, place, place
-
Field Details
-
blockLayer
-
centerPos
protected net.minecraft.world.phys.Vec3 centerPos -
directionVector
protected net.minecraft.world.phys.Vec3 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.world.phys.Vec3 getCenterPos()- Specified by:
getCenterPosin interfaceLayer
-
setCenterPos
public void setCenterPos(net.minecraft.world.phys.Vec3 centerPos) - Specified by:
setCenterPosin interfaceLayer
-
getDirectionVector
public net.minecraft.world.phys.Vec3 getDirectionVector()- Specified by:
getDirectionVectorin interfaceLayer
-
setDirectionVector
public void setDirectionVector(net.minecraft.core.Vec3i directionVector) - Specified by:
setDirectionVectorin interfaceLayer
-