[1.16.4] How i can open a container by clicking on my mob
By
Klarks, in Modder Support
-
Recently Browsing
No registered users viewing this page.
-
Posts
-
By diesieben07 · Posted
You need to change one of them, yes. -
By ThisIsNotOriginal · Posted
so do i change the name in my ItemsList? -
By diesieben07 · Posted
I do not understand. How is the offhand slot relevant regarding the background color of your slot? Assuming you want a keyboard key to open the GUI: Make a KeyBinding. Use ClientTickEvent to check if its pressed. If it is, send a packet to the server, which then calls NetworkHooks#openGui. You can preemptively also open it on the client to hide the latency of the two network roundtrips. -
By diesieben07 · Posted
That is not how you make a Git repo. At all. This creates a BlockItem for all of your blocks. One of your blocks has the registry name "copper_ore", hence this will create a BlockItem with registry name "copper_ore". This then creates another Item with registry name "copper_ore". This is not allowed, registry names must be unique.
-
-
Topics
-
Who's Online (See full list)