More Info: How to Install Mods
Need Help? Click here for more information on How to Install Mods.
This thread was automatically marked as Locked.
[1.2.5] [Forge] Mine & Blade: Battlegear - Discontinued
Poll: Should I use this option?
Ended May 15, 2014
Table of Contents
News & Announcements
Discontinuation of Battlegear 29/10/2012
I am officially announcing the discontinuation of this mod. The fact is, I have just lost interest in the mod. This is partly due to the fact that the changes in 1.3 required me to essentially go back and start from scratch with many of the features, and even drop some of those features you guys have come to love. I am not blaming the 1.3 update, I just feel it is time to move on.
But fear not, there is an alternative. Please go over and have a look at JadeKnightblazer's Asguard Shield Mod. Over the coming weeks Jade and I will be working close together to integrate some of the code from this mod (mainly how I render shields in the offhand) into his mod. I see this is a win/win/win. A win for me because a small part of Battlegear can live on in Jade's mod while having the free time to work on my new project. A win for Jade as he can use some of this code to help make his mod really stand out and possibly also learn some of the rendering code. And a win for you guys as you still get a very functional and aesthetically pleasing shield mod.
I would also like to thank you guys, my fans for helping make what this mod what it is today. There are some of you who have been following this topic for a very long time (some from when the mod was just a shielding mod) and some who have only been following recently. But through your comments, suggestions and bug reports you have helped me turn the mod into something I never expected when I began coding it all those months ago. So I would like to say thank you.
Finally, for any of those who would like to continue following my work. I have created a new topic for Mine & Blade: Commander. For those that do not know, Mine & Blade: Commander is a new mod I am creating (or re-creating) that will allow you to create, customize and order an army made by NPCs. I will be using some of the features developed for this mod for the NPCs in M&B:Commander (eg sheathing & shield rendering). Right now I have only the basic rendering, customization and spawning of the 1st unit (The militia) which has over a mind boggling 20,000 different customization combinations. At the time of writing there is currently no download avaliable as the soldiers do little more than just stand there. However I will provide one if there is a high demand of people wanting to use the bots to populate a world simply for atmosphere. Also expect a video demonstration soon showing off the Spawing interface as well as the customization in action.
RIP: Mine & Blade Battlegear 29/12/2011 - 29/10/2012
Thankyou all again
nerd-boy
Mod Mechanics
Mine & Blade: Battlegear implements an entirely new weapon system to minecraft. Pressing the 'I' button or clicking your player character in the Inventory screen will bring up the Weapon Inventory Screen.
Weapons can be placed in the main hand or off hand slots. These weapons will be displayed on your player model when you go into 3rd person view. Weapons can be switched between sheathed and drawn by pressing the 'R' Key
The 3 different weapon sets can be switched using the mouse wheel.
Items displayed in the following table are able to be placed in the weapon slots. There is an option in the config file to allow the use of weapons from other mods.
Mine & Blade: Battlegear adds a number of new weapons to the game.
The Waraxe
The waraxe has the special ability of having a chance to cause 150% damage to mobs. Red sparks will fly around the mob to indicate extra damage.
The Mace
The mace has the special ability of having a chance to cause a 3 second stun to enemy mobs. Blue sparks will fly around the mob to indicate stuns.
The Quaterstaff/Spear
The spear sacrifices some of the power of the sword for increased range
*Note: The spears must be made with a undamaged quaterstaff.
Minecraft Forge Installed Only
When used with Minecraft Forge the spear takes advantage of a custom renderer
In addition iron, gold & diamond shields can be painted. Painting is preformed by combining any iron, gold or diamond shield with the dye of your choice. Painting will retain the current shields damage and enchantments With Minecraft Forge Installed Only
Note that this is just an example.
Painting can be done with any dye and any iron, gold or diamond shield in a shapeless recipie
Shield Blocking
Armour
Mine & Blade: Battlegear introduces a new (legal) way of obtaining chainmail armour. 2 chain links can be obtained by placing a single iron ingot in a crafting grid. Chain links can then be used to make chainmail armour
Knight's Armour
Knight's armour is a new armour set that has the protection and durability between that of iron and diamond armour. It however is quite expensive to make requiring a full set of iron and chain armour as well as a few blocks of wool.
Knight armour comes in 16 different colours corresponding to the 16 different minecraft colours. Knight armour can also be dyed to change its colour.
Knight armour includes a plume on the helmet as well as a custom cape on the chestpiece.
A full set of Knight's Armour will get a Matched Set Bonus. This will provide
Banners (Minecraft Forge Only)
Banners are the 1st of my purely decorative blocks. They come in 16 colours and can be placed on the ground (and will face you) or against a wall.
Banners are created using 2 wool (of the same colour) blocks with a stick underneath
Banners can also be changed to any other colour using dye
All the A song of Fire and Ice Inspired Banners
Furthermore, to any modders out there you should really think about taking advantage of this API. Its extremely easy to set up (I did it in less than 5 minutes) and we really should get behind and support Vazkii's amazing work
Download & Installation Instructions
Videos
FAQ, Bugs & Compatibilities
A: First Read and follow all of my crash 101 post.
Next check if it has already been reported, please check both this page (under both bugs and incompatibilities), also could you please check posts at least 1 page back to avoid reposts. I will need
Q: Where is the config file?
A: The config file is located in the .minecraft/config directory under the name "MineAndBlade.cfg". It will be generated automatically when you first run the mod and will be opened by any text editor
Q: Can you add weapons from another mod to be used in battlemode? Note
A: Depending on how the mod is coded, some may already work. In most weapons from Balkons Weapon Mod will be flagged as weapons and therefore useable in battlemode.
For weapons that do not work, there is an option in the config file to add the item ids of custom weapons. Adding item ids to the cofig file (currently named "Mine & Blade.ini" and generated after you have 1st run the mod) will flag items as weapons. Ids should be seperated by comma-space.
The line to add ids to is this one
This however will not flag the weapons as duel wieldable, it will only allow them to be recognised as weapons and thus useable in battlemode. There is no way to make some weapons duel wieldable as they have a right click function.
Note: There is a bug in the config file for the 2.8.0.1 version so this function currently does not work. It will be fixed again in the next version.
Q: Why can I not dual wield all weapons (eg weapons from Balkons Weapon Mod)?
A: The mod will scan any item flagged as a weapon. If that weapon has a special function on a right click (other than blocking) it will flag the weapon as non-dual wieldable. You will therefore not be able to use the weapon in your off hand, with a shield or with another weapon. This is so there is no coflict with a weapons right click function and CANNOT be changed.
This is the reason you will never be able to dual wield many of Balkon's Weapons or certain gun mods which generall use the right mouse button to fire the weapon.
Q: Where is the link to the Mine & Blade: Battlegear file?
A: The link is right here. The beta for the next release can also be found on this post
Sorry for all the secrecy, I have had many problems with people not reading the important parts of the main post. If you got this far I am happy that you have demonstrated your ability to read and (hopefully) follow basic instructions.
Q: Can you add my idea for a weapon?
A: No, This is not intended to be a weapon mod. It is quite unlikely I will add new weapons any time soon.
Q: Can I use your mod as part of my mod pack?
A: Yeah no problem, as long as you
A: Yeah no problem, go nuts. Post your work though so I can ohh & ahh at it
Q: When will SMP be ready?
A: It will be ready when it is ready. I won't even start looking at SMP until after 1.3 is released. Even then it will take me a long time to get everything working.
Q: Why can't I see offhand weapons in 3rd person?
A: You installed likely installed minecraft forge after RenderPlayerAPI. RenderPlayerAPI MUST be installed AFTER Minecraft Forge. Alternitvly, you may have a conflicting mod, if you are 100% sure you have done the correct order of instalation it may be a conflicting mod, please post a incompatiblity report (make sure you include every mod, api and patch used)
Q: Why did you just report me?
A: I have begun reporting everyone who posts questions that are answered in this post as spam. I am sick and tired of re-answering the exact same questions that are answered here.
Q: I love your mod, how can I donate?
A: Please do not donate, I do not do this to make money in any form (which is why I don't use adfy links). If you do have your heart set on donations, please send you money to one of the many worthy charities, they could do many greater things with the money.
Confirmed
Mine & Blade: Battlegear is know to be incompatible with the following and will likely cause Minecraft to crash
If you have a crash please check if any of these apply before posting
Conflicting Block Ids
Crashes with "java.lang.IllegalArgumentException: Slot 211 is already occupied by...."
Example
5 mods loaded
Minecraft Forge 3.2.5.120
FML v2.2.17.117
Forge Mod Loader version 2.2.17.117 for Minecraft 1.2.5
mod_MinecraftForge : Initialized (minecraft.jar)
mod_JammyFurniture : Initialized (1.2.5_Jammy_Furniture_Mod_Client_V3.6.zip)
Mine & Blade: Battlegear - 2.7.7.1 : Pre-initialized ([1.2.5] Mine & Blade Battlegear - 2.7.7.1.zip)
mod_UpdateManager : Pre-initialized ([1.2.5] Mine & Blade Battlegear - 2.7.7.1.zip)
mod_Armor : Pre-initialized (ArmorStand.zip)
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
--- BEGIN ERROR REPORT 96fc7838 --------
Generated 12/06/12 1:46 AM
Minecraft: Minecraft 1.2.5
OS: Windows 7 (amd64) version 6.1
Java: 1.7.0_04, Oracle Corporation
VM: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: ATI Radeon HD 5570 version 4.2.11631 Compatibility Profile Context, ATI Technologies Inc.
java.lang.IllegalArgumentException: Slot 211 is already occupied by JAMMY780.blocks.JAMMY780_BlockSpiderHead@723e9d6c when adding mine_and_blade.heraldry.BlockBanner_Forge@6cd1580c
at pb.<init>(Block.java:249)
at pb.<init>(Block.java:281)
at agy.<init>(BlockContainer.java:13)
at mine_and_blade.heraldry.BlockBanner.<init>(BlockBanner.java:29)
at mine_and_blade.heraldry.BlockBanner_Forge.<init>(BlockBanner_Forge.java:9)
at mine_and_blade.heraldry.HeraldryForgeInitialiser.initlaliseBanner(HeraldryForgeInitialiser.java:16)
at mod_MineAndBlade.load(mod_MineAndBlade.java:356)
at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:319)
at cpw.mods.fml.common.Loader.modInit(Loader.java:262)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:591)
at cpw.mods.fml.client.FMLClientHandler.onLoadComplete(FMLClientHandler.java:229)
at net.minecraft.client.Minecraft.a(Minecraft.java:426)
at net.minecraft.client.Minecraft.run(Minecraft.java:735)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 4721735d ----------
This just means that you have a block ID conflict. Go to the config file (Location is .minecraft/config/Mine and Blade.conf) and change the number next to the BannerID variable to something else (between about 200 & 250) until you no longer get a crash.
Impropper Instalation
Crashes with "java.lang.NoClassDefFoundError: PlayerBase"
Example
Mods loaded: 5
ModLoader 1.2.5
mod_ModLoaderMp 1.2.5v1
mod_MinecraftForge 3.2.3.108
mod_SinglePlayerCommands 6.0 for SPC 3.2.2
mod_UpdateManager by Vazkii. Version 1.2
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
--- BEGIN ERROR REPORT 617e37b9 --------
Generated 6/6/12 2:12 PM
Minecraft: Minecraft 1.2.5
OS: Windows 7 (x86) version 6.1
Java: 1.6.0_30, Sun Microsystems Inc.
VM: Java HotSpot™ Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: AMD Radeon HD 6530D version 4.1.10834 Compatibility Profile Context, ATI Technologies Inc.
java.lang.NoClassDefFoundError: PlayerBase
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at mod_SinglePlayerCommands.modsLoaded(mod_SinglePlayerCommands.java:13)
at ModLoader.init(ModLoader.java:899)
at ModLoader.addAllRenderers(ModLoader.java:189)
at ahu.<init>(RenderManager.java:86)
at ahu.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.a(Minecraft.java:394)
at net.minecraft.client.Minecraft.run(Minecraft.java:732)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: PlayerBase
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 19 more
--- END ERROR REPORT 78a94615 ----------
You didn't install PlayerAPI. Next time actually READ and FOLLOW the installation instructions.
Texture Packs
This is only a quick texture pack I whipped up to go along with the x64 pack I generally use (download). To isntall just extract the files into your favourite (x64 or higher) texture pack. Pleasew note that I am not the best texture artist. Others could do a much better than I at high res textures, I just wanted to give it a go.
Pictures
Soldier in blue Knight Armour holding a shield & mace, standing around banners
Support Banners
Mine & Blade: Battlegear
[goto='TOC']Go Back to the Table of Contents[/goto]
Planed features
(May take a while)
I may just do that :wink.gif:
Yeah, thats why i made a second topic. However the mods GUI features will be more tightly integrated into my battlecraft mod. But I knew some people would want this without the other features of battlecraft.
I would of course recommend you try Battlecraft also. This isn't in in yet though.
oh and one more thing, how come you dont set it so that the shields can be right clicked to protect? or will it be optional??
Actually I am about to re-do the main post, change a texture or 2 and upload an initial release. I couldn't be going through the whole closed beat test thing and doubt it will break anyone's game. But I should warn you before installing.
I will of course also require feedback on block times and durability.
All in all shouldn't take me much longer then an hour or so
Also, are you going to release the raptor mount mod thingy as a seperate mod too? Just asking.
Although I should warn you it is beta and therefore could be buggy.
Yeah thats no problem. I can add it to the texture pack list if you want.
Although I should warn you, make sure the shield trims and backings line up properly with the normal pngs. If not the shield may look strange in 3rd person/Inventory view
I probably will but don't hold your breath on the whole raptor mounts though.
I might do that for this. Although I think I will have to edit base classes for that. I don't know if it would be worth me struggling with finding workarounds again.
EDIT:
ps. Ignore that guy in the background, that's from the friend mod.
yea a serious bug useing friend mod XD its probably just that the friend cant handle the shield
Wait, sorry , when i said the guy in the back ground, i meant the guy jumping.
The one wearing the shield is me.
EDIT:
Discovered the cause of this glitch. It's an incompatibility with Smart moving mod. You should put that in the OP.
Yep I'll put it up there. Does the glitch made it unplayable, or is it only the rendering in 3rd person
There is also another minor rendering issue where in 3rd person view the models armour will not move with its arm.
Im pretty sure it was working fine for me. Let me check.
Also be aware, if you're in a dark place, for example a cave, and then place a torch so it's lit up a bit, the shield will be black/dark. Test it out, i can't really explain it.
That would be because i essentially re-wrote the renderer. I'll see what I can do about fixing it.
HEHE I FOUND A BUG CANT RLLY GET PROOF BUT IT HAPPENS
so what happens is when i equip the shield i click "R" (too block) and the shield disappears,
and when you jump your arm goes COMPLETELY ouy of control and then you get like 2 arms on 1 side
and (not sure if bug or not) you cant exit the Shield thingy by pressing "TAB" or "e" (inventory) you have to press "Esc" not that it madders that much
oh hehe my mistake :smile.gif:
EDIT: If you jump off like a cliff or something, and you block, you take no damage...
I really need a pic of it. Also do all of these only happen in 3rd person view?
Yeah I had trouble with also making it close on Tab, I will try again later