Class LinearChassisBlock.ChassisCTBehaviour

java.lang.Object
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour
com.simibubi.create.foundation.block.connected.ConnectedTextureBehaviour.Base
com.simibubi.create.content.contraptions.components.structureMovement.chassis.LinearChassisBlock.ChassisCTBehaviour
Enclosing class:
LinearChassisBlock

public static class LinearChassisBlock.ChassisCTBehaviour extends ConnectedTextureBehaviour.Base
  • Constructor Details

    • ChassisCTBehaviour

      public ChassisCTBehaviour()
  • Method Details

    • getShift

      public CTSpriteShiftEntry getShift(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, @Nullable @Nullable net.minecraft.client.renderer.texture.TextureAtlasSprite sprite)
      Specified by:
      getShift in class ConnectedTextureBehaviour.Base
    • getUpDirection

      protected net.minecraft.core.Direction getUpDirection(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face)
      Overrides:
      getUpDirection in class ConnectedTextureBehaviour
    • getRightDirection

      protected net.minecraft.core.Direction getRightDirection(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face)
      Overrides:
      getRightDirection in class ConnectedTextureBehaviour
    • reverseUVsHorizontally

      protected boolean reverseUVsHorizontally(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face)
      Overrides:
      reverseUVsHorizontally in class ConnectedTextureBehaviour
    • reverseUVsVertically

      protected boolean reverseUVsVertically(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face)
      Overrides:
      reverseUVsVertically in class ConnectedTextureBehaviour
    • reverseUVs

      public boolean reverseUVs(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face)
      Overrides:
      reverseUVs in class ConnectedTextureBehaviour
    • connectsTo

      public boolean connectsTo(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState other, net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.core.BlockPos otherPos, net.minecraft.core.Direction face)
      Overrides:
      connectsTo in class ConnectedTextureBehaviour