-
Recently Browsing
No registered users viewing this page.
-
Posts
-
By diesieben07 · Posted
If you do this, then there is no point having the capability. Just store it in the stack's NBT tag directly at that point... -
Yeah, I registered the entity and everything is fine now.
-
I have no idea man. I tried setting the breakpoints at different parts of the class because intelliJ displays a tree of all the methods called at that point and I never found any of the shareTags methods where I expected them to be. And I know, what I did doesn't really make too much sense because the stack should call the readShareTag and getShareTag automatically (I did look into a lot of methods related to itemstacks), but for some reason nothing was working as expected for me. I just tried that and everything works fine now, if I get rid of that line of code nothing works again. As for the entity, that is probably caused by the "unique" type of zombie that my staff spawns. I forgot to register that in my registry events. I am surprised the entity was spawning considering I haven't registered them actually. I will register them right now, and check if the error will persist. Thank you for your help.
-
By diesieben07 · Posted
Any GUI that has a button on it. MainMenuScreen for example. -
By plugsmustard · Posted
alright. where in vanilla are there those examples you mentioned?
-
-
Topics
-
Who's Online (See full list)