Enum Class CompositeTask.RunMode
- All Implemented Interfaces:
Serializable
,Comparable<CompositeTask.RunMode>
,Constable
- Enclosing class:
CompositeTask<E extends LivingEntity>
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/CompositeTask$RunMode
intermediary net/minecraft/class_4103$class_4216
official bxp$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract <E extends LivingEntity>
voidrun
(Stream<Task<? super E>> tasks, ServerWorld world, E entity, long time) static CompositeTask.RunMode
Returns the enum constant of this class with the specified name.static CompositeTask.RunMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RUN_ONE
- Mappings:
Namespace Name Mixin selector named RUN_ONE
Lnet/minecraft/entity/ai/brain/task/CompositeTask$RunMode;RUN_ONE:Lnet/minecraft/entity/ai/brain/task/CompositeTask$RunMode;
intermediary field_18855
Lnet/minecraft/class_4103$class_4216;field_18855:Lnet/minecraft/class_4103$class_4216;
official a
Lbxp$b;a:Lbxp$b;
-
TRY_ALL
- Mappings:
Namespace Name Mixin selector named TRY_ALL
Lnet/minecraft/entity/ai/brain/task/CompositeTask$RunMode;TRY_ALL:Lnet/minecraft/entity/ai/brain/task/CompositeTask$RunMode;
intermediary field_18856
Lnet/minecraft/class_4103$class_4216;field_18856:Lnet/minecraft/class_4103$class_4216;
official b
Lbxp$b;b:Lbxp$b;
-
-
Constructor Details
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
run
public abstract <E extends LivingEntity> void run(Stream<Task<? super E>> tasks, ServerWorld world, E entity, long time) - Mappings:
Namespace Name Mixin selector named run
Lnet/minecraft/entity/ai/brain/task/CompositeTask$RunMode;run(Ljava/util/stream/Stream;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
intermediary method_19559
Lnet/minecraft/class_4103$class_4216;method_19559(Ljava/util/stream/Stream;Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
official a
Lbxp$b;a(Ljava/util/stream/Stream;Lard;Lbvi;J)V
-