Class SymmetryMirror
java.lang.Object
com.simibubi.create.content.equipment.symmetryWand.mirror.SymmetryMirror
- Direct Known Subclasses:
CrossPlaneMirror,EmptyMirror,PlaneMirror,TriplePlaneMirror
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SymmetryMirror> static final Stringstatic final Stringbooleanprotected net.minecraft.util.StringRepresentableprotected intstatic final Stringprotected net.minecraft.world.phys.Vec3static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf, SymmetryMirror> static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyModelTransform(com.mojang.blaze3d.vertex.PoseStack ms) final booleanprotected net.minecraft.core.BlockPosflipD1(net.minecraft.core.BlockPos position) protected net.minecraft.world.level.block.state.BlockStateflipD1(net.minecraft.world.level.block.state.BlockState in) protected net.minecraft.core.BlockPosflipD2(net.minecraft.core.BlockPos position) protected net.minecraft.world.level.block.state.BlockStateflipD2(net.minecraft.world.level.block.state.BlockState in) protected net.minecraft.core.BlockPosflipX(net.minecraft.core.BlockPos position) protected net.minecraft.world.level.block.state.BlockStateflipX(net.minecraft.world.level.block.state.BlockState in) protected net.minecraft.core.BlockPosflipY(net.minecraft.core.BlockPos position) protected net.minecraft.world.level.block.state.BlockStateflipY(net.minecraft.world.level.block.state.BlockState in) protected net.minecraft.core.BlockPosflipZ(net.minecraft.core.BlockPos position) protected net.minecraft.world.level.block.state.BlockStateflipZ(net.minecraft.world.level.block.state.BlockState in) abstract List<net.minecraft.network.chat.Component> protected net.minecraft.world.phys.Vec3getDiff(net.minecraft.core.BlockPos position) protected net.minecraft.core.BlockPosgetIDiff(net.minecraft.core.BlockPos position) static List<net.minecraft.network.chat.Component> abstract dev.engine_room.flywheel.lib.model.baked.PartialModelgetModel()net.minecraft.util.StringRepresentableintnet.minecraft.world.phys.Vec3inthashCode()voidabstract Map<net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState> process(net.minecraft.core.BlockPos position, net.minecraft.world.level.block.state.BlockState block) voidrotate(boolean forward) protected abstract voidabstract voidsetOrientation(int index) voidsetPosition(net.minecraft.world.phys.Vec3 pos3d) abstract StringtypeName()
-
Field Details
-
EMPTY
- See Also:
-
PLANE
- See Also:
-
CROSS_PLANE
- See Also:
-
TRIPLE_PLANE
- See Also:
-
CODEC
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,SymmetryMirror> STREAM_CODEC -
position
protected net.minecraft.world.phys.Vec3 position -
orientation
protected net.minecraft.util.StringRepresentable orientation -
orientationIndex
protected int orientationIndex -
enable
public boolean enable
-
-
Constructor Details
-
SymmetryMirror
public SymmetryMirror(net.minecraft.world.phys.Vec3 pos)
-
-
Method Details
-
getMirrors
-
getOrientation
public net.minecraft.util.StringRepresentable getOrientation() -
getPosition
public net.minecraft.world.phys.Vec3 getPosition() -
getOrientationIndex
public int getOrientationIndex() -
rotate
public void rotate(boolean forward) -
process
public void process(Map<net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState> blocks) -
process
public abstract Map<net.minecraft.core.BlockPos,net.minecraft.world.level.block.state.BlockState> process(net.minecraft.core.BlockPos position, net.minecraft.world.level.block.state.BlockState block) -
setOrientation
protected abstract void setOrientation() -
setOrientation
public abstract void setOrientation(int index) -
typeName
-
getModel
public abstract dev.engine_room.flywheel.lib.model.baked.PartialModel getModel() -
applyModelTransform
public void applyModelTransform(com.mojang.blaze3d.vertex.PoseStack ms) -
getDiff
protected net.minecraft.world.phys.Vec3 getDiff(net.minecraft.core.BlockPos position) -
getIDiff
protected net.minecraft.core.BlockPos getIDiff(net.minecraft.core.BlockPos position) -
flipX
protected net.minecraft.world.level.block.state.BlockState flipX(net.minecraft.world.level.block.state.BlockState in) -
flipY
protected net.minecraft.world.level.block.state.BlockState flipY(net.minecraft.world.level.block.state.BlockState in) -
flipZ
protected net.minecraft.world.level.block.state.BlockState flipZ(net.minecraft.world.level.block.state.BlockState in) -
flipD1
protected net.minecraft.world.level.block.state.BlockState flipD1(net.minecraft.world.level.block.state.BlockState in) -
flipD2
protected net.minecraft.world.level.block.state.BlockState flipD2(net.minecraft.world.level.block.state.BlockState in) -
flipX
protected net.minecraft.core.BlockPos flipX(net.minecraft.core.BlockPos position) -
flipY
protected net.minecraft.core.BlockPos flipY(net.minecraft.core.BlockPos position) -
flipZ
protected net.minecraft.core.BlockPos flipZ(net.minecraft.core.BlockPos position) -
flipD2
protected net.minecraft.core.BlockPos flipD2(net.minecraft.core.BlockPos position) -
flipD1
protected net.minecraft.core.BlockPos flipD1(net.minecraft.core.BlockPos position) -
setPosition
public void setPosition(net.minecraft.world.phys.Vec3 pos3d) -
getAlignToolTips
-
equals
-
hashCode
public int hashCode()
-