Class HorizontalFacingBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature
Direct Known Subclasses:
AbstractRedstoneGateBlock, BedBlock, BigDripleafBlock, BigDripleafStemBlock, CarvedPumpkinBlock, CocoaBlock, FenceGateBlock, GlazedTerracottaBlock, LoomBlock, TrapdoorBlock, WallMountedBlock

public abstract class HorizontalFacingBlock extends Block
Mappings:
Namespace Name
official csy
intermediary net/minecraft/class_2383
named net/minecraft/block/HorizontalFacingBlock
  • Field Details

    • FACING

      public static final DirectionProperty FACING
      Mappings:
      Namespace Name Mixin selector
      official aC Lcsy;aC:Ldcn;
      intermediary field_11177 Lnet/minecraft/class_2383;field_11177:Lnet/minecraft/class_2753;
      named FACING Lnet/minecraft/block/HorizontalFacingBlock;FACING:Lnet/minecraft/state/property/DirectionProperty;
  • Constructor Details

    • HorizontalFacingBlock

      protected HorizontalFacingBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldbs;<init>(Ldbs$d;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • rotate

      public BlockState rotate(BlockState state, BlockRotation rotation)
      Returns state rotated by rotation.

      By default, this returns the provided block state.

      Overrides:
      rotate in class AbstractBlock
      Returns:
      state rotated by rotation
      Mappings:
      Namespace Name Mixin selector
      official a Ldbs;a(Ldbt;Lcvr;)Ldbt;
      intermediary method_9598 Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;
      named rotate Lnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
    • mirror

      public BlockState mirror(BlockState state, BlockMirror mirror)
      Returns state mirrored by mirror.

      By default, this returns the provided block state.

      Overrides:
      mirror in class AbstractBlock
      Returns:
      state mirrored by mirror
      Mappings:
      Namespace Name Mixin selector
      official a Ldbs;a(Ldbt;Lcua;)Ldbt;
      intermediary method_9569 Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;
      named mirror Lnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;