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


  • Posts

  • Joined

  • Last visited


  • Gender
  • Personal Text
    I am new!

Guru_Fraser's Achievements

Tree Puncher

Tree Puncher (2/8)



  1. I've seen the event for "NameFormat Event" and changing the display name within that doesn't work. What I'm trying to achieve is something that would find all "loaded" players and edit their name based on my own scenarioes. Is there anything within the API that allows me to modify a display name / edit it at render level?
  2. I want to change how players names are rendered, but cannot work out how to modify it. I've found RenderPlayerEvent but, theres no way to change how to render their name that I can see without editing base classes?
  3. No it has bukkit, but I am trying to make it so that it picks up the item in slot 0 just like you would if you left clicked it, which would trigger a bukkit event, but I can't seem to make the forge trigger the bukkit even because I don't think I'm sending a packet to the server and am not too sure how to send the packet to the server telling it I've clicked, because I thought detectAndSendChanges did that.
  4. I'm trying to, but slotClick inside container doesn't tell the server anything, would you recommend a different method for my operation? I did use detectAndSendUpdates(); but it didn't really do anything about it server side. I picked the item up, but the server side didn't recieve it
  5. The question is irrelevant to bukkit. My mod is for forge, i'm trying to use forge packets to send the a server which may be bukkit.... my mod is client side and i'm trying to tell the server HEY IM CLICKING THIS ITEM... using slotClick doesn't send any packet to the server, its all client side, I'm asking if packet 102 will send to the server or not because the constructor says @SideOnly(Side.CLIENT) if it doesn't send to the server, how can I achieve this.
  6. This is apprently a "@SideOnly(Side.Client)" Now does this mean I cannot send it to the server to say that I've picked up a specific item? All I'm trying to do is make the server think and know I'm left clicking the item automatically, this would (on bukkit side, what I want to happen: ) call InventoryClickEvent, which is what I want to spoof via my mod, as I'm sure you've seen theres plenty of gui's that use this feature of clicking an item and teleporting etc, I want to initiate this click and allow bukkit to know I'm clicking this, all automagically.
  7. Happen to know how to make it send to the server, and work as a command eg make it so it runs lets for example say "/seed" ? Because I tried it and all it does it outputs it in chat .
  8. Eclipse is my friend How the hell do i use sendTextToPlayer() ? I thought this would work: player.sendChatToPlayer("Hi"); but it doesn't, its asking for "chatmessagecomponent" which doesn't accept any params D:.
  9. No, in an anvil you can rename a chest, thus you can have a chest named "edward" .
  10. PERFECT. THank you so much man, just what I was looking for, you're like a walking forge dictionary
  11. I couldn't see anything that would get the name in here though? I saw .toString() but I had doubts that was right, is that correct though or should I be seing another method?
  12. How would I find out if the player is currently looking into a chest (just single) and how would I get the name of this chest?
  13. So it would be 0,0,35 for a left click on slot 35... Maybe?
  14. Lemme try and give you it in actions. Step 1: - Mod initiates the same function as hitting "E" on the keyboard - (Opens Inventory) Step 2: - Mod hovers over itemstack in slot 35 and LEFT CLICKS. Step 3: - Mod now hovers over the itemstack in slot 5 and LEFT CLICKS. Thats all I'm trying to work out
  15. I had an item in slot 5 and an item in slot 35 of the players inventory right. I want the mod to do exactly as if you were to if you left clicked the item in slot 35, then whilst its "holding" the item from slot 35 it would click on slot 5, so essentially the item from slot 35 would be now in slot 5, and the item that was in slot 5 would be "on the cursor".
  • Create New...

Important Information

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