Jump to content

RowDaBoat

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by RowDaBoat

  1. Hi community,

     

    I'm currently developing a mod that adds two custom blocks and recipes to build them, as well as their textures and localized names.

     

    When testing it on my dev. environment without any other mod, it works just fine.

    When trying it on my actual server with other mods and a new world, it works just fine.

    When trying it on my actual server with the same setup, but my old world, it presents the following behavior:

    • None of my blocks show up on the creative mode tab.
    • When using any of the recipes in the Crafting Table, I see the correct custom block's texture (not the block, just the texture) flash and then dissapear, I can't grab any item from the output slot
    • I see no errors on the server

    I can't afford to just throw away my world.

     

    The code I'm using to register my blocks is:

          //Create base items, blocks
          goldenMilestone = blockFactory.getGoldenMilestoneBlock();
          minorGoldenMilestone = blockFactory.getMinorGoldenMilestoneBlock();
    
            //Register items and blocks
          GameRegistry.registerBlock(goldenMilestone, "goldenMilestone");
          GameRegistry.registerBlock(minorGoldenMilestone, "minorGoldenMilestone");
    
            //Create stacks
          goldenMilestoneStack  = new ItemStack(goldenMilestone, 1);
          minorGoldenMilestoneStack  = new ItemStack(minorGoldenMilestone, 1);
            goldenStack = new ItemStack(Blocks.gold_block, 1, -1);
          cobbleStack = new ItemStack(Blocks.cobblestone, 1, -1);
    
            //Add recipes
            GameRegistry.addShapelessRecipe(new ItemStack(Blocks.gold_block, 9), goldenMilestone);
          GameRegistry.addRecipe(goldenMilestoneStack, "xxx", "xxx", "xxx", 'x', goldenStack);
          GameRegistry.addRecipe(minorGoldenMilestoneStack, " x ", " y ", 'x', goldenStack, 'y', cobbleStack);
    

     

    The version of Forge that I'm using on my client is 1.7.2-10.12.1.1060

    My dev environment server is also 1.7.2-10.12.1.1060

    My actual server is MCPC-Plus-1.7.2-R0.4-forge1033-51

     

    The mods in my setup are:

    • Mine & Blade Battlegear 2 - Bullseye - 1.0.5.4
    • Archimedes Ships
    • secretroomsmod-1.7.2-4.6.3.346

     

    Has anyone experienced similar behavior or know more or less what is happening?

    Could this be caused by MCPC+? If so, why would it all be working in a new world?

    Could this be caused by some kind of dynamic block id generation in Secret Rooms Mod? (I can't test my old world by removing it, sadly it crashes whit block id errors when I remove the mod :()

     

    I don't usually ask for help in forums (I've been lurking here for a month now), but now I'm really clueless, any help will be very much appreciated, thanks a lot in advance!

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.