Jump to content

Vic

Members
  • Posts

    7
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

Vic's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. Just change the order then? Or use the z-level.
  2. Something like player.inventory.armorInventory[slot] = null; ?
  3. It's a model right? if you want to rotate a model, you can set the rotation angles for it. Make sure to set the rotation points right though.
  4. Then do that? event.entityPlayer.addChatComponentMessage(new ChatComponentText("Whatevertext")); The other method you mentioned is client side only, you'll have to cast your player to EntityClientPlayerMP. Depends on what you want. And... this.getUnlocalizedName().substring(5) will return "null" if you don't actually set the block name.
  5. What you could do is reacting to the current GUI scale that you can get in the following way: ScaledResolution scaledresolution = new ScaledResolution(this.mc, this.mc.displayWidth, this.mc.displayHeight); int guiScale = scaledresolution.getScaleFactor(); You'd just have to alter the size of your quad. It won't work for buttons and the other elements though, unless you are reverting the scale with glScalef which will screw the whole mouse interaction, you'd have to manually call the methods on these then.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.