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 bgo
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 Lbgo;a:Lcjt;
      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 Lbgo;d:Lbku;
      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> Lbgo;<init>(Lcjt;Lbku;)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 Lbgo;a(Lagg;Lboq;)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 Lbgo;a(Lagg;Lboq;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