Jump to content

hydroflame

Members
  • Posts

    1511
  • Joined

  • Last visited

Posts posted by hydroflame

  1. dont remove the @Sideonly, youll fuck up everything

     

    2013-07-05 01:14:10 [sEVERE] [fml.ItemTracker] Mismatched items : {500=(Item 500, Type Tsundare.BlockArgentBlock, owned by Tsundare_mod, ordinal 0, name Tsundare_modArgentblock, claimedModId null, Item 500, Type Tsundare.ItemTutorialblock, owned by Tsundare_mod, ordinal 0, name argentBlock or wtv, claimedModId null)}

     

    ya basicly it looks like its trying to use both item at the same time. delete the world and refresh every reference to the "older" item

     

    also when i said

     

    "argentBlock or wtv"

    i meant that you put the name you want

  2. technicly its more like this

     

    with some billboarding before so that the image always faces the player (if thats what you want what you really really want...wtf ?)

     

    mc.renderEngine.bindTexture("path/to/image");
    tessellator.startDrawingQuads();
    tessellator.addVertexWithUV(x, y, z, 0, 0);
    tessellator.addVertexWithUV(x, y, z+height, 0, 1);
    tessellator.addVertexWithUV(x+width, y+height, z, 1, 1);
    tessellator.addVertexWithUV(x,+width y, z, 1, 0);
    tessellator.draw();

  3. ok, just saying, getClass does  straight up nothing.

     

    you need to add

    MinecraftForge.EVENT_BUS.register(some class with a @ForgeSubscribe annotation)

     

    like this

    MinecraftForge.EVENT_BUS.register(new Event_LivingDrops())

     

    i also suggest very much you look at the tutorials and make a main mod class as it help a ton for organisation

     

    and please .... learn a little about java and coding ... because itll hurt you in the long run

  4. yeah, basicly if it has @Sideonly(side.CLIENT) it will not exists on the server

     

    try hardcoding the file instead

     

    GameRegistry.registerBlock(ArgentBlock,ItemTutorialblock.class,modid+ArgentBlock.getUnlocalizedName2());

    to

    GameRegistry.registerBlock(ArgentBlock,ItemTutorialblock.class,"argentBlock or wtv");

     

    it should fix it

  5. First thing first, since you don't seem to know much about coding in java (as hydroflame has so... unceremoniously pointed out), ill explain things a bit more detailed than normal.

     

    you have to realise there's a lot of people that are coming here with NO experience in coding and they expect to be able to create a minecraft 2 just by copy pasting and asking the forums for all-made solution.

     

    I'm not being mean I'm being realistic, I'm happy to help people, its just they have to at least know the basic's basic.

    Imagine what problem he'll run into making more complex things then basic block. He'll have NO idea wtf is going on and will ask help for EVERY bug. This is not what he and we should want.

  6. its not latest but it should work anyway

    java.lang.NoSuchMethodError: net.minecraft.block.Block.func_94330_A()Ljava/lang/String;

    this is the error, meaning server cannot find the method func_94330_A (it probably has @Sideonly(Side.CLIENT)

    can you show us your main mod class and Bblock class ?

     

    please use

    code

  7. GameRegistry.registerItem(joint, "joint");
    LanguageRegistry.addName(joint, "Joint");
    LanguageRegistry.instance().addStringLocalization("itemGroup.tabPotMod", "en_US", "Pot Mod");

     

    could it be because youre adding the name before the item ??? like this ^

     

     

    i love how you made that if you eat it you get the munchies

  8. well yknow ... theres already an event for this .. but since you clearly did not check (i could find it in like 5 second)

     

    im just gonna tell you

     

    [i]there's an event for it, check the javadoc/tutorials[/i]

×
×
  • Create New...

Important Information

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