Hello, on "docs.fabric.net/develop/" there are tutorials for creating your first item and block but not for Entities. I, as a beginner that just started out find these tutorials very helpful but i hit a wall in development because i want to add an entity but i dont even know how to begin. ChatGPT and other sources also werent very helpful because i think they all showed how to add "another" entity without showing the making progress.
#1.21.10 Fabric Documentation for "Creating your first Entity"
16 messages · Page 1 of 1 (latest)
i recommend checking the code of an mod that adds entities. and try to understand that, then you can try to make it yourself
iirc there are versions of the entity tutorial for older versions, entities largely did not heavily change, except for the fact that mojang now likes to use brains
this tutorial still pretty much applies https://wiki.fabricmc.net/tutorial:entity
they did change
entity renderers no longer get an entity instance, instead get an entity state
entity rendering also has changed
fair enough, I mean I agree in that there should be an updated doc about creating an entity
docs are community maintained. writing documentation isn't easy
Unfortunately, there are so many entity classes that it's hard to write documentation to cover most of them
For example, projectiles are completely different from cows
Projectiles have custom handling and hit targets and whatnot, while cows have variants and need to be spawned and have AI and everything else
docs are inprogress check the PR in docs github it has all the code for a basic entity
Is there an advantage to using the Brains stuff rather than Goals?