Started by
Withe
on
Topic category: Help with Minecraft modding (Java Edition)
Hi i'm making a seed that you can plant on any solid block but it's happen even when i'm opening a gui so i want to know how can i exclude gui block or even better not to activate the procedure when i open a gui.
Pd:I'm apologize for my english if i made some mistakes.
what do you mean by this, talk on your foreign language is google translator ain't working
as*
Cuando abres un cofre con un bloque en la mano, el bloque no se coloca encima del cofre.
Yo he creado una semilla con un procedimiento que cuando haces clic en cualquier bloque sólido coloca el cultivo correspondiente encima.
Lo que quiero es saber como puedo referirme a los bloques con inventario como el cofre y el horno para poder excluirlos de esta acción.
-------------------------------------------------- ------------
When you open a chest with a block in the hand, the block is not placed on top of the chest.
I have created a seed with a procedure that when you click on any solid block, it places the corresponding crop on top of this block.
What I want to know is how I can refer to the blocks with inventory like the chest and the furnace so that I can exclude them from this procedure.
so, en el trigger the click derecho en tu bloque, si objeto en la mano derecha de la entidad es: BLOQUE = falso
abre Gui
so, on the trigger right click on block, if not item item in mains hand of event target entity = block
do open gui
you cant execute block with gui by pressing button;(i gues).
Gui's execute procedures only as PLAYER.