Class LayFrogSpawnTask

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<FrogEntity>
net.minecraft.entity.ai.brain.task.LayFrogSpawnTask

public class LayFrogSpawnTask extends Task<FrogEntity>
Mappings:
Namespace Name
official bfr
intermediary net/minecraft/class_7099
named net/minecraft/entity/ai/brain/task/LayFrogSpawnTask
  • Field Details

    • frogSpawn

      private final Block frogSpawn
      Mappings:
      Namespace Name Mixin selector
      official a Lbfr;a:Lciw;
      intermediary field_37440 Lnet/minecraft/class_7099;field_37440:Lnet/minecraft/class_2248;
      named frogSpawn Lnet/minecraft/entity/ai/brain/task/LayFrogSpawnTask;frogSpawn:Lnet/minecraft/block/Block;
    • triggerMemory

      private final MemoryModuleType<?> triggerMemory
      Mappings:
      Namespace Name Mixin selector
      official d Lbfr;d:Lbjx;
      intermediary field_37441 Lnet/minecraft/class_7099;field_37441:Lnet/minecraft/class_4140;
      named triggerMemory Lnet/minecraft/entity/ai/brain/task/LayFrogSpawnTask;triggerMemory:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
  • Constructor Details

    • LayFrogSpawnTask

      public LayFrogSpawnTask(Block frogSpawn, MemoryModuleType<?> triggerMemory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfr;<init>(Lciw;Lbjx;)V
      intermediary <init> Lnet/minecraft/class_7099;<init>(Lnet/minecraft/class_2248;Lnet/minecraft/class_4140;)V
      named <init> Lnet/minecraft/entity/ai/brain/task/LayFrogSpawnTask;<init>(Lnet/minecraft/block/Block;Lnet/minecraft/entity/ai/brain/MemoryModuleType;)V
  • Method Details

    • shouldRun

      protected boolean shouldRun(ServerWorld serverWorld, FrogEntity frogEntity)
      Overrides:
      shouldRun in class Task<FrogEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbfr;a(Lafo;Lbnt;)Z
      intermediary method_41349 Lnet/minecraft/class_7099;method_41349(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;)Z
      named shouldRun Lnet/minecraft/entity/ai/brain/task/LayFrogSpawnTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;)Z
    • run

      protected void run(ServerWorld serverWorld, FrogEntity frogEntity, long long2)
      Overrides:
      run in class Task<FrogEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbfr;a(Lafo;Lbnt;J)V
      intermediary method_41350 Lnet/minecraft/class_7099;method_41350(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
      named run Lnet/minecraft/entity/ai/brain/task/LayFrogSpawnTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V