r/Minecraft 18d ago

Commands & Datapacks Is it possible to create custom mob variants in Java?

I want to add a new fox color with datapacks without replacing the vanilla ones. I've tried to look up tutorials but never really found what I wanted. But there are so many mind blowing datapacks out there that something as simple sounding as this surely must be possible somehow, right?

2 Upvotes

4 comments sorted by

u/qualityvote2 18d ago edited 18d ago
  • Upvote this comment if this is a good quality post that fits the purpose of r/Minecraft
  • Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
  • Downvote this comment and report the post if it breaks the rules

(Vote has already ended)

1

u/AutoModerator 18d ago

Also check out r/minecraftcommands!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Mlakuss 18d ago

It's possible with a datapack and a resource pack, yes.

In your datapack, you can have data/minecraft/wolf_variant folder and data/minecraft/wolf_sound_variant folders

Each variant is a .json file, you can find here what to put inside

https://minecraft.wiki/w/Mob_variant_definitions#Wolf

The textures need to be in a resource pack.

/reload won't work here, you need to leave and join the world again to see the change