Class MossBlock

All Implemented Interfaces:
Fertilizable, ItemConvertible

public class MossBlock
extends Block
implements Fertilizable
Mappings:
Namespace Name
official cbc
intermediary net/minecraft/class_5807
named net/minecraft/block/MossBlock
  • Constructor Details

    • MossBlock

      public MossBlock​(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lchs;<init>(Lchs$c;)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

    • isFertilizable

      public boolean isFertilizable​(BlockView world, BlockPos pos, BlockState state, boolean isClient)
      Specified by:
      isFertilizable in interface Fertilizable
      Mappings:
      Namespace Name Mixin selector
      official a Lbww;a(Lbsz;Lfx;Lcht;Z)Z
      intermediary method_9651 Lnet/minecraft/class_2256;method_9651(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Z
      named isFertilizable Lnet/minecraft/block/Fertilizable;isFertilizable(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Z
    • canGrow

      public boolean canGrow​(World world, Random random, BlockPos pos, BlockState state)
      Specified by:
      canGrow in interface Fertilizable
      Mappings:
      Namespace Name Mixin selector
      official a Lbww;a(Lbtv;Ljava/util/Random;Lfx;Lcht;)Z
      intermediary method_9650 Lnet/minecraft/class_2256;method_9650(Lnet/minecraft/class_1937;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
      named canGrow Lnet/minecraft/block/Fertilizable;canGrow(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
    • grow

      public void grow​(ServerWorld world, Random random, BlockPos pos, BlockState state)
      Specified by:
      grow in interface Fertilizable
      Mappings:
      Namespace Name Mixin selector
      official a Lbww;a(Laav;Ljava/util/Random;Lfx;Lcht;)V
      intermediary method_9652 Lnet/minecraft/class_2256;method_9652(Lnet/minecraft/class_3218;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named grow Lnet/minecraft/block/Fertilizable;grow(Lnet/minecraft/server/world/ServerWorld;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • placePlantsAround

      public static boolean placePlantsAround​(StructureWorldAccess world, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbc;a(Lbuq;Ljava/util/Random;Lfx;)Z
      intermediary method_33628 Lnet/minecraft/class_5807;method_33628(Lnet/minecraft/class_5281;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
      named placePlantsAround Lnet/minecraft/block/MossBlock;placePlantsAround(Lnet/minecraft/world/StructureWorldAccess;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Z
    • placePlant

      private static int placePlant​(StructureWorldAccess world, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lcbc;b(Lbuq;Ljava/util/Random;Lfx;)I
      intermediary method_33630 Lnet/minecraft/class_5807;method_33630(Lnet/minecraft/class_5281;Ljava/util/Random;Lnet/minecraft/class_2338;)I
      named placePlant Lnet/minecraft/block/MossBlock;placePlant(Lnet/minecraft/world/StructureWorldAccess;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)I
    • method_33631

      private static void method_33631​(StructureWorldAccess world, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Lcbc;c(Lbuq;Ljava/util/Random;Lfx;)V
      intermediary method_33631 Lnet/minecraft/class_5807;method_33631(Lnet/minecraft/class_5281;Ljava/util/Random;Lnet/minecraft/class_2338;)V
      named method_33631 Lnet/minecraft/block/MossBlock;method_33631(Lnet/minecraft/world/StructureWorldAccess;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)V
    • getPlant

      private static BlockState getPlant​(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbc;a(Ljava/util/Random;)Lcht;
      intermediary method_33629 Lnet/minecraft/class_5807;method_33629(Ljava/util/Random;)Lnet/minecraft/class_2680;
      named getPlant Lnet/minecraft/block/MossBlock;getPlant(Ljava/util/Random;)Lnet/minecraft/block/BlockState;