Everything posted by Avanyt
-
Proxy Error
The package name dosent matter. the id is for the game the package is not the issue its proxy.
-
Proxy Error
package com.avanyt.roleplaycraftmod.util; public class ref { public static final String MODID = "roleplaycraft"; public static final String NAME = "RoleplayCraft"; public static final String VERSION = "1.0.0"; public static final String CLIENT = "com.avanyt.roleplaycraft.proxy.ClientProxy"; public static final String COMMON = "com.avanyt.roleplaycraft.proxy.CommonProxy"; }
-
Unable to start server after putting mods in?
What mods do you have and for what version of the game?
-
Proxy Error
Here is the crash log and here is my code ---Code---- package com.avanyt.roleplaycraftmod; import com.avanyt.roleplaycraftmod.proxy.ClientProxy; import com.avanyt.roleplaycraftmod.proxy.CommonProxy; import com.avanyt.roleplaycraftmod.util.ref; 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.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; @Mod(modid = ref.MODID, name = ref.NAME, version = ref.VERSION) public class Main { @Mod.Instance public static Main instance; @Mod.EventHandler public static void preInit(FMLPreInitializationEvent event) { } @Mod.EventHandler public static void init(FMLInitializationEvent event) { } @Mod.EventHandler public static void PostInit(FMLPostInitializationEvent event) { } @SidedProxy(clientSide = ref.CLIENT, serverSide = ref.COMMON) public static CommonProxy proxy; } ---- Minecraft Crash Report ---- // Shall we play a game? Time: 8/4/18 6:20 PM Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderException: java.lang.ClassNotFoundException: com.avanyt.roleplaycraft.proxy.ClientProxy at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:102) at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:603) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135) at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:593) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:225) at net.minecraft.client.Minecraft.init(Minecraft.java:513) at net.minecraft.client.Minecraft.run(Minecraft.java:421) at net.minecraft.client.main.Main.main(Main.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:25) Caused by: java.lang.ClassNotFoundException: com.avanyt.roleplaycraft.proxy.ClientProxy at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at net.minecraftforge.fml.common.ModClassLoader.loadClass(ModClassLoader.java:75) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:85) ... 43 more Caused by: java.lang.NullPointerException at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ... 49 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_181, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 793708744 bytes (756 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.42 Powered by Forge 14.23.4.2705 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored | State | ID | Version | Source | Signature | |:----- |:------------- |:------------ |:-------------------------------- |:--------- | | UC | minecraft | 1.12.2 | minecraft.jar | None | | UC | mcp | 9.42 | minecraft.jar | None | | UC | FML | 8.0.99.99 | forgeSrc-1.12.2-14.23.4.2705.jar | None | | UC | forge | 14.23.4.2705 | forgeSrc-1.12.2-14.23.4.2705.jar | None | | UE | roleplaycraft | 1.0.0 | bin | None | Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 10.18.10.4358' Renderer: 'Intel(R) HD Graphics'
-
Issue with mod
ill just go somewhere with no people judge you version and tell you what to do
-
Issue with mod
Indeed i should know which i said i know some but there is a tag that says "Forge Modder" so you should know what it is.
-
Issue with mod
i know java a little bit everybody quote stuff and i cant see it & i have a class called ItemBase
- Issue with mod
-
Plugins in a Modpack
you can't add plugins into a modpack plugins are only for server's
-
Issue with mod
package com.avanyt.roleplaycraft.init; import java.util.ArrayList; import java.util.List; import net.minecraft.item.Item; public class ModItems { public static final List<Item> ITEMS = new ArrayList<Item>(); public static final Item Phone = new ItemBase("phone"); } So im trying to code a mod and new ItemBase("phone"); says two things Remove Argument 'ItemBase' or Create Consturcter
-
Issue with java
but why isnt the new java working?
-
Issue with java
FAILURE: Build failed with an exception. * What went wrong: Could not determine java version from '10.0.2'. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. C:\Users\TestUser\Desktop\Chad's THINGS\RoleplayCraft>--info '--info' is not recognized as an internal or external command, operable program or batch file. Everytime i try to use gradlew this happends and i used gradlew setupDecompworkspace and said the same thing
-
My Game Crashes Using 1.12.2 Forge
What u mean?
-
My Game Crashes Using 1.12.2 Forge
Every time i launch minecraft it crashes saying "An unexpected issue occurred and the game has crashed" My Mods Optfine BibloCraft Chisel & Bits CMDCam CustomNPC Decoraft EyeMod Moreplayermodels Mrcrayfish funiture mod PTRLib Wearable Backpacks Worldedit
-
Intellij IDEA
well you need to download forge zip for the verison then open cmd and put it to that directory and type gradlew setupDecompWorkspace and when its says build succeful then do gradlew eclipse and code your mode with eclipse
-
Intellij IDEA
What is the verison you are tryng to use for your mod
- Intellij IDEA
-
Intellij IDEA
why are u trying to make?
-
Problem with items modding 1.7.10
Your probably gonna say update to a newer version but im using 1.7.10 because other mod makers use that version for rpg & im using this code for all items BUT changing item name & stuff and it wont work package com.devcold211.roleplaycraft.items; import com.devcold211.roleplaycraft.items.RoleplayIngot; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import com.devcold211.roleplaycraft.string.string; import cpw.mods.fml.common.registry.GameRegistry; public class RoleplayIngot { public static Object RoleplayIngot; public static void init(){ RoleplayIngot = new RoleplayIngot(); { GameRegistry.registerItem((Item) RoleplayIngot, "RoleplayIngot"); } } }
IPS spam blocked by CleanTalk.