change nbt format: fix method names
This commit is contained in:
parent
17aad1f023
commit
dda5ac3573
40 changed files with 99 additions and 99 deletions
|
@ -218,7 +218,7 @@ public class EntityFirework
|
|||
|
||||
for (int i = 0; i < this.fireworkExplosions.size(); ++i)
|
||||
{
|
||||
NBTTagCompound nbttagcompound = this.fireworkExplosions.getTag(i);
|
||||
NBTTagCompound nbttagcompound = this.fireworkExplosions.get(i);
|
||||
|
||||
if (nbttagcompound.getBool("Flicker"))
|
||||
{
|
||||
|
@ -250,7 +250,7 @@ public class EntityFirework
|
|||
{
|
||||
for (int i = 0; i < this.fireworkExplosions.size(); ++i)
|
||||
{
|
||||
NBTTagCompound nbttagcompound = this.fireworkExplosions.getTag(i);
|
||||
NBTTagCompound nbttagcompound = this.fireworkExplosions.get(i);
|
||||
|
||||
if (nbttagcompound.getByte("Type") == 1)
|
||||
{
|
||||
|
@ -268,7 +268,7 @@ public class EntityFirework
|
|||
if (this.fireworkAge % 2 == 0 && this.fireworkExplosions != null && this.fireworkAge / 2 < this.fireworkExplosions.size())
|
||||
{
|
||||
int k = this.fireworkAge / 2;
|
||||
NBTTagCompound nbttagcompound1 = this.fireworkExplosions.getTag(k);
|
||||
NBTTagCompound nbttagcompound1 = this.fireworkExplosions.get(k);
|
||||
int l = nbttagcompound1.getByte("Type");
|
||||
boolean flag4 = nbttagcompound1.getBool("Trail");
|
||||
boolean flag2 = nbttagcompound1.getBool("Flicker");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue