Everything posted by 8iggy
-
AutoReconnect Mod For Forge 1.16.5
hello! I'm looking for a auto reconnect mod using forge! I have found multiple but only for fabric so I'm hoping someone knows of a forge one!
-
Right/Left Click
Can you show me an example on how to call the event? I'm not trying to figure out when the player right clicks. but how to right click using code.
-
Right/Left Click
Oh my bad it's just in spigot/paper api you use EntityPlayer for NPCs. I just mean how can I right click a entity.
-
Use An API
Here it is! https://pastebin.com/cu30ZFsE
-
Right/Left Click
Hello! I want to figure out how to send a right click entity packet and to click a item in an container packet. For the right click I want to right click an NPC/EnitityPlayer and for the click a item in an inventory I want to be able to click an item in a certain slot of a container. Hope someone can help me out!
- Use An API
- Use An API
-
Use An API
I did that even before this thread... It just doesn't work when I export it. It says that JDABuilder doesn't exist
-
Use An API
I'm sorry I didn't quite understand. Could you provide more info? Where do I put the api and what parts do I comment out?
-
Can/How Get A Server Sided Container
I feel really dumb... Sorry for being such a pain. Thanks to everyone who replied to this thread!
-
Can/How Get A Server Sided Container
I always say the same thing every time and people still don't get it but I'm trying to get all the items from a server sided menu/inventory. Get all the info in them aswell, like the lore and display name. I figured out how to do it all but don't know how to get an instance of a server menu/inventory.
-
Can/How Get A Server Sided Container
Thanks! I'm going to test this but I'm still having some errors with other stuff. If it's ok with you can I send a message here if I have anymore issues?
-
Use An API
I'm not sure how that would help my situation. but I'm trying to run minecraft and get info from a server then send it to my discord bot without using an external server.
-
Can/How Get A Server Sided Container
Can I access all the items using openGUI or registering the screen?
-
Use An API
Hello! I'm trying to use JDA (Java Discord API) in my client. I imported it and did all the things I needed to but for some reason whenever I put the mod in the mods folder and test it it gives me a classdefnotfounderror. Not sure why. Whenever I test the client it runs fine and even the bot goes online. But using it doesn't work.
-
Can/How Get A Server Sided Container
Thanks! In The ModPacketHandler Class. What Is Main? If It's My Main Class getLocation Isn't A Method In It.
-
Can/How Get A Server Sided Container
SoRrY
-
Can/How Get A Server Sided Container
So I put It into my code and it seems like the class PacketBuffer doesn't have a method called write/readUtf. I'm currently using 1.16.5 forge. And I also don't know how to use the class. for example C2SPacketForContainer packet = new C2SPacketForContainer(what do i put here?);
-
Can/How Get A Server Sided Container
I'm trying to get it info from the server and into the client. I'm still new to forge so I'm not sure if this will work for that.
-
Get All Items From A Inventory/GUI
Thanks I Figured It Out! I Have Another Thread On How To Get The Container. Maybe You Could Help More There?
-
Can/How Get A Server Sided Container
How Can I Get A Server Menu/Container? For An Example. I Made A Menu On My Server And Have Some Items In It. I Want To Get All The Information From The Container And Be Able To Access It In My Code. Hope This Is Enough Info!
-
Get All Items From A Inventory/GUI
I currently have no code. Could you just tell me how to get a server sided container/menu and make it into a variable?
-
Get All Items From A Inventory/GUI
I'm trying to get the item meta of all the items if that helps. like the lore and stuff.
-
Get All Items From A Inventory/GUI
So how do I get the container? It doesn't need to be a event btw.
-
Get All Items From A Inventory/GUI
Hello Everyone! I just started learning how to code forge mods and this is my first post. I have been coding spigot plugins for 2 years so I'm not totally clueless. I just want to know how to get all the items from a Inventory/GUI. I have no clue how. I tried something like this. but it got me nowhere @SubscribeEvent public void onOpenInventory(GuiOpenEvent e) { e.getGui().itemsplsssss }
IPS spam blocked by CleanTalk.