This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorial:entity [2020/08/12 14:26] emmanuelmess add link to villager activites |
tutorial:entity [2021/01/30 00:38] (current) oroarmor [Spawning your Entity] |
||
---|---|---|---|
Line 257: | Line 257: | ||
{{https://i.imgur.com/MmQvluB.png}} | {{https://i.imgur.com/MmQvluB.png}} | ||
+ | **NOTE:** If your entity does not extend ''LivingEntity'' you have to create your own spawn packet handler. Either do this through the networking API, or mixin to ''ClientPlayNetworkHandler#onEntitySpawn'' | ||
===== Adding tasks & activities ===== | ===== Adding tasks & activities ===== | ||
To add activities see [[:villager_activities|here]]. | To add activities see [[:villager_activities|here]]. | ||