Custom entity resource definition

Resource definition is done client-side to define texture, animation and model shortnames, and potentially even control some animations. This type of file is typically called an .entity file. It is located in res/entity/yourEntityname.entity.json.

Note: you can scroll the code examples in both directions if you don't see the document fully.