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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. With a min-enchantability of 41! it'll almost never get picked, as generally speaking the highest enchantment possible that can show up on an item is ~30. You should also override canApplyAtEnchantingTable and canApply.
  2. You shouldn't be manually parsing JSON files. You should be using a deserializer.
  3. No. The are at least five ways items can leave the player's inventory and I know for a fact that at least one of them is undetectable. And the other four have no event to prevent.
  4. The answer is "yes it will." The reason it isn't has to do with the fact that the server isn't even loading your class, which invalidates the test.
  5. > It crashed > No crash posted > No code posted "Doctor! It hurts!"
  6. Uh. Yes. That's....kind of how things work.
  7. This is because the client is responsible for the player's motion and sends its changes to the server. The server is then resetting the values and updating the client.
  8. For the record, I'm not ignoring your posts. I just have no fucking idea.
  9. ....you will also need to override isFullCube and isOpaqueCube and return false.
  10. The LivingHurtEvent obviously. And damage sources aren't registered. The just exist. But the source is passed in the event object.
  11. Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 64 column 2 Your json file is invalid.
  12. Diesieben07 is a mod, just FYI.
  13. Your registry name--and therefor your asset names--must be all lower case.
  14. Resource paths are already handling the colon: its the asset folder name. You DO have to tweak the lang file entry. That's what I meant. As for block model: always, always, ALWAYS check the log for errors. If you can't find our figure it out, always, always, ALWAYS post it.
  15. You should not use substring, you should instead update your assets with the new prefix.
  16. Method signatures, objects, overriding, events are just the ones i can think of.
  17. Yes and getBlockState, which returns an IBlockState object, which is sort of a compound of a Block and is metadata.
  18. You really should set the unlocalized name to the registry name: setUnlocalizedName (getRegistryName ())
  19. I don't know if there is a blockstate based getmaterial method. But that's what you would override.
  20. Go to Entity line 1217, "handleWaterMovement." Follow it down.
  21. Additionally the babyanimals mod is the one causing the problem. It does not appear to be programmed correctly and will not work on servers. You can tell because the crash includes "com/outlook/siribby/babyanimals/model/ModelNewPig" in the first line. Also, this should have gone in Support & Bug Reports. This forum (Modder Support) is for mod development.

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.