Мод не виден в клиенте

Сообщения
0
Лучшие ответы
0
Реакции
0
При редактировании modid, клиент выдает ошибку.
Java:
package com.NOFOS.ChaosWeapons.main;

import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.SidedProxy;

import com.NOFOS.ChaosWeapons.porxy.CommonProxy;
import com.NOFOS.ChaosWeapons.reference.Reference;

@Mod (modid = Reference.MODID, name = Reference.NAME, version = Reference.VERSION,
acceptedMinecraftVersions = Reference.ACCEPTED_MINECRAFT_VERSION)

public class Main
{
    @Instance
    public static Main instance;
    
    @SidedProxy(clientSide = Reference.CLIENT, serverSide = Reference.COMMON)
    public static CommonProxy proxy;
    
    @EventHandler
    public static void preInit(FMLPreInitializationEvent event) {};
    
    @EventHandler
    public static void Init(FMLInitializationEvent event) {};
    
    @EventHandler
    public static void postInit(FMLPostInitializationEvent event) {};
    
}
Java:
package com.NOFOS.ChaosWeapons.reference;

public class Reference
{
    public static final String MODID = "chaosweapons";
    public static final String NAME = "Chaos Weapons";
    public static final String VERSION = "1.0";
    public static final String ACCEPTED_MINECRAFT_VERSION = "1.12.2";
    
    public static final String CLIENT = "com.NOFOS.ChaosWeapons.proxy.ClientProxy";
    public static final String COMMON = "com.NOFOS.ChaosWeapons.proxy.CommonProxy";
}
Java:
package com.NOFOS.ChaosWeapons.porxy;

import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;

public class ClientProxy extends CommonProxy
{

    public void registerItemRenderer (Item item, int meta, String id)
    {
        ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), id));
    }
    
}
Java:
package com.NOFOS.ChaosWeapons.porxy;

import net.minecraft.item.Item;

public class CommonProxy {
    
    public void registerItemRenderer (Item item, int meta, String id) {}

}
Java:
[
{
  "modid": "chaosweapons",
  "name": "Chaos Weapons",
  "description": "Beginning of my modding.",
  "version": "${version}",
  "mcversion": "${mcversion}",
  "url": "",
  "updateUrl": "",
  "authorList": ["NOFOS"],
  "credits": "",
  "logoFile": "",
  "screenshots": [],
  "dependencies": []
}
]
 
Сообщения
696
Лучшие ответы
9
Реакции
49
Сверху