Default GeoModels
Default GeoModels
are more advanced GeoModel setups that allow for easier setups.
DefaultedEntityGeoModel
In your render that extends GeoEntityRenderer, instead of making a new GeoModel class, simply use:
new
DefaultedGeoEntityModel
(new ResourceLocation("yourmodid", "modelname"));
This creates a new GeoModel
, and sets the following paths automagically, so simply save your assets as:
Texture:
textures/entity/modelname.png
Model:
geo/entity/modelname.geo.json
Animation:
animations/entity/modelname.animation.json
DefaultedBlockGeoModel
In your render that extends GeoBlockRenderer
, instead of making a new GeoModel class, simply use:
new
DefaultedGeoBlockModel
(new ResourceLocation("yourmodid", "modelname"));
This creates a new GeoModel
, and sets the following paths automagically, so simply save your assets as:
Texture:
textures/block/modelname.png
Model:
geo/block/modelname.geo.json
Animation:
animations/block/modelname.animation.json
DefaultedItemGeoModel
In your render that extends GeoItemRenderer
, instead of making a new GeoModel class, simply use:
new
DefaultedGeoItemModel
(new ResourceLocation("yourmodid", "modelname"));
This creates a new GeoModel
, and sets the following paths automagically, so simply save your assets as:
Texture:
textures/item/modelname.png
Model:
geo/item/modelname.geo.json
Animation:
animations/item/modelname.animation.json
Last updated