Class RodBlock

All Implemented Interfaces:
ItemConvertible
Direct Known Subclasses:
EndRodBlock, LightningRodBlock

public class RodBlock extends FacingBlock
Mappings:
Namespace Name
official cfg
intermediary net/minecraft/class_2337
named net/minecraft/block/RodBlock
  • Field Details

    • field_31233

      protected static final float field_31233
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official e Lcfg;e:F
      intermediary field_31233 Lnet/minecraft/class_2337;field_31233:F
      named field_31233 Lnet/minecraft/block/RodBlock;field_31233:F
    • field_31234

      protected static final float field_31234
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official f Lcfg;f:F
      intermediary field_31234 Lnet/minecraft/class_2337;field_31234:F
      named field_31234 Lnet/minecraft/block/RodBlock;field_31234:F
    • Y_SHAPE

      protected static final VoxelShape Y_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official g Lcfg;g:Ldnt;
      intermediary field_10971 Lnet/minecraft/class_2337;field_10971:Lnet/minecraft/class_265;
      named Y_SHAPE Lnet/minecraft/block/RodBlock;Y_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • Z_SHAPE

      protected static final VoxelShape Z_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official h Lcfg;h:Ldnt;
      intermediary field_10970 Lnet/minecraft/class_2337;field_10970:Lnet/minecraft/class_265;
      named Z_SHAPE Lnet/minecraft/block/RodBlock;Z_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • X_SHAPE

      protected static final VoxelShape X_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official i Lcfg;i:Ldnt;
      intermediary field_10969 Lnet/minecraft/class_2337;field_10969:Lnet/minecraft/class_265;
      named X_SHAPE Lnet/minecraft/block/RodBlock;X_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
  • Constructor Details

    • RodBlock

      protected RodBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lckr;<init>(Lckr$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

    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lckr;a(Lcks;Lbvt;Lgg;Ldnf;)Ldnt;
      intermediary method_9530 Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getOutlineShape Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • 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 Lckr;a(Lcks;Lcfk;)Lcks;
      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 Lckr;a(Lcks;Lcdx;)Lcks;
      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;
    • canPathfindThrough

      public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
      Overrides:
      canPathfindThrough in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lckr;a(Lcks;Lbvt;Lgg;Ldhb;)Z
      intermediary method_9516 Lnet/minecraft/class_4970;method_9516(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_10;)Z
      named canPathfindThrough Lnet/minecraft/block/AbstractBlock;canPathfindThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/ai/pathing/NavigationType;)Z