Class LichenGrower.LichenGrowChecker

java.lang.Object
net.minecraft.block.LichenGrower.LichenGrowChecker
All Implemented Interfaces:
LichenGrower.GrowChecker
Direct Known Subclasses:
SculkVeinBlock.SculkVeinGrowChecker
Enclosing class:
LichenGrower

public static class LichenGrower.LichenGrowChecker extends Object implements LichenGrower.GrowChecker
Mappings:
Namespace Name
official cum$a
intermediary net/minecraft/class_7118$class_7119
named net/minecraft/block/LichenGrower$LichenGrowChecker
  • Field Details

    • lichen

      protected MultifaceGrowthBlock lichen
      Mappings:
      Namespace Name Mixin selector
      official a Lcum$a;a:Lcul;
      intermediary field_37597 Lnet/minecraft/class_7118$class_7119;field_37597:Lnet/minecraft/class_5778;
      named lichen Lnet/minecraft/block/LichenGrower$LichenGrowChecker;lichen:Lnet/minecraft/block/MultifaceGrowthBlock;
  • Constructor Details

    • LichenGrowChecker

      public LichenGrowChecker(MultifaceGrowthBlock lichen)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcum$a;<init>(Lcul;)V
      intermediary <init> Lnet/minecraft/class_7118$class_7119;<init>(Lnet/minecraft/class_5778;)V
      named <init> Lnet/minecraft/block/LichenGrower$LichenGrowChecker;<init>(Lnet/minecraft/block/MultifaceGrowthBlock;)V
  • Method Details

    • getStateWithDirection

      @Nullable public @Nullable BlockState getStateWithDirection(BlockState state, BlockView world, BlockPos pos, Direction direction)
      Specified by:
      getStateWithDirection in interface LichenGrower.GrowChecker
      Mappings:
      Namespace Name Mixin selector
      official a Lcum$b;a(Ldcb;Lcls;Lgu;Lha;)Ldcb;
      intermediary method_41459 Lnet/minecraft/class_7118$class_7120;method_41459(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2680;
      named getStateWithDirection Lnet/minecraft/block/LichenGrower$GrowChecker;getStateWithDirection(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockState;
    • canGrow

      protected boolean canGrow(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lcum$a;a(Lcls;Lgu;Lgu;Lha;Ldcb;)Z
      intermediary method_41458 Lnet/minecraft/class_7118$class_7119;method_41458(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;)Z
      named canGrow Lnet/minecraft/block/LichenGrower$LichenGrowChecker;canGrow(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;)Z
    • canGrow

      public boolean canGrow(BlockView world, BlockPos pos, LichenGrower.GrowPos growPos)
      Specified by:
      canGrow in interface LichenGrower.GrowChecker
      Mappings:
      Namespace Name Mixin selector
      official a Lcum$b;a(Lcls;Lgu;Lcum$c;)Z
      intermediary method_41457 Lnet/minecraft/class_7118$class_7120;method_41457(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_7118$class_7121;)Z
      named canGrow Lnet/minecraft/block/LichenGrower$GrowChecker;canGrow(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/LichenGrower$GrowPos;)Z