Class AbstractSkullBlock

All Implemented Interfaces:
BlockEntityProvider, ItemConvertible, Vanishable, Wearable
Direct Known Subclasses:
SkullBlock, WallSkullBlock

public abstract class AbstractSkullBlock extends BlockWithEntity implements Wearable
Mappings:
Namespace Name
official byl
intermediary net/minecraft/class_2190
named net/minecraft/block/AbstractSkullBlock
  • Field Details

    • type

      private final SkullBlock.SkullType type
      Mappings:
      Namespace Name Mixin selector
      official a Lbyl;a:Lcfu$a;
      intermediary field_9867 Lnet/minecraft/class_2190;field_9867:Lnet/minecraft/class_2484$class_2485;
      named type Lnet/minecraft/block/AbstractSkullBlock;type:Lnet/minecraft/block/SkullBlock$SkullType;
  • Constructor Details

    • AbstractSkullBlock

      public AbstractSkullBlock(SkullBlock.SkullType type, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbyl;<init>(Lcfu$a;Lckr$c;)V
      intermediary <init> Lnet/minecraft/class_2190;<init>(Lnet/minecraft/class_2484$class_2485;Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractSkullBlock;<init>(Lnet/minecraft/block/SkullBlock$SkullType;Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • createBlockEntity

      public BlockEntity createBlockEntity(BlockPos pos, BlockState state)
      Specified by:
      createBlockEntity in interface BlockEntityProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lcbv;a(Lgg;Lcks;)Lcip;
      intermediary method_10123 Lnet/minecraft/class_2343;method_10123(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;
      named createBlockEntity Lnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/BlockEntity;
    • getTicker

      @Nullable public <T extends BlockEntity> @Nullable BlockEntityTicker<T> getTicker(World world, BlockState state, BlockEntityType<T> type)
      Specified by:
      getTicker in interface BlockEntityProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lcbv;a(Lbwp;Lcks;Lcir;)Lciq;
      intermediary method_31645 Lnet/minecraft/class_2343;method_31645(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2591;)Lnet/minecraft/class_5558;
      named getTicker Lnet/minecraft/block/BlockEntityProvider;getTicker(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntityType;)Lnet/minecraft/block/entity/BlockEntityTicker;
    • getSkullType

      public SkullBlock.SkullType getSkullType()
      Mappings:
      Namespace Name Mixin selector
      official b Lbyl;b()Lcfu$a;
      intermediary method_9327 Lnet/minecraft/class_2190;method_9327()Lnet/minecraft/class_2484$class_2485;
      named getSkullType Lnet/minecraft/block/AbstractSkullBlock;getSkullType()Lnet/minecraft/block/SkullBlock$SkullType;
    • 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