Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
SimpleBucketMobs
Throw mobs into buckets! :D
Beta Disclaimer
Plugin is still heavily in development and might have some bugs, please be sure to report them to us!
The following information about texture configuration, is for if you want to edit the textures. All released vanilla mobs have been configured to use the Accompanying resource pack
Texture Configuration
This configuration is texture.yml
which is specifically used for custom model data. Currently, the custom model data is applied to a bucket.
The texture configuration is made to be customizable in the event you wanted to make special textures for each variant of a mob.
For example, if you wanted to set a special blue sheep texture, rather than just having a generic texture for all sheep.
Using "default"
The simplest way to assign custom model data is to use the default option.
SHEEP:
default: 1
PIG:
default: 2
This is the easiest way to set it and will set it to all mobs of that type. In the above example, all sheep will have custom model data 1 and all pigs will have custom model data 2.
Using the nbtKey and nbtValue
nbtKey and nbtValue are the ways I will be referring to the NBT Tags. nbtValue is our "goal". The examples are simplified by removing the extra JSON.
Consider a villager's profession...
{ "VillagerData": {"level":1, "profession":"minecraft:none", "type":"minecraft:desert"} }
If we want to differentiate custom model data based on a villager's profession, our nbtValue will be "minecraft:none" in this example.
You would get to the nbtValue using all the nbtKeys along the way. This will look like this in your texture.yml
...
VILLAGER:
VillagerData:
profession:
"minecraft:none": 1
As shown above, you can use any information stored in the NBT tags to differentiate specific variants of a mob. Here are a few more examples...
Parrot (Variant)
{ "Variant": 1 }
PARROT:
default: 0
Variant:
1: 1
Sheep (Color)
{ "Color": "2b" }
SHEEP:
default: 0
Color:
0b: 0
1b: 1
2b: 2
Note
You can only use one set of nbtValues (in the villager example, profession).
The method used to search for the desired nbtValue is not recursive and will not find all possible values.