Skip to content

Commit 811e04c

Browse files
committed
Update to 1.6.4
1 parent 5fd208a commit 811e04c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+826
-794
lines changed

src/BaseEntity.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public void setNoDamageTicks(int ticks) {
315315
*/
316316
public int getAirTicks() {
317317
// SRG return this.getEntity().func_70086_ai();
318-
return this.getEntity().ak();
318+
return this.getEntity().al();
319319
}
320320

321321
/**
@@ -453,7 +453,7 @@ public void setMotionZ(double motion) {
453453
*/
454454
public void destroy() {
455455
// SRG this.entity.func_70106_y();
456-
this.entity.w();
456+
this.entity.x();
457457
}
458458

459459
/**
@@ -472,7 +472,7 @@ public String getName() {
472472
*/
473473
public boolean getSprinting() {
474474
// SRG return this.entity.func_70051_ag();
475-
return this.entity.ah();
475+
return this.entity.ai();
476476
}
477477

478478
/**
@@ -570,7 +570,7 @@ public void spawn(LivingEntity rider) {
570570
*/
571571
public boolean isInvulnerable() {
572572
// SRG return getEntity().func_85032_ar();
573-
return getEntity().aq();
573+
return getEntity().ar();
574574
}
575575

576576
/**
@@ -684,7 +684,7 @@ public float getEyeHeight() {
684684
*/
685685
public boolean getSneaking() {
686686
// SRG return getEntity().func_70093_af();
687-
return getEntity().ag();
687+
return getEntity().ah();
688688
}
689689

690690
/**

src/HopperMinecart.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public OEntityMinecartHopper getEntity() {
5757
*/
5858
public boolean isBlocked() {
5959
// SRG return this.getEntity().func_96111_ay();
60-
return this.getEntity().ay();
60+
return this.getEntity().u();
6161
}
6262

6363
/**

src/HumanEntity.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public Item getItemStackInHand() {
387387
public Location getRespawnLocation() {
388388
Location spawn = etc.getServer().getDefaultWorld().getSpawnLocation();
389389
// SRG OChunkCoordinates loc = getEntity().func_70997_bJ();
390-
OChunkCoordinates loc = getEntity().bE();
390+
OChunkCoordinates loc = getEntity().bF();
391391
if (loc != null) {
392392
// SRG spawn = new Location(etc.getServer().getDefaultWorld(), loc.field_71574_a, loc.field_71572_b, loc.field_71573_c);
393393
spawn = new Location(etc.getServer().getDefaultWorld(), loc.a, loc.b, loc.c);
@@ -401,7 +401,7 @@ public Location getRespawnLocation() {
401401
*/
402402
public int getScore() {
403403
// SRG return getEntity().func_71037_bA();
404-
return getEntity().bv();
404+
return getEntity().bw();
405405
}
406406

407407
/**
@@ -439,7 +439,7 @@ public float getXPBarProgress() {
439439
*/
440440
public int getXPBarMax() {
441441
// SRG return getEntity().func_71050_bK();
442-
return getEntity().bG();
442+
return getEntity().bH();
443443
}
444444

445445
/**
@@ -657,6 +657,6 @@ public void setInventory() {
657657
*/
658658
public EnderChestInventory getEnderChest() {
659659
// SRG return new EnderChestInventory(getEntity().func_71005_bN(), this);
660-
return new EnderChestInventory(getEntity().bJ(), this);
660+
return new EnderChestInventory(getEntity().bK(), this);
661661
}
662662
}

src/LivingEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void setItemInHand(Item item) {
5252
*/
5353
public Item getItemStackInHand() {
5454
// SRG OItemStack stack = getEntity().func_70694_bm();
55-
OItemStack stack = getEntity().aY();
55+
OItemStack stack = getEntity().aZ();
5656
return stack == null ? null : new Item(stack);
5757
}
5858

src/LivingEntityBase.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public int getHealth() {
3838
*/
3939
public float getHealthFloat() {
4040
// SRG return getEntity().func_110143_aJ();
41-
return getEntity().aM();
41+
return getEntity().aN();
4242
}
4343

4444
/**
@@ -104,7 +104,7 @@ public int getMaxHealth() {
104104
*/
105105
public double getMaxHealthDouble() {
106106
// SRG return getEntity().func_110138_aP();
107-
return getEntity().aS();
107+
return getEntity().aT();
108108
}
109109

110110
/**
@@ -222,7 +222,7 @@ public boolean hasPotionEffect(PotionEffect.Type effectType) {
222222
@SuppressWarnings("unchecked")
223223
public List<PotionEffect> getPotionEffects() {
224224
// SRG Collection<OPotionEffect> potionEffects = getEntity().func_70651_bq();
225-
Collection<OPotionEffect> potionEffects = getEntity().aK();
225+
Collection<OPotionEffect> potionEffects = getEntity().aL();
226226
ArrayList<PotionEffect> list = new ArrayList<PotionEffect>();
227227

228228
for (OPotionEffect potionEffect : potionEffects) {

src/OBlockLeaves.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public void a(OWorld oworld, int i, int j, int k, int l, float f, int i1) {
171171
}
172172

173173
public void a(OWorld oworld, OEntityPlayer oentityplayer, int i, int j, int k, int l) {
174-
if (!oworld.I && oentityplayer.bx() != null && oentityplayer.bx().d == OItem.bg.cv) {
174+
if (!oworld.I && oentityplayer.by() != null && oentityplayer.by().d == OItem.bg.cv) {
175175
oentityplayer.a(OStatList.C[this.cF], 1);
176176
this.b(oworld, i, j, k, new OItemStack(OBlock.P.cF, 1, l & 3));
177177
} else {

src/OBlockPortal.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public void a(OWorld oworld, int i, int j, int k, Random random) {
2020
OEntity oentity = OItemMonsterPlacer.a(oworld, 57, (double) i + 0.5D, (double) l + 1.1D, (double) k + 0.5D);
2121

2222
if (oentity != null) {
23-
oentity.ao = oentity.ab();
23+
oentity.ao = oentity.ac();
2424
}
2525
}
2626
}
@@ -162,7 +162,7 @@ public int a(Random random) {
162162

163163
public void a(OWorld oworld, int i, int j, int k, OEntity oentity) {
164164
if (oentity.o == null && oentity.n == null) {
165-
oentity.aa();
165+
oentity.ab();
166166
}
167167
}
168168
}

src/OChunk.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ public void a(OEntity oentity) {
635635
"Entity not in this chunk! Chunk: {0}, {1} Entity: {2}",
636636
new Object[] {this.g, this.h, oentity});
637637
this.e.Y().c("Destroying entity to prevent trouble", new RuntimeException());
638-
oentity.w();
638+
oentity.x(); // XXX: update me
639639
return;
640640
}
641641

@@ -753,7 +753,7 @@ public void c() {
753753
while (iterator.hasNext()) {
754754
OEntity oentity = (OEntity) iterator.next();
755755

756-
oentity.Q();
756+
oentity.R();
757757
}
758758

759759
this.e.a(this.j[i]);
@@ -801,7 +801,7 @@ public void a(OEntity oentity, OAxisAlignedBB oaxisalignedbb, List list, OIEntit
801801

802802
if (oentity1 != oentity && oentity1.E.b(oaxisalignedbb) && (oientityselector == null || oientityselector.a(oentity1))) {
803803
list.add(oentity1);
804-
OEntity[] aoentity = oentity1.an();
804+
OEntity[] aoentity = oentity1.ao();
805805

806806
if (aoentity != null) {
807807
for (int i1 = 0; i1 < aoentity.length; ++i1) {

src/OCommandBase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public static String e(OICommandSender oicommandsender, String s) {
119119
OEntityPlayerMP oentityplayermp = OPlayerSelector.a(oicommandsender, s);
120120

121121
if (oentityplayermp != null) {
122-
return oentityplayermp.am();
122+
return oentityplayermp.an();
123123
} else if (OPlayerSelector.b(s)) {
124124
throw new OPlayerNotFoundException();
125125
} else {
@@ -226,7 +226,7 @@ public static String b(Collection collection) {
226226

227227
OEntityLivingBase oentitylivingbase;
228228

229-
for (Iterator iterator = collection.iterator(); iterator.hasNext(); astring[i++] = oentitylivingbase.ax()) {
229+
for (Iterator iterator = collection.iterator(); iterator.hasNext(); astring[i++] = oentitylivingbase.ay()) {
230230
oentitylivingbase = (OEntityLivingBase) iterator.next();
231231
}
232232

src/OCommandHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void notify(String message) {
7272
for (int l = 0; l < k; ++l) {
7373
OEntityPlayerMP oentityplayermp = aoentityplayermp1[l];
7474

75-
astring[i] = oentityplayermp.am();
75+
astring[i] = oentityplayermp.an();
7676

7777
try {
7878
oicommand.b(oicommandsender, astring);

0 commit comments

Comments
 (0)