Class RemoveOffHandItemTask<E extends PiglinEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.RemoveOffHandItemTask<E>
public class RemoveOffHandItemTask<E extends PiglinEntity> extends Task<E>
- Mappings:
Namespace Name official bgr
intermediary net/minecraft/class_4830
named net/minecraft/entity/ai/brain/task/RemoveOffHandItemTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
Constructors Constructor Description RemoveOffHandItemTask()
-
Method Summary
Modifier and Type Method Description protected void
run(ServerWorld serverWorld, E e, long long2)
protected boolean
shouldRun(ServerWorld serverWorld, E e)
Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Constructor Details
-
RemoveOffHandItemTask
public RemoveOffHandItemTask()
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<E extends PiglinEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbgr;a(Laav;Lbgh;)Z
intermediary method_24835
Lnet/minecraft/class_4830;method_24835(Lnet/minecraft/class_3218;Lnet/minecraft/class_4836;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/RemoveOffHandItemTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PiglinEntity;)Z
-
run
- Overrides:
run
in classTask<E extends PiglinEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbgr;a(Laav;Lbgh;J)V
intermediary method_24630
Lnet/minecraft/class_4830;method_24630(Lnet/minecraft/class_3218;Lnet/minecraft/class_4836;J)V
named run
Lnet/minecraft/entity/ai/brain/task/RemoveOffHandItemTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PiglinEntity;J)V
-