Topic category: Help with Minecraft modding (Java Edition)
Hello, everyone! I have been working on a mob variant in my mod (A flower variant of the Cow called the Moobloom) and two problems have persisted. The first problem was an issue with milking the mob with a specific item, and the second problem was caused by issues with shearing the mob with a specific item. My intention was to make a mob that could be shearable, (similar to a Sheep, Mooshroom, or Snow Golem (But like Mooshrooms specifically)) which would change the mob into another entity (A Cow in this case) upon right clicking, which could also spawn about 0-3 items (flowers) at the position of where the mob would be right clicked in the process. Instead, the procedure I attempted to create made all mobs in both my mod and vanilla Minecraft shearable (so that meant that all mobs could be transformed into a cow when they were right clicked with shears.) Please help! I have been trying to solve this problem for quite a bit now, but I am only a novice at coding, and I am having trouble trying to figure this problem out. Thank you for your help and have an exquisite day!
Hmm ... What do you already have