Class ValueBoxTransform.Dual
java.lang.Object
com.simibubi.create.foundation.tileEntity.behaviour.ValueBoxTransform
com.simibubi.create.foundation.tileEntity.behaviour.ValueBoxTransform.Dual
- Direct Known Subclasses:
RedstoneLinkFrequencySlot
- Enclosing class:
- ValueBoxTransform
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.tileEntity.behaviour.ValueBoxTransform
ValueBoxTransform.Dual, ValueBoxTransform.Sided -
Field Summary
FieldsFields inherited from class com.simibubi.create.foundation.tileEntity.behaviour.ValueBoxTransform
scale -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisFirst()static org.apache.commons.lang3.tuple.Pair<ValueBoxTransform,ValueBoxTransform> makeSlots(Function<Boolean, ? extends ValueBoxTransform.Dual> factory) booleantestHit(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 localHit) Methods inherited from class com.simibubi.create.foundation.tileEntity.behaviour.ValueBoxTransform
getFontScale, getLocalOffset, getScale, rotate, rotateHorizontally, shouldRender, transform
-
Field Details
-
first
protected boolean first
-
-
Constructor Details
-
Dual
public Dual(boolean first)
-
-
Method Details
-
isFirst
public boolean isFirst() -
makeSlots
public static org.apache.commons.lang3.tuple.Pair<ValueBoxTransform,ValueBoxTransform> makeSlots(Function<Boolean, ? extends ValueBoxTransform.Dual> factory) -
testHit
public boolean testHit(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 localHit) - Overrides:
testHitin classValueBoxTransform
-