add item command, remove legacy ids
This commit is contained in:
parent
678f37e184
commit
1dea7e9645
38 changed files with 272 additions and 197 deletions
|
@ -1926,7 +1926,7 @@ public class Client implements IThreadListener {
|
|||
}
|
||||
|
||||
StringBuilder str = new StringBuilder(
|
||||
"Schaue auf: " + BlockRegistry.REGISTRY.getNameForObject(block.getBlock()) + " [" + BlockRegistry.getIdFromBlock(block.getBlock()) +
|
||||
"Schaue auf: " + BlockRegistry.getNameFromBlock(block.getBlock()) + " [" + BlockRegistry.getIdFromBlock(block.getBlock()) +
|
||||
":" + block.getBlock().getMetaFromState(block) + "]" + "\n" +
|
||||
String.format("Position: %d %d %d", pos.getX(), pos.getY(), pos.getZ())
|
||||
);
|
||||
|
@ -1967,7 +1967,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.size + " (" + held.getMetadata() + ")" : "Gegens.: n/a") + "\n" +
|
||||
"Gegens.: " + ItemRegistry.getNameFromItem(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