java.lang.Object
com.simibubi.create.content.curiosities.symmetry.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 String
     
    static final String
     
    boolean
     
    protected net.minecraft.util.StringRepresentable
     
    protected int
     
    static final String
     
    protected net.minecraft.world.phys.Vec3
     
    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)
     
    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)
     
    fromNBT(net.minecraft.nbt.CompoundTag nbt)
     
    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 com.jozufozu.flywheel.core.PartialModel
     
    net.minecraft.util.StringRepresentable
     
    int
     
    net.minecraft.world.phys.Vec3
     
    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
     
    net.minecraft.nbt.CompoundTag
     

    Methods inherited from class java.lang.Object

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

  • 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 com.jozufozu.flywheel.core.PartialModel getModel()
    • applyModelTransform

      public void applyModelTransform(com.mojang.blaze3d.vertex.PoseStack ms)
    • writeToNbt

      public net.minecraft.nbt.CompoundTag writeToNbt()
    • fromNBT

      public static SymmetryMirror fromNBT(net.minecraft.nbt.CompoundTag nbt)
    • 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()