From 20bef6e26d948698398bd16aeab8c9e6b89110e4 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Thu, 22 Aug 2019 20:01:40 -0400 Subject: Format/import cleanup --- .../jewelrycraft/tileentity/TileEntityDisplayer.java | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'src/main/java/darkknight/jewelrycraft/tileentity/TileEntityDisplayer.java') diff --git a/src/main/java/darkknight/jewelrycraft/tileentity/TileEntityDisplayer.java b/src/main/java/darkknight/jewelrycraft/tileentity/TileEntityDisplayer.java index 72fa7c0..ccbedf3 100755 --- a/src/main/java/darkknight/jewelrycraft/tileentity/TileEntityDisplayer.java +++ b/src/main/java/darkknight/jewelrycraft/tileentity/TileEntityDisplayer.java @@ -9,12 +9,10 @@ import net.minecraft.network.play.server.S35PacketUpdateTileEntity; import net.minecraft.tileentity.TileEntity; public class TileEntityDisplayer extends TileEntity { - public float ringTranslation1, ringTranslation2, - ringTranslation3, rotAngle; - public boolean isDescending1, isDescending2, - isDescending3, isDirty, hasObject; - public ItemStack object; - public int quantity, infoIndex, timer = 0; + public float ringTranslation1, ringTranslation2, ringTranslation3, rotAngle; + public boolean isDescending1, isDescending2, isDescending3, isDirty, hasObject; + public ItemStack object; + public int quantity, infoIndex, timer = 0; /** * @@ -82,8 +80,7 @@ public class TileEntityDisplayer extends TileEntity { public void updateEntity() { super.updateEntity(); if (isDirty) { - worldObj.markBlockForUpdate(xCoord, yCoord, - zCoord); + worldObj.markBlockForUpdate(xCoord, yCoord, zCoord); isDirty = false; } if (ringTranslation1 >= 0.6) @@ -128,8 +125,7 @@ public class TileEntityDisplayer extends TileEntity { public Packet getDescriptionPacket() { NBTTagCompound nbttagcompound = new NBTTagCompound(); writeToNBT(nbttagcompound); - return new S35PacketUpdateTileEntity(xCoord, yCoord, - zCoord, 1, nbttagcompound); + return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, nbttagcompound); } /** @@ -137,8 +133,7 @@ public class TileEntityDisplayer extends TileEntity { * @param packet */ @Override - public void onDataPacket(NetworkManager net, - S35PacketUpdateTileEntity packet) { + public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity packet) { readFromNBT(packet.func_148857_g()); worldObj.func_147479_m(xCoord, yCoord, zCoord); } -- cgit v1.2.3