cleanup, rename, nbt->cdt "compressed data tree"
This commit is contained in:
parent
753b4b8b5d
commit
6c55d59f1f
181 changed files with 1254 additions and 1664 deletions
|
@ -1380,7 +1380,7 @@ public class Client implements IThreadListener {
|
|||
|
||||
if (this.world.getState(blockpos).getBlock() != Blocks.air)
|
||||
{
|
||||
int i = itemstack != null ? itemstack.stackSize : 0;
|
||||
int i = itemstack != null ? itemstack.size : 0;
|
||||
|
||||
if (this.controller.clickRight(this.player, this.world, itemstack, blockpos, this.pointed.side, this.pointed.vec))
|
||||
{
|
||||
|
@ -1393,11 +1393,11 @@ public class Client implements IThreadListener {
|
|||
return;
|
||||
}
|
||||
|
||||
if (itemstack.stackSize == 0)
|
||||
if (itemstack.size == 0)
|
||||
{
|
||||
this.player.inventory.mainInventory[this.player.inventory.currentItem] = null;
|
||||
}
|
||||
else if (itemstack.stackSize != i) // || this.controller.isCreative())
|
||||
else if (itemstack.size != i) // || this.controller.isCreative())
|
||||
{
|
||||
this.entityRenderer.itemRenderer.resetEquippedProgress();
|
||||
}
|
||||
|
@ -1426,12 +1426,9 @@ public class Client implements IThreadListener {
|
|||
return;
|
||||
}
|
||||
|
||||
// boolean flag = this.thePlayer.creative;
|
||||
int meta = 0;
|
||||
boolean flag1 = false;
|
||||
// TileEntity tileentity = null;
|
||||
Item item = null;
|
||||
// NBTTagCompound tag = null;
|
||||
|
||||
if (this.pointed.type == HitPosition.ObjectType.BLOCK)
|
||||
{
|
||||
|
@ -1902,7 +1899,7 @@ public class Client implements IThreadListener {
|
|||
: "Rüstung: n/a, Pfeile: n/a") + "\n" +
|
||||
// ItemStack held = ((EntityLiving)entity).getHeldItem();
|
||||
(held != null ?
|
||||
"Gegens.: " + ItemRegistry.REGISTRY.getNameForObject(held.getItem()) + " x" + held.stackSize + " (" + held.getMetadata() + ")" : "Gegens.: n/a") + "\n" +
|
||||
"Gegens.: " + ItemRegistry.REGISTRY.getNameForObject(held.getItem()) + " x" + held.size + " (" + held.getMetadata() + ")" : "Gegens.: n/a") + "\n" +
|
||||
"Eigens.: " + (entity.dead ? "D" : " ") + (entity.noClip ? "N" : " ") + (entity.onGround ? "G" : " ")
|
||||
+ (entity.canBeCollidedWith() ? "C" : " ") + (entity.canBePushed() ? "P" : " ")
|
||||
+ (entity.isBurning() ? "B" : " ") // + (entity.isInvisible() ? "I" : " ") // + (entity.isSilent() ? "S" : " ")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue