java.lang.Object
com.simibubi.create.content.equipment.symmetryWand.mirror.SymmetryMirror
Direct Known Subclasses:
CrossPlaneMirror, EmptyMirror, PlaneMirror, TriplePlaneMirror

public abstract class SymmetryMirror extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<SymmetryMirror>
     
    static final String
     
    static final String
     
    boolean
     
    protected net.minecraft.util.StringRepresentable
     
    protected int
     
    static final String
     
    protected net.minecraft.world.phys.Vec3
     
    static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,SymmetryMirror>
     
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SymmetryMirror(net.minecraft.world.phys.Vec3 pos)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyModelTransform(com.mojang.blaze3d.vertex.PoseStack ms)
     
    final boolean
     
    protected net.minecraft.core.BlockPos
    flipD1(net.minecraft.core.BlockPos position)
     
    protected net.minecraft.world.level.block.state.BlockState
    flipD1(net.minecraft.world.level.block.state.BlockState in)
     
    protected net.minecraft.core.BlockPos
    flipD2(net.minecraft.core.BlockPos position)
     
    protected net.minecraft.world.level.block.state.BlockState
    flipD2(net.minecraft.world.level.block.state.BlockState in)
     
    protected net.minecraft.core.BlockPos
    flipX(net.minecraft.core.BlockPos position)
     
    protected net.minecraft.world.level.block.state.BlockState
    flipX(net.minecraft.world.level.block.state.BlockState in)
     
    protected net.minecraft.core.BlockPos
    flipY(net.minecraft.core.BlockPos position)
     
    protected net.minecraft.world.level.block.state.BlockState
    flipY(net.minecraft.world.level.block.state.BlockState in)
     
    protected net.minecraft.core.BlockPos
    flipZ(net.minecraft.core.BlockPos position)
     
    protected net.minecraft.world.level.block.state.BlockState
    flipZ(net.minecraft.world.level.block.state.BlockState in)
     
    abstract List<net.minecraft.network.chat.Component>
     
    protected net.minecraft.world.phys.Vec3
    getDiff(net.minecraft.core.BlockPos position)
     
    protected net.minecraft.core.BlockPos
    getIDiff(net.minecraft.core.BlockPos position)
     
    static List<net.minecraft.network.chat.Component>
     
    abstract dev.engine_room.flywheel.lib.model.baked.PartialModel
     
    net.minecraft.util.StringRepresentable
     
    int
     
    net.minecraft.world.phys.Vec3
     
    int
     
    void
    process(Map<net.minecraft.core.BlockPos,net.minecraft.world.level.block.state.BlockState> blocks)
     
    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)
     
    void
    rotate(boolean forward)
     
    protected abstract void
     
    abstract void
    setOrientation(int index)
     
    void
    setPosition(net.minecraft.world.phys.Vec3 pos3d)
     
    abstract String
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • EMPTY

      public static final String EMPTY
      See Also:
    • PLANE

      public static final String PLANE
      See Also:
    • CROSS_PLANE

      public static final String CROSS_PLANE
      See Also:
    • TRIPLE_PLANE

      public static final String TRIPLE_PLANE
      See Also:
    • CODEC

      public static final com.mojang.serialization.Codec<SymmetryMirror> 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

      public static List<net.minecraft.network.chat.Component> 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

      public abstract String 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

      public abstract List<net.minecraft.network.chat.Component> getAlignToolTips()
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object