public class VillagerHostilesSensor extends Sensor<LivingEntity>
Modifier and Type | Field and Description |
---|---|
private static com.google.common.collect.ImmutableMap<EntityType<?>,java.lang.Float> |
field_220991_b |
Constructor and Description |
---|
VillagerHostilesSensor() |
Modifier and Type | Method and Description |
---|---|
private int |
func_220983_a(LivingEntity p_220983_1_,
LivingEntity p_220983_2_,
LivingEntity p_220983_3_) |
private boolean |
func_220987_a(LivingEntity p_220987_1_,
LivingEntity p_220987_2_) |
private boolean |
func_220988_c(LivingEntity p_220988_1_) |
private java.util.Optional<LivingEntity> |
func_220989_a(LivingEntity p_220989_1_) |
private java.util.Optional<java.util.List<LivingEntity>> |
func_220990_b(LivingEntity p_220990_1_) |
java.util.Set<MemoryModuleType<?>> |
getUsedMemories() |
protected void |
update(ServerWorld worldIn,
LivingEntity entityIn) |
private static final com.google.common.collect.ImmutableMap<EntityType<?>,java.lang.Float> field_220991_b
public java.util.Set<MemoryModuleType<?>> getUsedMemories()
getUsedMemories
in class Sensor<LivingEntity>
protected void update(ServerWorld worldIn, LivingEntity entityIn)
update
in class Sensor<LivingEntity>
private java.util.Optional<LivingEntity> func_220989_a(LivingEntity p_220989_1_)
private java.util.Optional<java.util.List<LivingEntity>> func_220990_b(LivingEntity p_220990_1_)
private int func_220983_a(LivingEntity p_220983_1_, LivingEntity p_220983_2_, LivingEntity p_220983_3_)
private boolean func_220987_a(LivingEntity p_220987_1_, LivingEntity p_220987_2_)
private boolean func_220988_c(LivingEntity p_220988_1_)