Class ObsidianBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.ObsidianBlock

public class ObsidianBlock extends Block
Mappings:
Namespace Name
official aij
intermediary net/minecraft/class_167
named net/minecraft/block/ObsidianBlock
  • Constructor Details

    • ObsidianBlock

      public ObsidianBlock()
  • Method Details

    • getDropItem

      public Item getDropItem(BlockState blockState, Random random, int state)
      Returns the item that must be dropped when the block is broken
      Overrides:
      getDropItem in class Block
      Parameters:
      blockState - The block's BlockState
      random - Random object
      state - State
      Returns:
      The Item that drops after the block breaks
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a(Lalz;Ljava/util/Random;I)Lzw;
      intermediary method_398 Lnet/minecraft/class_197;method_398(Lnet/minecraft/class_2232;Ljava/util/Random;I)Lnet/minecraft/class_1069;
      named getDropItem Lnet/minecraft/block/Block;getDropItem(Lnet/minecraft/block/BlockState;Ljava/util/Random;I)Lnet/minecraft/item/Item;
    • getMaterialColor

      public MaterialColor getMaterialColor(BlockState state)
      Returns the block's material color from it's state Blockstates can have different material colors
      Overrides:
      getMaterialColor in class Block
      Parameters:
      state - The Blockstate for which the material color is returned
      Returns:
      materialColor
      Mappings:
      Namespace Name Mixin selector
      official g Lafh;g(Lalz;)Larn;
      intermediary method_8680 Lnet/minecraft/class_197;method_8680(Lnet/minecraft/class_2232;)Lnet/minecraft/class_65;
      named getMaterialColor Lnet/minecraft/block/Block;getMaterialColor(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/MaterialColor;