Class CryingObsidianBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class CryingObsidianBlock extends Block
Mappings:
Namespace Name
named net/minecraft/block/CryingObsidianBlock
intermediary net/minecraft/class_4848
official dht
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<CryingObsidianBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/CryingObsidianBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46330 Lnet/minecraft/class_4848;field_46330:Lcom/mojang/serialization/MapCodec;
      official a Ldht;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • CryingObsidianBlock

      public CryingObsidianBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      official <init> Ldsz;<init>(Ldsz$d;)V
  • Method Details

    • getCodec

      public com.mojang.serialization.MapCodec<CryingObsidianBlock> getCodec()
      Overrides:
      getCodec in class Block
      Mappings:
      Namespace Name Mixin selector
      named getCodec Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
      intermediary method_53969 Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
      official a Ldsz;a()Lcom/mojang/serialization/MapCodec;
    • randomDisplayTick

      public void randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
      Called randomly on the client. Blocks may override this to spawn particles. Unlike AbstractBlock.randomTick(net.minecraft.block.BlockState, net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, net.minecraft.util.math.random.Random) this is not affected by a game rule.
      Overrides:
      randomDisplayTick in class Block
      Mappings:
      Namespace Name Mixin selector
      named randomDisplayTick Lnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
      intermediary method_9496 Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
      official a Ldfw;a(Ldta;Ldcu;Ljd;Layv;)V