Need clarification on what exactly you're trying to do. Are you making an addon and need a collision box for a mob? Or are you making a resource pack and trying to do something like add a border to a texture?
If you have downloaded the Vanilla Behavior Pack, I'd recommend looking in the json files for any mob that has similar properties of what you're trying to do and see if they have what you're looking for. For instance, if you want a mob to explode based on proximity, look at the creeper. If you want a mob to be able to teleport, look at the enderman. Etc, Etc. Feel free to just play around with things. You never know what you might find. I hope this helps. Happy coding.
hi can someone till me how to add a collision box to a costume mob model in a addon
Need clarification on what exactly you're trying to do. Are you making an addon and need a collision box for a mob? Or are you making a resource pack and trying to do something like add a border to a texture?
mob collision box
K. In the json file for your entity, add in :
If you have downloaded the Vanilla Behavior Pack, I'd recommend looking in the json files for any mob that has similar properties of what you're trying to do and see if they have what you're looking for. For instance, if you want a mob to explode based on proximity, look at the creeper. If you want a mob to be able to teleport, look at the enderman. Etc, Etc. Feel free to just play around with things. You never know what you might find. I hope this helps. Happy coding.
thanks man this is what I'm working on