Class OreBlock

All Implemented Interfaces:
ItemConvertible

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

    • experienceDropped

      private final UniformIntProvider experienceDropped
      Mappings:
      Namespace Name Mixin selector
      official a Lchn;a:Laut;
      intermediary field_27195 Lnet/minecraft/class_2431;field_27195:Lnet/minecraft/class_6019;
      named experienceDropped Lnet/minecraft/block/OreBlock;experienceDropped:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
  • Constructor Details

    • OreBlock

      public OreBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcnu;<init>(Lcnu$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, UniformIntProvider experienceDropped)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lchn;<init>(Lcnu$c;Laut;)V
      intermediary <init> Lnet/minecraft/class_2431;<init>(Lnet/minecraft/class_4970$class_2251;Lnet/minecraft/class_6019;)V
      named <init> Lnet/minecraft/block/OreBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;Lnet/minecraft/util/math/intprovider/UniformIntProvider;)V
  • Method Details

    • onStacksDropped

      public void onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack)
      Overrides:
      onStacksDropped in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu;a(Lcnv;Ladc;Lgh;Lbtx;)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;)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;)V