• 0

    posted a message on Mod Error!

    Like this?


    The only problem now is that my block is missing. (i.e. I can't /give it to myself)

    Posted in: Modification Development
  • 0

    posted a message on Mod Error!

    When I delete

    ModBlocks.init(); 
    ModBlocks.register(); 
    (in my Main class)


    And

    ModItems.registerRenders();
    (in my ClientProxy Class)

    And then change


        void init()
        {
            register(mud=new BlockMud());
        }
        void register(Block b )
        {
    
        }


    To

     public static void init()
     {
     register(mud=new BlockMud());
     }
     public static void register(Block b )
     {
    
     }

    I get the following error...


    Cannot make a static reference to the non-static field mud


    (extra spaces added in someplaces to avoid emojis)

    Posted in: Modification Development
  • 0

    posted a message on Mod Error!

    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.

    It is now fixed!I'm putting the two errors as attachments instead of in the post because they're kind of big.

    Posted in: Modification Development
  • 0

    posted a message on Mod Error!
    Quote from LapisSea >
    class <InsertYourModNameHere>Blocks{
    
    	Block yourBlock1,yourBlock2,yourBlock3;
    	
    	void init(){
    		register(yourBlock1=new YourBlock1());
    		register(yourBlock2=new YourBlock2());
    		register(yourBlock3=new YourBlock3());
    	}
    	void register(Block b){
    		.....
    	}
    } 


    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?

    Posted in: Modification Development
  • 0

    posted a message on Mod Error!

    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.

    Posted in: Modification Development
  • 0

    posted a message on Mod Error!
    Quote from LapisSea»

    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.

    Posted in: Modification Development
  • 0

    posted a message on Mod Error!

    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?

    Posted in: Modification Development
  • 0

    posted a message on How Did An Evil Villager Learn Magic Before Steve? (Evoker and Vex) 1.11

    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!

    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on Mod Error!
    Quote from Choonster»



    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.
    Posted in: Modification Development
  • 0

    posted a message on Mod Error!

    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.


    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?

    Posted in: Modification Development
  • 0

    posted a message on Would you use the above avatar as a pillow?

    No, I'm not going use whatever that is as a pillow.

    Posted in: Forum Games
  • 1

    posted a message on Thoughts on the future of modding.

    Right!

    I'm new to modding anyways so I can't really add anything to this conversation.

    *exits thread*

    Posted in: Modification Development
  • 0

    posted a message on Thoughts on the future of modding.

    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")

    Posted in: Modification Development
  • 0

    posted a message on Thoughts on the future of modding.
    Quote from LapisSea»

    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.

    Posted in: Modification Development
  • 0

    posted a message on Texture isn't appearing.

    That's a problem then, it still isn't appearing... I'm going try making another mod and see I can find the problem.

    Posted in: Modification Development
  • To post a comment, please .