Search in sources :

Example 1 with PrefabModelMesher

use of com.wuest.prefab.Render.PrefabModelMesher in project MC-Prefab by Brian-Wuest.

the class ClientModRegistry method RegisterModelMeshers.

/**
 * This method is used to register model meshers for specific items.
 */
public static void RegisterModelMeshers() {
    ItemBasicStructure item = ModRegistry.BasicStructure();
    // Register the model mesher for this item.
    Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, new PrefabModelMesher());
}
Also used : PrefabModelMesher(com.wuest.prefab.Render.PrefabModelMesher) ItemBasicStructure(com.wuest.prefab.Items.Structures.ItemBasicStructure)

Aggregations

ItemBasicStructure (com.wuest.prefab.Items.Structures.ItemBasicStructure)1 PrefabModelMesher (com.wuest.prefab.Render.PrefabModelMesher)1