Class OreBlock

All Implemented Interfaces:
ItemConvertible
Direct Known Subclasses:
SculkBlock

public class OreBlock extends Block
Mappings:
Namespace Name
official ckw
intermediary net/minecraft/class_2431
named net/minecraft/block/OreBlock
  • Field Details

    • experienceDropped

      private final IntProvider experienceDropped
      Mappings:
      Namespace Name Mixin selector
      official a Lckw;a:Layr;
      intermediary field_27195 Lnet/minecraft/class_2431;field_27195:Lnet/minecraft/class_6017;
      named experienceDropped Lnet/minecraft/block/OreBlock;experienceDropped:Lnet/minecraft/util/math/intprovider/IntProvider;
  • Constructor Details

    • OreBlock

      public OreBlock(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
    • OreBlock

      public OreBlock(AbstractBlock.Settings settings, IntProvider experience)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lckw;<init>(Lcuq$c;Layr;)V
      intermediary <init> Lnet/minecraft/class_2431;<init>(Lnet/minecraft/class_4970$class_2251;Lnet/minecraft/class_6017;)V
      named <init> Lnet/minecraft/block/OreBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;Lnet/minecraft/util/math/intprovider/IntProvider;)V
  • Method Details

    • onStacksDropped

      public void onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience)
      Overrides:
      onStacksDropped in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lafo;Lgt;Lcaa;Z)V
      intermediary method_9565 Lnet/minecraft/class_4970;method_9565(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1799;Z)V
      named onStacksDropped Lnet/minecraft/block/AbstractBlock;onStacksDropped(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;Z)V