User Tools

Site Tools


tutorial:entity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:entity [2020/08/12 14:26] – add link to villager activites emmanuelmesstutorial:entity [2020/09/02 05:49] – Generics fix boogiemonster1o1
Line 63: Line 63:
             Registry.ENTITY_TYPE,             Registry.ENTITY_TYPE,
             new Identifier("entitytesting", "cube"),             new Identifier("entitytesting", "cube"),
-            FabricEntityTypeBuilder.create(SpawnGroup.CREATURE, CubeEntity::new).dimensions(EntityDimensions.fixed(0.75f, 0.75f)).build()+            FabricEntityTypeBuilder.<CubeEntity>create(SpawnGroup.CREATURE, CubeEntity::new).dimensions(EntityDimensions.fixed(0.75f, 0.75f)).build()
     );     );
  
tutorial/entity.txt · Last modified: 2023/09/13 20:30 by nebelnidas