This function is used to know if the item itself is getting damages and has to be broken or not, isn't it ? I'm not sure to understand this function, is this the correct one to make my sword to be used like a shield (i want if i'm using it in armor position, it blocks almost all damages i could take from mobs).
Thanks
Hi all,
I made a custom sword, extended of ItemSword, and i would like to know how may i increase its blocking effect when i'm on an armor Position (when you right click). The classic sword blocks small damage, how can i make mine blocks more ?
Thanks !
Hi all,
I'm trying to change my custom mob move speed. It's a mob extending the EntityZombie class, i just add some healt & armor, but i can't manage how to change his move speed. I tried to change this.moveSpeed value but without result. So, how can i make my zombie to move faster ?
Thanks !!!
what i did :
i just installed the lastest src forge sources, install it and then decompile it. i coded my new item, recompiled it and tested it in solo mode, all is ok. But on multiplayer server, i can't get it in my inventory, even if the craft itself works fine.
What kind of exemple do you need ? do i have to post my classes here ?
Thanks a lot !
Hi all,
I made a mod, which is working fine in solo mode, but if i try it on one of my server, my custom item appears on my crafting table but impossible to get it in my inventory. Do i need something special to make it working in multiplayer mode ?
i just patched my minecraft.jar client with the latest forge universal archive, and put my mod in it (after recompiling through mcp).
Any help ?
Thanks !