Class ValueBoxTransform.Sided

java.lang.Object
com.simibubi.create.foundation.blockEntity.behaviour.ValueBoxTransform
com.simibubi.create.foundation.blockEntity.behaviour.ValueBoxTransform.Sided
Direct Known Subclasses:
BrassTunnelFilterSlot, CenteredSideValueBoxTransform, ContraptionControlsBlockEntity.ControlsSlot, DeployerFilterSlot, FilteredDetectorFilterSlot, FunnelFilterSlotPositioning, SmartChuteFilterSlotPositioning, SteamEngineValueBox, ValveHandleBlockEntity.ValveHandleValueBox
Enclosing class:
ValueBoxTransform

public abstract static class ValueBoxTransform.Sided extends ValueBoxTransform
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.simibubi.create.foundation.blockEntity.behaviour.ValueBoxTransform

    ValueBoxTransform.Dual, ValueBoxTransform.Sided
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected net.minecraft.core.Direction
     

    Fields inherited from class com.simibubi.create.foundation.blockEntity.behaviour.ValueBoxTransform

    scale
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    fromSide(net.minecraft.core.Direction direction)
     
    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)
     
    net.minecraft.core.Direction
     
    protected abstract net.minecraft.world.phys.Vec3
     
    protected boolean
    isSideActive(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction)
     
    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)
     
    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)
     

    Methods inherited from class com.simibubi.create.foundation.blockEntity.behaviour.ValueBoxTransform

    getFontScale, getOverrideColor, getScale, rotateHorizontally, transform

    Methods inherited from class java.lang.Object

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

    • direction

      protected net.minecraft.core.Direction direction
  • Constructor Details

    • Sided

      public Sided()
  • Method Details

    • fromSide

      public ValueBoxTransform.Sided fromSide(net.minecraft.core.Direction direction)
    • getLocalOffset

      public 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)
      Specified by:
      getLocalOffset in class ValueBoxTransform
    • getSouthLocation

      protected abstract net.minecraft.world.phys.Vec3 getSouthLocation()
    • rotate

      public 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)
      Specified by:
      rotate in class ValueBoxTransform
    • shouldRender

      public boolean shouldRender(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
      Overrides:
      shouldRender in class ValueBoxTransform
    • 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)
      Overrides:
      testHit in class ValueBoxTransform
    • isSideActive

      protected boolean isSideActive(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction)
    • getSide

      public net.minecraft.core.Direction getSide()