I'm running Manjaro Linux (Or Arch Linux) as a non-root user (basically a Windows Admin) and to use GitKraken I need to be a root user so I don't actually use a GitHub Client. So I slowly upload each file by hand.
Back to the mod, how would I implement the shown code? You have BlockM.class, BlockContainerM.class, and Block.class whereas I have ModBlocks.class.
First of all your code editor is not doing the job it is supposed to do. What editor are you using? Netbeans?
Eclipse. The most likely reason I got no errors is because I wrote that snippet of code on Github, took a screen shot of it, and deleted the code in case that wasn't were I was supposed to put it.
No one thinks that Illagers are even slightly too exotic for Minecraft? I mean, it's a cool idea but I personally think that Minecraft is/was better as a low fantasy game. I will play 1.11 when it comes out though, despite my misgivings about it.
You call ModBlocks.registerRender with a null argument on line 26 of ModBlocks because you never call ModBlocks.init and ModBlocks.register so ModBlocks.mud is still null.
OK... So it should look like this?
I'm new to modding so if I miss an obvious point I'm sorry.
I've recently just added blocks to my mod and whenever I try to launch it from Eclipse it starts and gives me the following error:
[06:21:50] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:649]: #@!@# Game crashed! Crash report saved to: #@!@# /home/-user-/Modding/WoFMC/./crash-reports/crash-2016-09-25_06.21.50-client.txt
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
java: xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
You are not alone my fiend... I gave up on understanding it. I know that the setter of a state is withProperty and things like that, but anything above that is... Eeeh... Not worth to understand.
I feel like I should point out that you said Fiend as opposed to Friend which you most likely meant.
0
Like this?
The only problem now is that my block is missing. (i.e. I can't /give it to myself)
0
When I delete
And
And then change
To
I get the following error...
(extra spaces added in someplaces to avoid emojis)
0
Alright, so I changed is too BlockMud and everything is fine in that class now. However when I changed too BlockMud several other errors popped up.
I'm putting the two errors as attachments instead of in the post because they're kind of big.
0
So it should look like this?
The only problem then is I get the following error: "Mud cannot be resolved to a type" (if you mouse over the little lightbulb/error thing)
Also, if I update the Forge version is there anything I have to change on my GitHub site?
0
I'm running Manjaro Linux (Or Arch Linux) as a non-root user (basically a Windows Admin) and to use GitKraken I need to be a root user so I don't actually use a GitHub Client. So I slowly upload each file by hand.
Back to the mod, how would I implement the shown code? You have BlockM.class, BlockContainerM.class, and Block.class whereas I have ModBlocks.class.
0
Eclipse. The most likely reason I got no errors is because I wrote that snippet of code on Github, took a screen shot of it, and deleted the code in case that wasn't were I was supposed to put it.
0
Alright, no matter what I try to change (this is about Choonster's suggestion) I always get errors. Can you show me some example code?
0
No one thinks that Illagers are even slightly too exotic for Minecraft? I mean, it's a cool idea but I personally think that Minecraft is/was better as a low fantasy game. I will play 1.11 when it comes out though, despite my misgivings about it.
Llamas are best part!
0
OK... So it should look like this?
I'm new to modding so if I miss an obvious point I'm sorry.
0
I've recently just added blocks to my mod and whenever I try to launch it from Eclipse it starts and gives me the following error:
Here is a link to a Gist with the whole crash report
Here is a link to my GitHub page with the code
How would I go about fixing it?
0
No, I'm not going use whatever that is as a pillow.
1
Right!
I'm new to modding anyways so I can't really add anything to this conversation.
*exits thread*
0
ahahaha... Another error!
Pardon me, I really enjoy pointing these things out. Tell me to stop if it irritates you.
(No ahahaha is not missing a "h")
0
I feel like I should point out that you said Fiend as opposed to Friend which you most likely meant.
0
That's a problem then, it still isn't appearing... I'm going try making another mod and see I can find the problem.