• 1

    posted a message on Zelda Sword Skills: 1.8.9 v3.4 and 1.7.10 v2.5.1 (03/08/2017)

    this what happens everytime. i tried to remove some mods and it didn't work. i even removed all the mods for a test and it didn't work still. here is a example. each one is different,



    [12:55:50] [main/WARN] [FML]: The coremod mods.battlegear2.coremod.BattlegearLoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
    [12:55:50] [main/WARN] [FML]: The coremod mods.battlegear2.coremod.BattlegearLoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
    [12:56:02] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [12:56:02] [main/INFO] [battlegear2]: M&B - Patching Class Minecraft (bao)
    [12:56:02] [main/INFO] [battlegear2]: Patching method Click Mouse in Minecraft
    [12:56:02] [main/INFO] [battlegear2]: M&B - Patching Class Minecraft done
    [12:56:02] [main/INFO] [battlegear2]: M&B - Patching Class Minecraft (bao)
    [12:56:02] [main/INFO] [battlegear2]: Patching method Click Mouse in Minecraft
    [12:56:02] [main/INFO] [battlegear2]: M&B - Patching Class Minecraft done
    [12:56:03] [main/INFO] [battlegear2]: M&B - Patching Class EntityPlayer (yz)
    [12:56:03] [main/INFO] [battlegear2]: Adding new fields to EntityPlayer
    [12:56:03] [main/INFO] [battlegear2]: Patching constructor in EntityPlayer
    [12:56:03] [main/INFO] [battlegear2]: Patching method onUpdate in EntityPlayer
    [12:56:03] [main/INFO] [battlegear2]: Patching method onItemUseFinish in EntityPlayer
    [12:56:03] [main/INFO] [battlegear2]: Patching method setCurrentItemOrArmor in EntityPlayer
    [12:56:03] [main/INFO] [battlegear2]: Creating new methods in EntityPlayer
    [12:56:03] [main/INFO] [battlegear2]: M&B - Patching Class EntityPlayer done
    [12:56:03] [main/INFO] [battlegear2]: M&B - Patching Class EntityPlayer (yz)
    [12:56:03] [main/INFO] [battlegear2]: Adding new fields to EntityPlayer
    [12:56:03] [main/INFO] [battlegear2]: Patching constructor in EntityPlayer
    [12:56:03] [main/INFO] [battlegear2]: Patching method onUpdate in EntityPlayer
    [12:56:03] [main/INFO] [battlegear2]: Patching method onItemUseFinish in EntityPlayer
    [12:56:03] [main/INFO] [battlegear2]: Patching method setCurrentItemOrArmor in EntityPlayer
    [12:56:03] [main/INFO] [battlegear2]: Creating new methods in EntityPlayer
    [12:56:03] [main/ERROR] [battlegear2]: M&B - Patching Class EntityPlayer FAILED!
    Caused by: java.lang.ClassFormatError: Duplicate interface name in class file net/minecraft/entity/player/EntityPlayer



    See all those duplicate lines ?
    You installed Battlegear twice. Check everywhere under your mods folder.

    And latest version for 1.7.10 is at 1.0.8.4.

    Posted in: Minecraft Mods
  • 0

    posted a message on Why does my Minecraft keep crashing when I download mods?
    Quote from QueenArtist»

    Here is my full report:

    java.lang.NullPointerException: Stitching texture atlas
    at shadersmodcore.client.ShadersTex.readImage(ShadersTex.java:382)
    OpenGL: Intel(R) HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.4226, Intel


    You tried to install Shaders on an Intel card. Pretty sure it doesn't work at all. Remove the shader stuff.
    You other issue is you watched Youtube videos. They are always going to be uninformative, out of date, or simply wrong. Just don't go to youtube for information regarding anything. For each mod, seach this forum for the topic it was created in, then follow the installation instructions one by one.
    Go to files.minecraftforge.net for latest Forge download.
    Posted in: Mods Discussion
  • 0

    posted a message on Get list of current players in the game from the client side and do something with each

    From the code at the top, only use #iterator() once, or you'll just have an infinite loop.

    Posted in: Modification Development
  • 0

    posted a message on Bow only remains as standby texture

    There is a huge difference between 1.8.9 and 1.10.2 there.

    1.8.9 had the bow models hard-coded in RenderItem.


    You'll want to override Item#getModel for your bow because even extending ItemBow will not be enough.

    Posted in: Modification Development
  • 0

    posted a message on Minecraft Crashes When Trying to Load Mods

    Baubles-1.10.2-1.3.BETA7-deobf.jar

    Deof jars are usually not for players.

    Posted in: Mods Discussion
  • 0

    posted a message on Check if item is usable

    ItemStack#getItemUseAction() may be able to weed out some cases.

    To get fancier, you'll have to use reflection to check whether the item class has "onItemUse"/"onItemRightClick" overriden method.

    Posted in: Modification Development
  • 0

    posted a message on Nullpointer exception?!

    Your first three cases never happen in normal game situation.

    The problem is that player.getHeldItemMainhand() returns null if empty hand.

    Posted in: Modification Development
  • 0

    posted a message on can't Commit To Github

    I would recommend

    git fetch

    git merge branchname

    To ensure you get the chance to fix any conflict over the diffs.

    Posted in: Modification Development
  • 0

    posted a message on [Packets] Crafting slot out of sync

    You have wrong implementations for 4 methods out of 5 in your recipe class.

    I'd suggest fixing them before complaining about bugs.

    Posted in: Modification Development
  • 0

    posted a message on Minecraft Forge Help

    You don't have to uninstall. Just install the version you want and change the profile launcher setting to use that version.

    Posted in: Mods Discussion
  • 1

    posted a message on [SOLVED] Github Branches and Eclipse Question

    Git keeps track of the changes for each commit. When you switch branch through 'git checkout', the changes on the old branch are 'undone', while the changes on the new branch are applied.

    Thus, as long as you commit all the changes you intend to keep, git checkout will 'unplay'/'replay' them when appropriate.

    If you think the changes in a 'test' branch are good enough to include in 'master' branch, you use 'git merge <test>' to apply them on the current branch.

    Posted in: Modification Development
  • 0

    posted a message on Using a single class for multiple crops.

    Write setter method that store the drop item as field in your common class. Override the vanilla drop method using this field.

    You can call the setter after everything is initialized and registered.

    Posted in: Modification Development
  • 0

    posted a message on Trouble syncing client and server with packets [RESOLVED]

    Yes by default ItemStack NBT is sent from server to client.

    If your "ingredients" are items in slots, you only need the container, not custom packets.

    Posted in: Modification Development
  • 0

    posted a message on Levelling system - Need help with concept (not code!)

    Minecraft has a concept of "local difficulty", calculated from Chunk#inhabitedTime, which is the time players have spent within a chunk.

    You could use this to have mob spawn areas of higher "level". Just like spiders can spawn with potion effects through it.


    Alternatively, you could leave common world spawning to "low level", and rarily spawn "high level" mobs around "high level" players.

    It would help to despawn them when far from the "high level" so that "low level" players don't accidently run into them.

    Posted in: Modification Development
  • To post a comment, please or register a new account.