Implement Arrow tile methods

By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
CraftBukkit/Spigot
2018-05-01 15:27:59 -04:00
parent a002698e90
commit bab7fe16a5
2 changed files with 29 additions and 0 deletions

View File

@@ -14,6 +14,19 @@
public abstract class EntityArrow extends Entity implements IProjectile {
private static final Predicate<Entity> f = Predicates.and(new Predicate[] { IEntitySelector.e, IEntitySelector.a, new Predicate() {
@@ -17,9 +24,9 @@
}
}});
private static final DataWatcherObject<Byte> g = DataWatcher.a(EntityArrow.class, DataWatcherRegistry.a);
- private int h;
- private int at;
- private int au;
+ public int h; // PAIL: private->public
+ public int at; // PAIL: private->public
+ public int au; // PAIL: private->public
private Block av;
private int aw;
public boolean inGround;
@@ -50,6 +57,7 @@
public EntityArrow(World world, EntityLiving entityliving) {
this(world, entityliving.locX, entityliving.locY + (double) entityliving.getHeadHeight() - 0.10000000149011612D, entityliving.locZ);