public class BrainUtil
extends java.lang.Object
Constructor and Description |
---|
BrainUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
approach(LivingEntity living,
LivingEntity target,
int targetDistance) |
static void |
approachEachOther(LivingEntity firstEntity,
LivingEntity secondEntity) |
static boolean |
canSee(Brain<?> brainIn,
LivingEntity target) |
static SectionPos |
func_220617_a(ServerWorld serverWorldIn,
SectionPos sectionPosIn,
int radius) |
static boolean |
isCorrectVisibleType(Brain<?> brains,
MemoryModuleType<? extends LivingEntity> memorymodule,
EntityType<?> entityTypeIn) |
static void |
lookApproachEachOther(LivingEntity firstEntity,
LivingEntity secondEntity) |
static void |
lookAt(LivingEntity entityIn,
LivingEntity targetIn) |
static void |
lookAtEachOther(LivingEntity firstEntity,
LivingEntity secondEntity) |
static void |
throwItemAt(LivingEntity from,
ItemStack stack,
LivingEntity to) |
public static void lookApproachEachOther(LivingEntity firstEntity, LivingEntity secondEntity)
public static boolean canSee(Brain<?> brainIn, LivingEntity target)
public static boolean isCorrectVisibleType(Brain<?> brains, MemoryModuleType<? extends LivingEntity> memorymodule, EntityType<?> entityTypeIn)
public static void lookAtEachOther(LivingEntity firstEntity, LivingEntity secondEntity)
public static void lookAt(LivingEntity entityIn, LivingEntity targetIn)
public static void approachEachOther(LivingEntity firstEntity, LivingEntity secondEntity)
public static void approach(LivingEntity living, LivingEntity target, int targetDistance)
public static void throwItemAt(LivingEntity from, ItemStack stack, LivingEntity to)
public static SectionPos func_220617_a(ServerWorld serverWorldIn, SectionPos sectionPosIn, int radius)