mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-31 12:23:51 -07:00
Update to mc-dev rename revision 01
This commit is contained in:
@@ -18,7 +18,7 @@ public class EntitySnowman extends EntityGolem {
|
||||
public void d() {
|
||||
super.d();
|
||||
if (this.target == null && !this.D() && this.world.random.nextInt(100) == 0) {
|
||||
List list = this.world.a(EntityMonster.class, AxisAlignedBB.b(this.locX, this.locY, this.locZ, this.locX + 1.0D, this.locY + 1.0D, this.locZ + 1.0D).b(16.0D, 4.0D, 16.0D));
|
||||
List list = this.world.a(EntityMonster.class, AxisAlignedBB.b(this.locX, this.locY, this.locZ, this.locX + 1.0D, this.locY + 1.0D, this.locZ + 1.0D).grow(16.0D, 4.0D, 16.0D));
|
||||
|
||||
if (!list.isEmpty()) {
|
||||
this.setTarget((Entity) list.get(this.world.random.nextInt(list.size())));
|
||||
|
Reference in New Issue
Block a user