Topic category: Help with modding (Java Edition)
My idea was to create a penguin that comes out of an igloo, another one should only come out when the first one dies.
Also only one generator should be placed per player at most (the latter if I can do it).
I tried a lot of things (I don't want to use global tiggers, it works but it would only be for one player)
I tried some ideas, didn't work... decided to use an entity instead of a block
I came up with "tamed", "owner" and "get nearest entity...".
and .... didn't work
I rethought it and managed to get it to work using blocks again.
But what I did get was an alternative solution, if there was a way to share nbt or other kind of information
with the coordinates of a block I can establish its nbt
But to an entity, it would be more complicated. I can think of using "get nearest entity..." and nbt values (but I don't think it will work for all cases).
Even so I would like to know if there is another simpler way that I have not thought of.
sorry for my translator's English