Class InteractWith
java.lang.Object
net.minecraft.world.entity.ai.behavior.InteractWith
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends LivingEntity,
T extends LivingEntity>
BehaviorControl<E> of
(EntityType<? extends T> pType, int pInteractionRange, Predicate<E> pSelfFilter, Predicate<T> pTargetFilter, MemoryModuleType<T> pMemory, float pSpeedModifier, int pMaxDist) static <T extends LivingEntity>
BehaviorControl<LivingEntity> of
(EntityType<? extends T> pType, int pInteractionRange, MemoryModuleType<T> pInteractMemory, float pSpeedModifier, int pMaxDist)
-
Constructor Details
-
InteractWith
public InteractWith()
-
-
Method Details
-
of
public static <T extends LivingEntity> BehaviorControl<LivingEntity> of(EntityType<? extends T> pType, int pInteractionRange, MemoryModuleType<T> pInteractMemory, float pSpeedModifier, int pMaxDist) -
of
public static <E extends LivingEntity,T extends LivingEntity> BehaviorControl<E> of(EntityType<? extends T> pType, int pInteractionRange, Predicate<E> pSelfFilter, Predicate<T> pTargetFilter, MemoryModuleType<T> pMemory, float pSpeedModifier, int pMaxDist)
-