Class ContraptionControlsBlockEntity.ControlsSlot
java.lang.Object
com.simibubi.create.foundation.blockEntity.behaviour.ValueBoxTransform
com.simibubi.create.foundation.blockEntity.behaviour.ValueBoxTransform.Sided
com.simibubi.create.content.contraptions.actors.contraptionControls.ContraptionControlsBlockEntity.ControlsSlot
- Enclosing class:
ContraptionControlsBlockEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.blockEntity.behaviour.ValueBoxTransform
ValueBoxTransform.Dual, ValueBoxTransform.Sided -
Field Summary
Fields inherited from class com.simibubi.create.foundation.blockEntity.behaviour.ValueBoxTransform.Sided
directionFields inherited from class com.simibubi.create.foundation.blockEntity.behaviour.ValueBoxTransform
scale -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.phys.Vec3getLocalOffset(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) floatgetScale()protected net.minecraft.world.phys.Vec3voidrotate(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 com.simibubi.create.foundation.blockEntity.behaviour.ValueBoxTransform.Sided
fromSide, getSide, isSideActive, shouldRender, testHitMethods inherited from class com.simibubi.create.foundation.blockEntity.behaviour.ValueBoxTransform
getFontScale, getOverrideColor, rotateHorizontally, transform
-
Constructor Details
-
ControlsSlot
public ControlsSlot()
-
-
Method Details
-
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) - Overrides:
getLocalOffsetin classValueBoxTransform.Sided
-
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) - Overrides:
rotatein classValueBoxTransform.Sided
-
getScale
public float getScale()- Overrides:
getScalein classValueBoxTransform
-
getSouthLocation
protected net.minecraft.world.phys.Vec3 getSouthLocation()- Specified by:
getSouthLocationin classValueBoxTransform.Sided
-