Fabillo
Members-
Posts
23 -
Joined
-
Last visited
Everything posted by Fabillo
-
Dear People, I want to make the Player stop walking clientside. Please write suggestions only for version 1.8! Thanks.
-
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!
-
How can i change that?
-
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?
-
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.
-
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(); } }
-
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!
-
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?
-
@SubscribeEvent public void onMove(InputUpdateEvent e) { } Is this wrong? My IDE cannot find the InputUpdateEvent. Did you mean InputEvent?
-
Can you give me a code example please?
-
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?
-
Another question: How can i delete packets before they are send to the server? I could just cancel Packet18Animation to stop the swing animation.
-
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.
-
Thank you for your reply! Do you know any other way of adding code into a class?
-
I said, that it is not directly possible with forge, but mixins is a library, so i'm still using forge.
-
Hello, i am trying to edit the source code of Minecraft. I know, that it is not directly possible with Forge, but i heard of a technique called mixins. Does anyone in this forum know something about mixins, or how to use it? Thanks for any kind of help.
-
Getting messages send from Player client-side [1.8.0]
Fabillo replied to Fabillo's topic in Modder Support
1. Sorry for that! I'm not only new to Forge modding, but also new to this webside. 2. But i hope for another way of doing that. Maybe like making a class extend EntityPlayerSP and editing a method. -
Getting messages send from Player client-side [1.8.0]
Fabillo replied to Fabillo's topic in Modder Support
No, i'm not seven years old, because i probably could not code at that age. Also i don't like the new versions of Minecraft. -
Getting messages send from Player client-side [1.8.0]
Fabillo replied to Fabillo's topic in Modder Support
But is there another way, like editing Minecraft#thePlayer? Or using packets. -
Hello Minecraft Forge modding people, I'm trying to get messages send from the player client-side, and cancel them, all before they are send to the server. I found a tutorial on Youtube, but it involved editing to Minecraft source code, wich is obviously not that easy/maybe impossible. I'm very thankful for any kind of help.