Started by
Real_Kracken
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make a beehive like block for my mod but I can't figure it out. I used the "When Entity Collides With Block" Trigger and used this code:
I can't put the screenshot here for some reason so here is a link to it.
https://imgur.com/a/kFlQA4V
Here is the update tick Procedure I used.
I am still experimenting but can't find a solution PLEASE HELP!
Edited by Real_Kracken on Tue, 08/05/2025 - 23:07
Does the sound play and only despawn not happens?
Try using debugger to see if if is executed when bee collides with your block: https://mcreator.net/wiki/how-use-debugger
The sound doesn't play either
I tried using the debug block, but nothing happened, I'm wondering if it has something to do with the "event/target entity" because if I could I would try source entity but it doesn't have the correct dependencies needed to work with the Entity Colliding trigger
Try disabling null check for the procedure in this case
See https://mcreator.net/wiki/my-entity-procedure-crashes-game#toc-index-3
It still didn't work, but I tried the Entity Tick Update and checked if a wasp nest was on either side, if true the wasp despawned. But the problem is I can't make a timer with the wasp if it's despawned, and I can't check if there are any entities inside the wasp so an infinite amount can go inside.
Use block NBT for timer
Use block NBT variable to store wasp count
I already am...
Ok I might be on to something, I'm using the Wasp Entity triggers to do it, so far I've made it so the nest can only hold one, the last thing I need to do is make the timer work and make it respawn the wasps
https://imgur.com/a/kFlQA4V
This image shows the tick trigger I used. Sadly this still isn't working