Class RoofBlockCTBehaviour


public class RoofBlockCTBehaviour extends ConnectedTextureBehaviour.Base
  • Constructor Details

  • Method Details

    • getShift

      @Nullable public @Nullable 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
    • buildContextForOccludedDirections

      public boolean buildContextForOccludedDirections()
      Overrides:
      buildContextForOccludedDirections in class ConnectedTextureBehaviour
    • buildContext

      public ConnectedTextureBehaviour.CTContext buildContext(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face, ConnectedTextureBehaviour.ContextRequirement requirement)
      Overrides:
      buildContext 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, net.minecraft.core.Direction primaryOffset, net.minecraft.core.Direction secondaryOffset)
      Overrides:
      connectsTo in class ConnectedTextureBehaviour
    • isUprightStair

      public boolean isUprightStair(net.minecraft.world.level.block.state.BlockState state)
    • getStairMapping

      public ConnectedTextureBehaviour.CTContext getStairMapping(net.minecraft.world.level.block.state.BlockState state)
    • connects

      protected boolean connects(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState other)
    • connectsHigh

      protected boolean connectsHigh(net.minecraft.world.level.BlockAndTintGetter reader, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState other, net.minecraft.world.level.block.state.BlockState aboveOther)
    • getDataType

      @Nullable public @Nullable CTType getDataType(net.minecraft.world.level.BlockAndTintGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction)
      Overrides:
      getDataType in class ConnectedTextureBehaviour.Base