GodsVictory
Members-
Posts
26 -
Joined
-
Last visited
Converted
-
Gender
Undisclosed
-
Personal Text
I am new!
GodsVictory's Achievements
Tree Puncher (2/8)
0
Reputation
-
ok, I seem to have got it working. I simply deleted my build directory and the rebuilt, not sure what exactly was causing it.
-
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.
-
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
-
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?
-
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
GodsVictory replied to GodsVictory's topic in Modder Support
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
GodsVictory replied to GodsVictory's topic in Modder Support
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
GodsVictory replied to GodsVictory's topic in Modder Support
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. -
[1.10.2] Get currently held items attack damage
GodsVictory replied to GodsVictory's topic in Modder Support
You are are a genius! thank you! -
[1.10.2] Get currently held items attack damage
GodsVictory replied to GodsVictory's topic in Modder Support
How do I go about using that? I'm using this to test: Items.DIAMOND_SWORD.getDamageVsEntity(); -
Found a missing id from the world
GodsVictory replied to GodsVictory's topic in Support & Bug Reports
Is there a way to completely removed those missing blocks? -
[1.10.2] Get currently held items attack damage
GodsVictory replied to GodsVictory's topic in Modder Support
It doesn't seem like items carry a damage value. -
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