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 cro$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 Lcro$a;a:Lcrn;
      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> Lcro$a;<init>(Lcrn;)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 Lcro$b;a(Lcyt;Lcjc;Lgp;Lgv;)Lcyt;
      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 Lcro$a;a(Lcjc;Lgp;Lgp;Lgv;Lcyt;)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 Lcro$b;a(Lcjc;Lgp;Lcro$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