Class HorizontalFacingBlock

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

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

    • FACING

      public static final DirectionProperty FACING
      Mappings:
      Namespace Name Mixin selector
      official aD Lcmi;aD:Lcvl;
      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> Lcuq;<init>(Lcuq$c;)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)
      Applies a block rotation to a block state.

      By default, this returns the provided block state.

      Overrides:
      rotate in class AbstractBlock
      Returns:
      the rotated block state
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lcoz;)Lcur;
      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)
      Overrides:
      mirror in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lcnk;)Lcur;
      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;