状态效果命令:/effect give @p extrabotany:temptation 30 0
一种特殊的药水效果,作用未知。
附源代码:
public void func_76394_a(@Nonnull EntityLivingBase living, int amplified) {
float range = (7 + 2 * amplified);
AxisAlignedBB axis = new AxisAlignedBB(living.field_70165_t - range, living.field_70163_u - range, living.field_70161_v - range, living.field_70165_t + range, living.field_70163_u + range, living.field_70161_v + range);
List<EntityLiving> entities = living.field_70170_p.func_72872_a(EntityLiving.class, axis);
for (EntityLiving entity : entities) {
if (entity == living)
continue;
entity.func_70661_as().func_75492_a(living.field_70165_t, living.field_70163_u, living.field_70161_v, 1.2000000476837158D);
}
}
}