-
[SOLVED][1.12] Recipes
ok, I seem to have got it working. I simply deleted my build directory and the rebuilt, not sure what exactly was causing it.
-
[SOLVED][1.12] Recipes
no, although I am getting this: [10:11:24] [main/INFO]: FML has found a non-mod file MobRecipes-1.12-1.0.0.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible. What's in your main class? I tried that and still can't get it to work.
-
[SOLVED][1.12] Recipes
Yes I changed it to: { "type": "minecraft:crafting_shaped", "pattern": [ " ", " S ", " " ], "key": { "S": { "item": "minecraft:sand", "data": 0 } }, "result": { "item": "minecraft:sand", "data": 0 } } It's still not working
-
[SOLVED][1.12] Recipes
I can't figure out how to add a basic recipe Here is my code: https://github.com/GodsVictory/MobRecipes/tree/1.12 In this example I'm simply trying to craft sand into sand. What am I doing wrong?
-
[1.10.2] Server Can't keep up when no players are connected
It was the StorageNetwork mod
-
[1.10.2] Server Can't keep up when no players are connected
This issue just arose overnight, when a player is connected, everything is fine. However, as soon as everyone logs off, I keep getting Can't keep up messages in the console. What would cause something like this? I keep my base chunk loaded (chicken chunks), but like I said, when I'm connected, all is well.
-
[1.10.2] Get currently held items attack damage
Actually, that doesn't properly calculate bonus damage from things like bane of arthropods. I'm not exactly sure how to do this...
-
[1.10.2] Get currently held items attack damage
Does this look right: IAttributeInstance damage = new AttributeMap().registerAttribute(SharedMonsterAttributes.ATTACK_DAMAGE); if (itemStack != null) for (AttributeModifier modifier : mc.thePlayer.getHeldItemMainhand().getAttributeModifiers(EntityEquipmentSlot.MAINHAND).get(SharedMonsterAttributes.ATTACK_DAMAGE.getAttributeUnlocalizedName())) damage.applyModifier(modifier);
-
[SOLVED][1.10.2] server side onbreak event not triggering
Well, I solved it, but I'm still unsure why the above wasn't working. It seems using System.out.println with a boolean value doesn't always work, but adding random text before the boolean does. I changed it to System.out.prinln("asdf"+allowBreak); and it fired.
-
[SOLVED][1.10.2] server side onbreak event not triggering
Code: https://gist.github.com/GodsVictory/17deb7dffc9b9549146febb57a370faa Works fine in SP, but when I test on MP, the onbreak event is never triggered. What am I doing wrong?
-
[1.10.2] Get currently held items attack damage
You are are a genius! thank you!
-
[1.10.2] Get currently held items attack damage
How do I go about using that? I'm using this to test: Items.DIAMOND_SWORD.getDamageVsEntity();
-
Found a missing id from the world
Is there a way to completely removed those missing blocks?
-
[1.10.2] Get currently held items attack damage
It doesn't seem like items carry a damage value.
-
[1.10.2] Get currently held items attack damage
I am having trouble retrieving the attack damage of the held item: FMLClientHandler.instance().getClient().thePlayer.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).getAttributeValue() This always returns 1.0, no matter what is being held
IPS spam blocked by CleanTalk.