Class RamImpactTaskMixin

java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<net.minecraft.entity.passive.GoatEntity>
dev.jaxydog.astral.mixin.challenge.RamImpactTaskMixin
All Implemented Interfaces:
net.minecraft.entity.ai.brain.task.Task<net.minecraft.entity.passive.GoatEntity>

public abstract class RamImpactTaskMixin extends net.minecraft.entity.ai.brain.task.MultiTickTask<net.minecraft.entity.passive.GoatEntity>
Implements mob scaling.
Since:
1.1.1
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask

    net.minecraft.entity.ai.brain.task.MultiTickTask.Status
  • Field Summary

    Fields inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask

    DEFAULT_RUN_TIME, requiredMemoryStates
  • Constructor Summary

    Constructors
    Constructor
    Description
    RamImpactTaskMixin(Map<net.minecraft.entity.ai.brain.MemoryModuleType<?>,net.minecraft.entity.ai.brain.MemoryModuleState> requiredMemoryState, int minRunTime, int maxRunTime)
    Creates a new instance of this mixin.
  • Method Summary

    Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask

    finishRunning, getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, keepRunning, run, shouldKeepRunning, shouldRun, stop, tick, tryStarting

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RamImpactTaskMixin

      public RamImpactTaskMixin(Map<net.minecraft.entity.ai.brain.MemoryModuleType<?>,net.minecraft.entity.ai.brain.MemoryModuleState> requiredMemoryState, int minRunTime, int maxRunTime)
      Creates a new instance of this mixin.
      Parameters:
      requiredMemoryState - The entity's required memory states.
      minRunTime - The minimum task run time.
      maxRunTime - The maximum task run time.
      Since:
      1.1.1