Class ValueBoxTransform

java.lang.Object
com.simibubi.create.foundation.blockEntity.behaviour.ValueBoxTransform
Direct Known Subclasses:
BrassDiodeScrollSlot, HatchFilterSlot, 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
    float
     
    abstract net.minecraft.world.phys.Vec3
    getLocalOffset(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
    int
     
    float
     
    abstract void
    rotate(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, 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.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
    boolean
    testHit(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 localHit)
     
    void
    transform(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, 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

      public abstract net.minecraft.world.phys.Vec3 getLocalOffset(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
    • rotate

      public abstract void rotate(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, com.mojang.blaze3d.vertex.PoseStack ms)
    • testHit

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

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

      public boolean shouldRender(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
    • getOverrideColor

      public int getOverrideColor()
    • rotateHorizontally

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

      public float getScale()
    • getFontScale

      public float getFontScale()