Posted January 9, 20214 yr So in 1.15 I had variants [ex. small, medium, large] and each has a different scale as well as damage, appearance etc based on a index associated with the mob when spawned. how does the new way of doing things with AttributeModifierMap.MutableAttribute setCustomAttributes effect this before I waste a lot of time. because this part GlobalEntityTypeAttributes.put(ModEntities.BOBCAT.get(), BobcatEntity.setCustomAttributes().create()); kind of suggest it is global, effects the mob as a whole. Edited January 9, 20214 yr by frakier
January 9, 20214 yr You can always change their base values afterwards e.g. in MobEntity#onInitialSpawn.
January 10, 20214 yr Author Nice, I was hoping that was how it would work. Having problems with the render at the moment so have not been able to test completely. But that is a worry I can set aside now. Thanks. Once I get everything working I will report back how it went just for the curious.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.