Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GodsVictory

Members
  • Joined

  • Last visited

  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. You are are a genius! thank you!
  11. How do I go about using that? I'm using this to test: Items.DIAMOND_SWORD.getDamageVsEntity();
  12. Is there a way to completely removed those missing blocks?
  13. It doesn't seem like items carry a damage value.
  14. 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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.