-
Posts
22 -
Joined
-
Last visited
Everything posted by eriknoe
-
I did iiiiiiiiiit :DDDD im poud of myself Thanks to all for the help
-
sry for my dumbness, but i dont understand what ur mean with that (the thing with learn to code i understand xD)
-
in mine ur in yours?
-
Yes that is right, i try to make it better. i like ur "overconstructed" code
-
can u show me one of ur codes, so i can see what is a mess?
-
Ich habe ein Problem bei modden, erbitte dringende Hilde ;^)
eriknoe replied to eriknoe's topic in Modder Support
excuse me. when i dont understand, i ask. -
Yes lets do this...
-
main class: https://pastebin.com/mSKcvTLJ Block class: https://pastebin.com/dnT14Xiv init class: https://pastebin.com/uGXeCdz8 client proxy: https://pastebin.com/dExAbDer serverproxy: https://pastebin.com/vt8p5GCh last crash report: https://pastebin.com/9uTmRMdu hope u can help me...I am new at programming, so I dont have so uch experience, but daily I learn more..so please dont slap me therfore
-
Yes sure, want did u want to see?
-
LearningByDoing
-
mhhh... I tried this: public static void registerBlocks (RegistryEvent.Register<Block> event) { but i get this error : Exception caught during firing event net.minecraftforge.event.RegistryEvent$Register@3e8a1137:java.lang.NullPointerException: null pls help me, im still pretty inexperienced
-
this public static void registerBlocks(final RegistryEvent.Register<Block> event, Block BlockModAmethystOre) { to this public static void registerBlocks(final RegistryEvent.Register<Block> event) { ?
-
Yes sure, here: https://pastebin.com/HUv8ZdTW
-
Can anyone explain me this error? Im at registering an Block btw. An error occurred trying to load an EventBusSubscriber amethyst for modid java.lang.IllegalArgumentException: Method public static void erik.mod.init.RegistrationHandler.registerBlocks(net.minecraftforge.event.RegistryEvent$Register,net.minecraft.block.Block) has @SubscribeEvent annotation, but requires 2 arguments. Event handler methods must require a single argument. and Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue+ Thanks <3
-
Ich habe ein Problem bei modden, erbitte dringende Hilde ;^)
eriknoe replied to eriknoe's topic in Modder Support
? -
Ich habe ein Problem bei modden, erbitte dringende Hilde ;^)
eriknoe replied to eriknoe's topic in Modder Support
Problem fixed: changed in main.class: public static ServerProxy proxy; to ---> public static ServerProxy proxy = new ServerProxy(); Thanks to all for the Help <3 -
Ich habe ein Problem bei modden, erbitte dringende Hilde ;^)
eriknoe replied to eriknoe's topic in Modder Support
Good Morning I tried it following: I deleted the package with the proxies, i deleted everything in the main class with proxys. So I did everything to the point i started with the proxies. Now I started with the proxys. I create under src/main/java a new package with the name: erik.mod.proxy, then i created a first class with the name ClientProxy, and a second with the name ServerProxy. Then i wrote in ServerProxy, and my class ServerProxy look like this: https://pastebin.com/3aQwTHZy Then i wrote in ClientProxy, and my class ClientProxy look like this: https://pastebin.com/4j0Nw4jY Then i wrote in the main class, so the main class look like this: https://pastebin.com/ac4eumDM Then i run minecraft, it opens the LoadingScreen ant then mc crashed. Here is the crash report: https://pastebin.com/nFJUmB1e Please excuse my supidity, I started programming yesterday -
Ich habe ein Problem bei modden, erbitte dringende Hilde ;^)
eriknoe replied to eriknoe's topic in Modder Support
yes, i changed the client side, and the server side. If i understand it right, the common in "erik.mod.proxys.common.ClientProxy" is wrong, so i delete it. But it does not work. -
Ich habe ein Problem bei modden, erbitte dringende Hilde ;^)
eriknoe replied to eriknoe's topic in Modder Support
Sorry, but i dont understand, what i have to do now? should i replace in the main class the proxy into proxys or? pls give me clear instructions what i have to do know, to fix the problem. Thanks in advance -
Ich habe ein Problem bei modden, erbitte dringende Hilde ;^)
eriknoe replied to eriknoe's topic in Modder Support
i change the...serverSide = "erik.mod.proxys.common.ServerProxy" to "erik.mod.proxys.ServerProxy" and the same with clientSide, "erik.mod.proxys.common.ClientProxy" to "erik.mod.proxys.ClientSide"... I hope we find the problem today -
Ich habe ein Problem bei modden, erbitte dringende Hilde ;^)
eriknoe replied to eriknoe's topic in Modder Support
ups sry, in english here: Soooo ... I started with the modding, everything ran fine until I wanted to add a block, was ready and wanted to test it, but then came this problem ... to my main class, and the proxies you can find here: https://pastebin.com/qFRh5EQH https://pastebin.com/iDvht97Q https://pastebin.com/vu0GESE3 the first link is main class, the second clientproxy, and the third serverproxy.. Thanks for your quick help ... I tried it, as you said it, but it did not work again .. new error message here: -
Alsoooo...Ich habe mit dem modden angefangen, lief auch alles einwandfrei, bis ich ein Block hinzufügen wollte, fertig war und es testen wollte, doch dann kam dieses Problem... zu dem meine main klasse, und die der proxies findet ihr hier: https://pastebin.com/qFRh5EQH https://pastebin.com/iDvht97Q der erste link ist main klasse, der zweite clientproxy