Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

kekmybrain

Members
  • Content Count

    14
  • Joined

  • Last visited

Community Reputation

1 Neutral

About kekmybrain

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I found what i was looking for. It was very simple. This is the code if anyone else ever needs it. mc.playerController.processRightClick(mc.player, mc.world, EnumHand.MAIN_HAND);
  2. Yes i know, I'm just very new in forge coding and java, so what you mean is to create a new item that is exactly like the ender pearl?
  3. Okay. edit: if someone knows how to do what im looking for please help me.
  4. Its fine xD, do you know how i could throw the pearl or rightclick via code?
  5. But for that you would need op. What i need is just a way to throw the enderpearl that already is in my hand.
  6. You cant spawn entities in multiplayer? It is a forge client.
  7. That wont work on multiplayer servers tho? is there anyway i can just throw the ender pearl in my current slot. Maybe it click right click for me or some packet that can throw it.
  8. Hello, so I'm making a client and i made it so that whenever i turn on a module it will switch to the enderpearl in my hotbar then when i turn it off it will switch back to the item slot i was previous in. How would i throw the enderpearl?. Via a packet or something. I just need to know how i can throw it using code.
  9. package me.kek.kekclient.event.events; import net.minecraft.client.gui.GuiScreen; import net.minecraftforge.client.event.RenderGameOverlayEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; public class WaterMarkThing extends GuiScreen { @SubscribeEvent public void onRender(RenderGameOverlayEvent event) { if (event.getType() == RenderGameOverlayEvent.ElementType.ALL) { drawRect(10, 10, 10, 10, 0xb8352c); } } } This code does not show a rectangle Do you know why it does not? I also put it in the eventbus in the
  10. How would i make a event that draws a simple rectangle on the screen?
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.