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
named net/minecraft/block/LichenGrower$LichenGrowChecker
intermediary net/minecraft/class_7118$class_7119
official dpo$a
  • Field Details

    • lichen

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

    • LichenGrowChecker

      public LichenGrowChecker(MultifaceGrowthBlock lichen)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/LichenGrower$LichenGrowChecker;<init>(Lnet/minecraft/block/MultifaceGrowthBlock;)V
      intermediary <init> Lnet/minecraft/class_7118$class_7119;<init>(Lnet/minecraft/class_5778;)V
      official <init> Ldpo$a;<init>(Ldpn;)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
      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;
      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;
      official a Ldpo$b;a(Ldxu;Ldgm;Ljh;Ljm;)Ldxu;
    • canGrow

      protected boolean canGrow(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official a Ldpo$a;a(Ldgm;Ljh;Ljh;Ljm;Ldxu;)Z
    • canGrow

      public boolean canGrow(BlockView world, BlockPos pos, LichenGrower.GrowPos growPos)
      Specified by:
      canGrow in interface LichenGrower.GrowChecker
      Mappings:
      Namespace Name Mixin selector
      named canGrow Lnet/minecraft/block/LichenGrower$GrowChecker;canGrow(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/LichenGrower$GrowPos;)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
      official a Ldpo$b;a(Ldgm;Ljh;Ldpo$c;)Z