Class LichenGrower

java.lang.Object
net.minecraft.block.LichenGrower

public class LichenGrower extends Object
Mappings:
Namespace Name
official cro
intermediary net/minecraft/class_7118
named net/minecraft/block/LichenGrower
  • Field Details

    • GROW_TYPES

      public static final LichenGrower.GrowType[] GROW_TYPES
      Mappings:
      Namespace Name Mixin selector
      official a Lcro;a:[Lcro$e;
      intermediary field_37595 Lnet/minecraft/class_7118;field_37595:[Lnet/minecraft/class_7118$class_7123;
      named GROW_TYPES Lnet/minecraft/block/LichenGrower;GROW_TYPES:[Lnet/minecraft/block/LichenGrower$GrowType;
    • growChecker

      private final LichenGrower.GrowChecker growChecker
      Mappings:
      Namespace Name Mixin selector
      official b Lcro;b:Lcro$b;
      intermediary field_37596 Lnet/minecraft/class_7118;field_37596:Lnet/minecraft/class_7118$class_7120;
      named growChecker Lnet/minecraft/block/LichenGrower;growChecker:Lnet/minecraft/block/LichenGrower$GrowChecker;
  • Constructor Details

    • LichenGrower

      public LichenGrower(MultifaceGrowthBlock lichen)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcro;<init>(Lcrn;)V
      intermediary <init> Lnet/minecraft/class_7118;<init>(Lnet/minecraft/class_5778;)V
      named <init> Lnet/minecraft/block/LichenGrower;<init>(Lnet/minecraft/block/MultifaceGrowthBlock;)V
    • LichenGrower

      public LichenGrower(LichenGrower.GrowChecker growChecker)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcro;<init>(Lcro$b;)V
      intermediary <init> Lnet/minecraft/class_7118;<init>(Lnet/minecraft/class_7118$class_7120;)V
      named <init> Lnet/minecraft/block/LichenGrower;<init>(Lnet/minecraft/block/LichenGrower$GrowChecker;)V
  • Method Details

    • canGrow

      public boolean canGrow(BlockState state, BlockView world, BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcro;a(Lcyt;Lcjc;Lgp;Lgv;)Z
      intermediary method_41443 Lnet/minecraft/class_7118;method_41443(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
      named canGrow Lnet/minecraft/block/LichenGrower;canGrow(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • grow

      public Optional<LichenGrower.GrowPos> grow(BlockState state, WorldAccess world, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcro;a(Lcyt;Lcjx;Lgp;Laoh;)Ljava/util/Optional;
      intermediary method_41450 Lnet/minecraft/class_7118;method_41450(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Ljava/util/Optional;
      named grow Lnet/minecraft/block/LichenGrower;grow(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Ljava/util/Optional;
    • grow

      public long grow(BlockState state, WorldAccess world, BlockPos pos, boolean markForPostProcessing)
      Mappings:
      Namespace Name Mixin selector
      official a Lcro;a(Lcyt;Lcjx;Lgp;Z)J
      intermediary method_41452 Lnet/minecraft/class_7118;method_41452(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Z)J
      named grow Lnet/minecraft/block/LichenGrower;grow(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Z)J
    • grow

      public Optional<LichenGrower.GrowPos> grow(BlockState state, WorldAccess world, BlockPos pos, Direction direction, Random random, boolean markForPostProcessing)
      Mappings:
      Namespace Name Mixin selector
      official a Lcro;a(Lcyt;Lcjx;Lgp;Lgv;Laoh;Z)Ljava/util/Optional;
      intermediary method_41447 Lnet/minecraft/class_7118;method_41447(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_5819;Z)Ljava/util/Optional;
      named grow Lnet/minecraft/block/LichenGrower;grow(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/random/Random;Z)Ljava/util/Optional;
    • grow

      private long grow(BlockState state, WorldAccess world, BlockPos pos, Direction direction, boolean markForPostProcessing)
      Mappings:
      Namespace Name Mixin selector
      official a Lcro;a(Lcyt;Lcjx;Lgp;Lgv;Z)J
      intermediary method_41448 Lnet/minecraft/class_7118;method_41448(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Z)J
      named grow Lnet/minecraft/block/LichenGrower;grow(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Z)J
    • grow

      public Optional<LichenGrower.GrowPos> grow(BlockState state, WorldAccess world, BlockPos pos, Direction oldDirection, Direction newDirection, boolean markForPostProcessing)
      Mappings:
      Namespace Name Mixin selector
      official a Lcro;a(Lcyt;Lcjx;Lgp;Lgv;Lgv;Z)Ljava/util/Optional;
      intermediary method_41446 Lnet/minecraft/class_7118;method_41446(Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;Z)Ljava/util/Optional;
      named grow Lnet/minecraft/block/LichenGrower;grow(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;Z)Ljava/util/Optional;
    • getGrowPos

      public Optional<LichenGrower.GrowPos> getGrowPos(BlockState state, BlockView world, BlockPos pos, Direction oldDirection, Direction newDirection, LichenGrower.GrowPosPredicate predicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lcro;a(Lcyt;Lcjc;Lgp;Lgv;Lgv;Lcro$d;)Ljava/util/Optional;
      intermediary method_41445 Lnet/minecraft/class_7118;method_41445(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;Lnet/minecraft/class_7118$class_7122;)Ljava/util/Optional;
      named getGrowPos Lnet/minecraft/block/LichenGrower;getGrowPos(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/LichenGrower$GrowPosPredicate;)Ljava/util/Optional;
    • place

      public Optional<LichenGrower.GrowPos> place(WorldAccess world, LichenGrower.GrowPos pos, boolean markForPostProcessing)
      Mappings:
      Namespace Name Mixin selector
      official a Lcro;a(Lcjx;Lcro$c;Z)Ljava/util/Optional;
      intermediary method_41441 Lnet/minecraft/class_7118;method_41441(Lnet/minecraft/class_1936;Lnet/minecraft/class_7118$class_7121;Z)Ljava/util/Optional;
      named place Lnet/minecraft/block/LichenGrower;place(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/block/LichenGrower$GrowPos;Z)Ljava/util/Optional;