Class PillarBlock

All Implemented Interfaces:
ItemConvertible
Direct Known Subclasses:
ChainBlock, HayBlock

public class PillarBlock
extends Block
Mappings:
Namespace Name
official ccl
intermediary net/minecraft/class_2465
named net/minecraft/block/PillarBlock
  • Field Details

    • AXIS

      public static final EnumProperty<Direction.Axis> AXIS
      Mappings:
      Namespace Name Mixin selector
      official e Lccl;e:Lcir;
      intermediary field_11459 Lnet/minecraft/class_2465;field_11459:Lnet/minecraft/class_2754;
      named AXIS Lnet/minecraft/block/PillarBlock;AXIS:Lnet/minecraft/state/property/EnumProperty;
  • Constructor Details

    • PillarBlock

      public PillarBlock​(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lchs;<init>(Lchs$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 Lchs;a(Lcht;Lccm;)Lcht;
      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;
    • appendProperties

      protected void appendProperties​(StateManager.Builder<Block,​BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbwu;a(Lchu$a;)V
      intermediary method_9515 Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
    • getPlacementState

      public BlockState getPlacementState​(ItemPlacementContext ctx)
      Overrides:
      getPlacementState in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbwu;a(Lbpv;)Lcht;
      intermediary method_9605 Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
      named getPlacementState Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;