Jump to content

GodsVictory

Members
  • Posts

    26
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

GodsVictory's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. ok, I seem to have got it working. I simply deleted my build directory and the rebuilt, not sure what exactly was causing it.
  2. 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.
  3. 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
  4. 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?
  5. 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.
  6. Actually, that doesn't properly calculate bonus damage from things like bane of arthropods. I'm not exactly sure how to do this...
  7. 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);
  8. 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.
  9. 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?
  10. How do I go about using that? I'm using this to test: Items.DIAMOND_SWORD.getDamageVsEntity();
  11. Is there a way to completely removed those missing blocks?
  12. 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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.