Started by
Bobking2010
on
Topic category: Help with Minecraft modding (Java Edition)
Im trying to make a lootcrate, which gives you one of a list of items once rightclicked. But for some reason my procedure isnt working
Can someone please help me
Here is a picture of my procedure:
image is a bit blurry, but i beleive you are using =. When deciding a random thing, use > or <
the thing with random is that picks a random number of ANY digit. almost never 0.4, but most of the time something like 0.4758337559848593859436
remove the entire procedure exept for the start and the first block
then create a tag with all your custom items like this(replace the items int he example tag with your item)
After that create this procedure (replace the item in main hand with your openeer item andthe tag with the tagname of your tag)
Then in block creation interface go to triggers and select the on block rightclicked trigger
and something i just realized the remove item has to go behind the item in main hand check, else it will glitch if the itemstacks size is 1
Thanks
but for some reason nothing spawns but I spelled the Tag name correctly. I also do not understand the rightclick on Block procedure
you dont understand how the procedure works ?
I can expalin to you if you have Discord just message darkstareternal
Nevermind it works
But now it always spawns 2 Items not only one
have you used 2 of the spawn item gem blocks ?
no only one
that is the reason its confusing me
thats very weird
when i tested theprocedure it worked
oh wait i think i know the problem
oops nvm i thought we were using loottables (you can also do that but the loottable would only activate if you break the crate nof if you right click it)
It finally works
i fixed the problem now :)
but Im very thankful for your help and quick responses