Class CherryLeavesBlock

All Implemented Interfaces:
FluidDrainable, FluidFillable, Waterloggable, ItemConvertible, ToggleableFeature

public class CherryLeavesBlock extends LeavesBlock
Mappings:
Namespace Name
official cxs
intermediary net/minecraft/class_8167
named net/minecraft/block/CherryLeavesBlock
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<CherryLeavesBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcxs;a:Lcom/mojang/serialization/MapCodec;
      intermediary field_46310 Lnet/minecraft/class_8167;field_46310:Lcom/mojang/serialization/MapCodec;
      named CODEC Lnet/minecraft/block/CherryLeavesBlock;CODEC:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • CherryLeavesBlock

      public CherryLeavesBlock(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<CherryLeavesBlock> getCodec()
      Overrides:
      getCodec in class LeavesBlock
      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 LeavesBlock
      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