Fixed a bug in Drone.js for prisms using Oak stairs (gable end used spruce not oak)
Added a new optional modification to GuiIngame class to show mouse pos and block info for block under mouse.
This commit is contained in:
parent
9ce85bb5b3
commit
88cafd6ee2
2 changed files with 678 additions and 662 deletions
10
optional/GuiIngame.patch
Normal file
10
optional/GuiIngame.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
466a467,475
|
||||
> //
|
||||
> // wph 20121231 show the block id and metadata for in-focus block
|
||||
> //
|
||||
> MovingObjectPosition omo = this.mc.objectMouseOver;
|
||||
> if (omo != null){
|
||||
> int bi = this.mc.theWorld.getBlockId(omo.blockX,omo.blockY,omo.blockZ);
|
||||
> int md = this.mc.theWorld.getBlockMetadata(omo.blockX,omo.blockY,omo.blockZ);
|
||||
> this.drawString(var8,"Mouse:" + omo.blockX + ", " + omo.blockY + ", " + omo.blockZ + " block data value: " + bi + ":" + md,2,112,14737632);
|
||||
> }
|
Reference in a new issue