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

public static class ContraptionControlsBlockEntity.ControlsSlot extends ValueBoxTransform.Sided
  • 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:
      getLocalOffset in class ValueBoxTransform.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:
      rotate in class ValueBoxTransform.Sided
    • getScale

      public float getScale()
      Overrides:
      getScale in class ValueBoxTransform
    • getSouthLocation

      protected net.minecraft.world.phys.Vec3 getSouthLocation()
      Specified by:
      getSouthLocation in class ValueBoxTransform.Sided