Class AbstractOuterLayer
java.lang.Object
fr.rodofire.ewc.shape.block.layer.AbstractRadialLikeLayer
fr.rodofire.ewc.shape.block.layer.AbstractOuterLayer
- All Implemented Interfaces:
Layer
- Direct Known Subclasses:
OuterCylindricalLayer,OuterRadialLayer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BlockLayerManagerprotected net.minecraft.world.phys.Vec3protected net.minecraft.world.phys.Vec3protected float -
Method Summary
Modifier and TypeMethodDescription<T extends Collection<net.minecraft.core.BlockPos>>
BlockListManagerget(T posList) <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection>
BlockListManagerget(U posList) net.minecraft.world.phys.Vec3net.minecraft.world.phys.Vec3getDivided(Map<net.minecraft.world.level.ChunkPos, it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap) <T extends Collection<net.minecraft.core.BlockPos>>
DividedBlockListManagergetDivided(T posList) <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection>
DividedBlockListManagergetDivided(U posList) getVerified(net.minecraft.world.level.WorldGenLevel world, Map<net.minecraft.world.level.ChunkPos, it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap) <T extends Collection<net.minecraft.core.BlockPos>>
BlockListManagergetVerified(net.minecraft.world.level.WorldGenLevel world, T posList) <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection>
BlockListManagergetVerified(net.minecraft.world.level.WorldGenLevel world, U posList) getVerifiedDivided(net.minecraft.world.level.WorldGenLevel world, Map<net.minecraft.world.level.ChunkPos, it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap) <T extends Collection<net.minecraft.core.BlockPos>>
DividedBlockListManagergetVerifiedDivided(net.minecraft.world.level.WorldGenLevel world, T posList) <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection>
DividedBlockListManagergetVerifiedDivided(net.minecraft.world.level.WorldGenLevel world, U posList) voidplace(net.minecraft.world.level.WorldGenLevel world, Map<net.minecraft.world.level.ChunkPos, it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap) <T extends Collection<net.minecraft.core.BlockPos>>
voidplace(net.minecraft.world.level.WorldGenLevel world, T posList) <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection>
voidplace(net.minecraft.world.level.WorldGenLevel world, U posList) voidsetCenterPos(net.minecraft.world.phys.Vec3 centerPos) voidsetDirectionVector(net.minecraft.core.Vec3i directionVector) Methods inherited from class fr.rodofire.ewc.shape.block.layer.AbstractRadialLikeLayer
findLayerIndex, getDistance, getDistance
-
Field Details
-
maxDistance
protected float maxDistance -
blockLayer
-
centerPos
protected net.minecraft.world.phys.Vec3 centerPos -
directionVector
protected net.minecraft.world.phys.Vec3 directionVector
-
-
Method Details
-
get
- Specified by:
getin interfaceLayer- Overrides:
getin classAbstractRadialLikeLayer
-
get
public <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection> BlockListManager get(U posList) - Specified by:
getin interfaceLayer- Overrides:
getin classAbstractRadialLikeLayer
-
get
public BlockListManager get(Map<net.minecraft.world.level.ChunkPos, it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap) - Specified by:
getin interfaceLayer- Overrides:
getin classAbstractRadialLikeLayer
-
getVerified
public <T extends Collection<net.minecraft.core.BlockPos>> BlockListManager getVerified(net.minecraft.world.level.WorldGenLevel world, T posList) - Specified by:
getVerifiedin interfaceLayer- Overrides:
getVerifiedin classAbstractRadialLikeLayer
-
place
public <T extends Collection<net.minecraft.core.BlockPos>> void place(net.minecraft.world.level.WorldGenLevel world, T posList) - Specified by:
placein interfaceLayer- Overrides:
placein classAbstractRadialLikeLayer
-
getVerified
public <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection> BlockListManager getVerified(net.minecraft.world.level.WorldGenLevel world, U posList) - Specified by:
getVerifiedin interfaceLayer- Overrides:
getVerifiedin classAbstractRadialLikeLayer
-
getVerified
public BlockListManager getVerified(net.minecraft.world.level.WorldGenLevel world, Map<net.minecraft.world.level.ChunkPos, it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap) - Specified by:
getVerifiedin interfaceLayer- Overrides:
getVerifiedin classAbstractRadialLikeLayer
-
getDivided
public <T extends Collection<net.minecraft.core.BlockPos>> DividedBlockListManager getDivided(T posList) - Specified by:
getDividedin interfaceLayer- Overrides:
getDividedin classAbstractRadialLikeLayer
-
getDivided
public <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection> DividedBlockListManager getDivided(U posList) - Specified by:
getDividedin interfaceLayer- Overrides:
getDividedin classAbstractRadialLikeLayer
-
getDivided
public DividedBlockListManager getDivided(Map<net.minecraft.world.level.ChunkPos, it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap) - Specified by:
getDividedin interfaceLayer- Overrides:
getDividedin classAbstractRadialLikeLayer
-
getVerifiedDivided
public <T extends Collection<net.minecraft.core.BlockPos>> DividedBlockListManager getVerifiedDivided(net.minecraft.world.level.WorldGenLevel world, T posList) - Specified by:
getVerifiedDividedin interfaceLayer- Overrides:
getVerifiedDividedin classAbstractRadialLikeLayer
-
getVerifiedDivided
public <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection> DividedBlockListManager getVerifiedDivided(net.minecraft.world.level.WorldGenLevel world, U posList) - Specified by:
getVerifiedDividedin interfaceLayer- Overrides:
getVerifiedDividedin classAbstractRadialLikeLayer
-
getVerifiedDivided
public DividedBlockListManager getVerifiedDivided(net.minecraft.world.level.WorldGenLevel world, Map<net.minecraft.world.level.ChunkPos, it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap) - Specified by:
getVerifiedDividedin interfaceLayer- Overrides:
getVerifiedDividedin classAbstractRadialLikeLayer
-
place
public <U extends it.unimi.dsi.fastutil.longs.AbstractLongCollection> void place(net.minecraft.world.level.WorldGenLevel world, U posList) - Specified by:
placein interfaceLayer- Overrides:
placein classAbstractRadialLikeLayer
-
place
public void place(net.minecraft.world.level.WorldGenLevel world, Map<net.minecraft.world.level.ChunkPos, it.unimi.dsi.fastutil.longs.LongOpenHashSet> posMap) - Specified by:
placein interfaceLayer- Overrides:
placein 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
-