Class ValueBoxTransform

java.lang.Object
com.simibubi.create.foundation.tileEntity.behaviour.ValueBoxTransform
Direct Known Subclasses:
BrassDiodeScrollSlot, DeployerFilterSlot, FilteredDetectorFilterSlot, SawFilterSlot, ValueBoxTransform.Dual, ValueBoxTransform.Sided

public abstract class ValueBoxTransform extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected float
     
    protected abstract net.minecraft.world.phys.Vec3
    getLocalOffset(net.minecraft.world.level.block.state.BlockState state)
     
    protected float
     
    protected abstract void
    rotate(net.minecraft.world.level.block.state.BlockState state, com.mojang.blaze3d.vertex.PoseStack ms)
     
    protected net.minecraft.world.phys.Vec3
    rotateHorizontally(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 vec)
     
    boolean
    shouldRender(net.minecraft.world.level.block.state.BlockState state)
     
    boolean
    testHit(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 localHit)
     
    void
    transform(net.minecraft.world.level.block.state.BlockState state, com.mojang.blaze3d.vertex.PoseStack ms)
     

    Methods inherited from class java.lang.Object

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

    • scale

      protected float scale
  • Constructor Details

    • ValueBoxTransform

      public ValueBoxTransform()
  • Method Details

    • getLocalOffset

      protected abstract net.minecraft.world.phys.Vec3 getLocalOffset(net.minecraft.world.level.block.state.BlockState state)
    • rotate

      protected abstract void rotate(net.minecraft.world.level.block.state.BlockState state, com.mojang.blaze3d.vertex.PoseStack ms)
    • testHit

      public boolean testHit(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 localHit)
    • transform

      public void transform(net.minecraft.world.level.block.state.BlockState state, com.mojang.blaze3d.vertex.PoseStack ms)
    • shouldRender

      public boolean shouldRender(net.minecraft.world.level.block.state.BlockState state)
    • rotateHorizontally

      protected net.minecraft.world.phys.Vec3 rotateHorizontally(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 vec)
    • getScale

      protected float getScale()
    • getFontScale

      protected float getFontScale()