Open WayGroovy opened 5 years ago
Found some relevant code for the issue, attaching below so I don't forget. OtherDrops/src/com/gmail/zariust/otherdrops/drop/ItemDrop.java
if (material.toString().equalsIgnoreCase("monster_egg")) { // spawn
// egg
EntityType creatureType = CommonEntity
.getCreatureEntityType(dataSplit[0]);
if (creatureType != null)
itemData = creatureType.getTypeId();
}
This is on 1.12 branch, will need to find some replacement for 1.13.
Is your feature request related to a problem? Please describe. Long ago I had a chance a mob would drop one of it's own spawn eggs: aliases:
&playerWeapons [ANY_SWORD, PROJECTILE_ARROW@PLAYER]
&dropSpawnEgg tool: *playerWeapons drop: EGG@this/1/4%
Now that Monster Eggs all have unique item names, so I need to have a separate alias for each? Describe the solution you'd like Request drops that are SPAWN_EGG@THIS to associate with /ENTITY/_SPAWN_EGG
Describe alternatives you've considered Considered rolling back to earlier minecraft version
Additional context Thank you for your quick response and assistance