Class ItemVaultCTBehaviour


public class ItemVaultCTBehaviour extends ConnectedTextureBehaviour.Base
  • Constructor Details

    • ItemVaultCTBehaviour

      public ItemVaultCTBehaviour()
  • 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
    • buildContextForOccludedDirections

      public boolean buildContextForOccludedDirections()
      Overrides:
      buildContextForOccludedDirections 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