Jump to content

Fabillo

Members
  • Posts

    23
  • Joined

  • Last visited

Fabillo's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Dear People, I want to make the Player stop walking clientside. Please write suggestions only for version 1.8! Thanks.
  2. Hello, i want to draw a 2D line in my custom GUI. How can i do that? Can i change the color or the line width? Thanks for helping!
  3. How can i change that?
  4. Hi, can you help me, how to scale the text, that is drawn on the screen by the fontrenderer? When I try to use Gl11.glScaled(...) the text changes its position on screen. How can I change that?
  5. Hello, i am trying to change the position, where the scoreboard is displayed on screen. I only want it to be clientside and 1.8.0! Thank you for any kind of support.
  6. I found a solution: public static void placeBlock() { Minecraft mc = Minecraft.getMinecraft(); EntityPlayerSP player = mc.thePlayer; if(player != null && player.getHeldItem() != null && player.getHeldItem().getItem() instanceof ItemBlock && mc.objectMouseOver != null && mc.objectMouseOver.typeOfHit == MovingObjectType.BLOCK) { mc.playerController.func_178890_a(player, mc.theWorld, player.getHeldItem(), mc.objectMouseOver.getBlockPos(), mc.objectMouseOver.sideHit, mc.objectMouseOver.hitVec); player.swingItem(); } }
  7. Hello Internet, I want to ask you, how i can simulate a rightclick clientside, to let the player place a block. Thank you for any kind of help!
  8. I wanted to make a Mod for PVP Client-Side, but all the Servers i'm playing on are at 1.8, because the PVP is better. So i don't want to update. Is there another way?
  9. @SubscribeEvent public void onMove(InputUpdateEvent e) { } Is this wrong? My IDE cannot find the InputUpdateEvent. Did you mean InputEvent?
  10. Can you give me a code example please?
  11. Hello People, i am trying to make thePlayer(Minecraft.getMinecraft().thePlayer) sneaking. What i have already achieved: But the player is not stopping to walk at the end of the block. Does anyone know how to do that?
  12. Another question: How can i delete packets before they are send to the server? I could just cancel Packet18Animation to stop the swing animation.
  13. I'm trying to edit the EntityPlayerSP class. /** * Swings the item the player is holding. */ public void swingItem() { super.swingItem(); this.sendQueue.addToSendQueue(new C0APacketAnimation()); } this should be: /** * Swings the item the player is holding. */ public void swingItem() { } so i'm trying to avoid the swing animation directly.
  14. Thank you for your reply! Do you know any other way of adding code into a class?
  15. I said, that it is not directly possible with forge, but mixins is a library, so i'm still using forge.
×
×
  • Create New...

Important Information

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