Class CryingObsidianBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

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

    • CODEC

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

    • CryingObsidianBlock

      public CryingObsidianBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldjg;<init>(Ldjg$d;)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
  • Method Details

    • getCodec

      public com.mojang.serialization.MapCodec<CryingObsidianBlock> getCodec()
      Overrides:
      getCodec in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Ldjg;a()Lcom/mojang/serialization/MapCodec;
      intermediary method_53969 Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
      named getCodec Lnet/minecraft/block/AbstractBlock;getCodec()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
      official a Lcwq;a(Ldjh;Lctp;Lhx;Lauv;)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
      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