Class AbstractBannerBlock

All Implemented Interfaces:
BlockEntityProvider, ItemConvertible
Direct Known Subclasses:
BannerBlock, WallBannerBlock

public abstract class AbstractBannerBlock extends BlockWithEntity
Mappings:
Namespace Name
official cch
intermediary net/minecraft/class_2185
named net/minecraft/block/AbstractBannerBlock
  • Field Details

    • color

      private final DyeColor color
      Mappings:
      Namespace Name Mixin selector
      official a Lcch;a:Lbts;
      intermediary field_9855 Lnet/minecraft/class_2185;field_9855:Lnet/minecraft/class_1767;
      named color Lnet/minecraft/block/AbstractBannerBlock;color:Lnet/minecraft/util/DyeColor;
  • Constructor Details

    • AbstractBannerBlock

      protected AbstractBannerBlock(DyeColor color, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcch;<init>(Lbts;Lcou$c;)V
      intermediary <init> Lnet/minecraft/class_2185;<init>(Lnet/minecraft/class_1767;Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBannerBlock;<init>(Lnet/minecraft/util/DyeColor;Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • canMobSpawnInside

      public boolean canMobSpawnInside()
      Overrides:
      canMobSpawnInside in class Block
      Mappings:
      Namespace Name Mixin selector
      official Y_ Lcdq;Y_()Z
      intermediary method_9538 Lnet/minecraft/class_2248;method_9538()Z
      named canMobSpawnInside Lnet/minecraft/block/Block;canMobSpawnInside()Z
    • createBlockEntity

      public BlockEntity createBlockEntity(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lcfx;a(Lgj;Lcov;)Lcmr;
      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;
    • onPlaced

      public void onPlaced(World world, BlockPos pos, BlockState state, @Nullable @Nullable LivingEntity placer, ItemStack itemStack)
      Overrides:
      onPlaced in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lcdq;a(Lcav;Lgj;Lcov;Laxy;Lbuw;)V
      intermediary method_9567 Lnet/minecraft/class_2248;method_9567(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;)V
      named onPlaced Lnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
    • getPickStack

      public ItemStack getPickStack(BlockView world, BlockPos pos, BlockState state)
      Overrides:
      getPickStack in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lcdq;a(Lcab;Lgj;Lcov;)Lbuw;
      intermediary method_9574 Lnet/minecraft/class_2248;method_9574(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1799;
      named getPickStack Lnet/minecraft/block/Block;getPickStack(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
    • getColor

      public DyeColor getColor()
      Mappings:
      Namespace Name Mixin selector
      official b Lcch;b()Lbts;
      intermediary method_9303 Lnet/minecraft/class_2185;method_9303()Lnet/minecraft/class_1767;
      named getColor Lnet/minecraft/block/AbstractBannerBlock;getColor()Lnet/minecraft/util/DyeColor;