Проблема с запуском "Базы" в eclipse

Сообщения
14
Лучшие ответы
0
Реакции
0
Версия Minecraft
1.12.2
Помогите с ошибкой плез!
package com.kass.Jsac.main;

import com.kass.Jsac.proxy.CommonProxy;
import com.kass.Jsac.reference.Reference;

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;

@Mod(modid = Reference.MODID, name = Reference.NAME, version = Reference.VERSION,
acceptedMinecraftVersions = Reference.ACCEPTEDMINECRAFTVERSION)
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) {};
}
package com.kass.Jsac.reference;

public class Reference
{

public static final String MODID = "Jsac";
public static final String NAME = "JSacs";
public static final String VERSION = "0.1";
public static final String ACCEPTEDMINECRAFTVERSION = "1.12.2";
public static final String CLIENT = "com.kass.Jsac.proxy.ClientProxy";
public static final String COMMON = "com.kass.Jsac.proxy.CommonProxy";

}
package com.kass.Jsac.proxy;

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 registerItemRender(Item item, int meta, String id)
{
ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), id));
}

}
package com.kass.Jsac.proxy;

import net.minecraft.item.Item;

public class CommonProxy
{
public void registerItemRender(Item item, int meta, String id) {}
}
 
Краш-лог
2020-01-04 14:39:31,426 main ERROR Unable to move file C:\Users\Kirill\Desktop\modding\run\logs\latest.log to C:\Users\Kirill\Desktop\modding\run\logs\2020-01-04-7.log: java.nio.file.FileSystemException C:\Users\Kirill\Desktop\modding\run\logs\latest.log -> C:\Users\Kirill\Desktop\modding\run\logs\2020-01-04-7.log: Процесс не может получить доступ к файлу, так как этот файл занят другим процессом.

2020-01-04 14:39:31,431 main ERROR Unable to delete file C:\Users\Kirill\Desktop\modding\run\logs\latest.log: java.nio.file.FileSystemException C:\Users\Kirill\Desktop\modding\run\logs\latest.log: Процесс не может получить доступ к файлу, так как этот файл занят другим процессом.

2020-01-04 14:39:31,443 main ERROR Unable to move file C:\Users\Kirill\Desktop\modding\run\logs\debug.log to C:\Users\Kirill\Desktop\modding\run\logs\debug-1.log: java.nio.file.FileSystemException C:\Users\Kirill\Desktop\modding\run\logs\debug.log -> C:\Users\Kirill\Desktop\modding\run\logs\debug-1.log: Процесс не может получить доступ к файлу, так как этот файл занят другим процессом.

2020-01-04 14:39:31,444 main ERROR Unable to delete file C:\Users\Kirill\Desktop\modding\run\logs\debug.log: java.nio.file.FileSystemException C:\Users\Kirill\Desktop\modding\run\logs\debug.log: Процесс не может получить доступ к файлу, так как этот файл занят другим процессом.

[14:39:31] [main/INFO] [GradleStart]: Extra: []
[14:39:31] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Kirill/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[14:39:31] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[14:39:31] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[14:39:31] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[14:39:31] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[14:39:31] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
[14:39:31] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_231, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jdk1.8.0_231\jre
[14:39:31] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
[14:39:31] [main/ERROR] [FML]: Full: C:\Users\Kirill\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
[14:39:31] [main/ERROR] [FML]: Trimmed: c:/users/kirill/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
[14:39:31] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[14:39:31] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
2020-01-04 14:39:32,749 main WARN Disabling terminal, you're running in an unsupported environment.
[14:39:32] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
[14:39:32] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
[14:39:32] [main/INFO] [FML]: Searching C:\Users\Kirill\Desktop\modding\run\.\mods for mods
[14:39:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[14:39:32] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[14:39:32] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[14:39:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:39:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[14:39:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[14:39:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:39:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:39:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:39:34] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[14:39:34] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:39:34] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[14:39:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[14:39:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[14:39:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[14:39:35] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[14:39:35] [main/INFO] [minecraft/Minecraft]: Setting user: Player322
[14:39:39] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
[14:39:40] [main/INFO] [FML]: -- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_231, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 188188040 bytes (179 MB) / 379060224 bytes (361 MB) up to 1908932608 bytes (1820 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.6.13586 Compatibility Profile Context 19.12.3 26.20.15003.5016' Renderer: 'AMD Radeon HD 7700 Series'
[14:39:40] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
[14:39:40] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[14:39:40] [main/INFO] [FML]: Replaced 1036 ore ingredients
[14:39:40] [main/INFO] [FML]: Searching C:\Users\Kirill\Desktop\modding\run\.\mods for mods
[14:39:40] [main/ERROR] [FML]: Unable to construct net.minecraftforge.fml.common.Mod container
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_231]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_231]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_231]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_231]
at net.minecraftforge.fml.common.ModContainerFactory.build(ModContainerFactory.java:73) [ModContainerFactory.class:?]
at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:135) [DirectoryDiscoverer.class:?]
at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:104) [DirectoryDiscoverer.class:?]
at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:104) [DirectoryDiscoverer.class:?]
at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:104) [DirectoryDiscoverer.class:?]
at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:104) [DirectoryDiscoverer.class:?]
at net.minecraftforge.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:62) [DirectoryDiscoverer.class:?]
at net.minecraftforge.fml.common.discovery.ContainerType.findMods(ContainerType.java:47) [ContainerType.class:?]
at net.minecraftforge.fml.common.discovery.ModCandidate.explore(ModCandidate.java:74) [ModCandidate.class:?]
at net.minecraftforge.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:93) [ModDiscoverer.class:?]
at net.minecraftforge.fml.common.Loader.identifyMods(Loader.java:425) [Loader.class:?]
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:566) [Loader.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.init(Minecraft.java:513) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_231]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_231]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_231]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_231]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_231]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_231]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_231]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_231]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:25) [start/:?]
Caused by: java.lang.IllegalArgumentException: The modId Jsac must be all lowercase.
at net.minecraftforge.fml.common.FMLModContainer.sanityCheckModId(FMLModContainer.java:146) ~[FMLModContainer.class:?]
at net.minecraftforge.fml.common.FMLModContainer.<init>(FMLModContainer.java:130) ~[FMLModContainer.class:?]
... 32 more
[14:39:42] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 180359300 nanos
[14:39:42] [main/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[14:39:43] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge] at CLIENT
[14:39:43] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge] at SERVER
[14:39:43] [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge
[14:39:44] [main/INFO] [FML]: Processing ObjectHolder annotations
[14:39:44] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[14:39:44] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[14:39:44] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[14:39:44] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[14:39:44] [main/INFO] [FML]: Applying holder lookups
[14:39:44] [main/INFO] [FML]: Holder lookups applied
[14:39:44] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[14:39:44] [main/INFO] [FML]: Applying holder lookups
[14:39:44] [main/INFO] [FML]: Holder lookups applied
[14:39:44] [main/INFO] [FML]: Applying holder lookups
[14:39:44] [main/INFO] [FML]: Holder lookups applied
[14:39:44] [main/INFO] [FML]: Applying holder lookups
[14:39:44] [main/INFO] [FML]: Holder lookups applied
[14:39:44] [main/INFO] [FML]: Injecting itemstacks
[14:39:44] [main/INFO] [FML]: Itemstack injection complete
[14:39:44] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null
[14:39:47] [Sound Library Loader/INFO] [minecraft/SoundManager]: Starting up SoundSystem...
[14:39:47] [Thread-5/INFO] [minecraft/SoundManager]: Initializing LWJGL OpenAL
[14:39:47] [Thread-5/INFO] [minecraft/SoundManager]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[14:39:47] [Thread-5/INFO] [minecraft/SoundManager]: OpenAL initialized.
[14:39:47] [Sound Library Loader/INFO] [minecraft/SoundManager]: Sound engine started
[14:39:52] [main/INFO] [FML]: Max texture size: 16384
[14:39:52] [main/INFO] [minecraft/TextureMap]: Created: 512x512 textures-atlas
[14:39:55] [main/INFO] [FML]: Applying holder lookups
[14:39:55] [main/INFO] [FML]: Holder lookups applied
[14:39:55] [main/INFO] [FML]: The game window is being closed by the player, exiting.
[14:39:55] [main/WARN] [FML]: Java has been asked to exit (code 0)
[14:39:55] [main/WARN] [FML]: Exit trace:
[14:39:55] [main/WARN] [FML]: net.minecraftforge.fml.common.LoadController.transition(LoadController.java:144)
[14:39:55] [main/WARN] [FML]: net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:746)
[14:39:55] [main/WARN] [FML]: net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336)
[14:39:55] [main/WARN] [FML]: net.minecraft.client.Minecraft.init(Minecraft.java:581)
[14:39:55] [main/WARN] [FML]: net.minecraft.client.Minecraft.run(Minecraft.java:421)
[14:39:55] [main/WARN] [FML]: net.minecraft.client.main.Main.main(Main.java:118)
[14:39:55] [main/WARN] [FML]: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[14:39:55] [main/WARN] [FML]: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[14:39:55] [main/WARN] [FML]: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[14:39:55] [main/WARN] [FML]: java.lang.reflect.Method.invoke(Method.java:498)
[14:39:55] [main/WARN] [FML]: net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[14:39:55] [main/WARN] [FML]: net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[14:39:55] [main/WARN] [FML]: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[14:39:55] [main/WARN] [FML]: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[14:39:55] [main/WARN] [FML]: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[14:39:55] [main/WARN] [FML]: java.lang.reflect.Method.invoke(Method.java:498)
[14:39:55] [main/WARN] [FML]: net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
[14:39:55] [main/WARN] [FML]: GradleStart.main(GradleStart.java:25)
AL lib: (EE) alc_cleanup: 1 device not closed
Сообщения
522
Лучшие ответы
26
Реакции
107
The modId Jsac must be all lowercase.
public static final String MODID = "jsac"; В классе Reference
 
Сверху