Started by
emilee20111
on
Topic category: Help with Minecraft modding (Java Edition)
Trying to get horse entities to drop brown carpet as poop, which worked fine in only a few blocks of "code" until I realized the carpets were replacing blocks above ground. Playtesting it gives me the idea that the bottom few xyz position's event/target entity are targeting the player himself and not the horse tag/horse entities. How do I connect the bottom few event/target entity with the upper block that introduces the horse tag? What I'm trying to do is to get the carpet to place directly under the horse but also not replace any blocks at the same time. Any help at all is greatly appreciated, this damn thing has sucked up hours of my time lol
Are we ok about your code is saying :
If entity = horse
=> deal no damage to him
Else if (so if entity isn't horse) block at entity position = air
=> wait 20 ticks and at the end of the 20 ticks place a carpet at entity position
_________
If yes, the carpet don't look if the block is air when it is placed but 20 ticks before. So first wait 20 tick and second : look if block is air.
I'm not very good ar English and hope I answered your question (thank google translate :-) )