CoolLord22 / OtherDrops1.13

OtherDrops branch for the latest Minecraft version!
GNU General Public License v3.0
0 stars 5 forks source link

GROW as a trigger #32

Open Blackarr opened 1 year ago

Blackarr commented 1 year ago

Describe the solution you'd like I would like a feature that allows me to have the GROW event, like the BLOCK_GROW, just for Animals as a Trigger.

SHEEP:

CoolLord22 commented 1 year ago

Spigot unfortunately does not have an event that is called when an entity ages. Don't know if this would be possible :(

Blackarr commented 1 year ago

thats unfortunate :(

CoolLord22 commented 1 year ago

Could I have some more feedback as to what you're trying to do with this? I don't see a way of directly coding the listener into OD but it might be possible to see if what you're trying to achieve can be done with OD.

Blackarr commented 1 year ago

I want to implement a customized growth phase. basicly i wanted to make holding Animals a little bit more challanging so the grow up phase for a Cow for example isnt 5min instead 10 hours. new Cows get a effect nightvision for 10 hours and i wanted to have a Grow trigger that only isnt denied if the calf has no nightvision effect. Additionally, you need to feed the calf, but that's a separate matter.

I already managed to achieve this using Mythic Mobs, although it involves a workaround. I set up a timer that triggers a growth skill every 1000 ticks, but running continuously in the background.

A Condition Cooldown or/and Timer trigger would be also a great thing for OD. :)