Class MyceliumBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class MyceliumBlock extends SpreadableBlock
Mappings:
Namespace Name
named net/minecraft/block/MyceliumBlock
intermediary net/minecraft/class_2418
official dpq
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<MyceliumBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/MyceliumBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46400 Lnet/minecraft/class_2418;field_46400:Lcom/mojang/serialization/MapCodec;
      official a Ldpq;a:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • MyceliumBlock

      public MyceliumBlock(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> Ldxt;<init>(Ldxt$d;)V
  • Method Details

    • getCodec

      public com.mojang.serialization.MapCodec<MyceliumBlock> getCodec()
      Specified by:
      getCodec in class SpreadableBlock
      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 Ldxt;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 Ldkl;a(Ldxu;Ldhh;Ljh;Lbam;)V