Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Add paper's EntityFertilizeEgg event

Open CJH3139 opened this issue 4 months ago • 2 comments

Problem

https://github.com/SkriptLang/Skript/issues/7819

Solution

  • Added a bonemeal alias to Block Fertilize event as it was a little bit confusing to some ([block] fertilize -> "[block] (fertilize|bone[ ]meal)")
  • Added paper's EntityFertilizeEgg event that accepts mother and father entity from the breeding family expr
    • Errors when using event-entity as it's ambiguous
    • Errors when using child from ExprBreedingFamily (Still in blockstate or not an entity at all in some case)

Testing Completed

Tested both with a script and manually image

    broadcast "Mother is: %breeding mother%"
    broadcast "Father is: %breeding father%"
image

Supporting Information


Completes: https://github.com/SkriptLang/Skript/issues/7819 Related: none

CJH3139 avatar Oct 09 '25 08:10 CJH3139

oh and on the error message screenshot, changed the first error message line to The 'bred child' expression cannot be used in a 'fertilize egg' event.

CJH3139 avatar Oct 09 '25 08:10 CJH3139

Do you intend to continue working on this?

sovdeeth avatar Dec 08 '25 22:12 sovdeeth