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.

Featured Replies

Posted

if i want to give "smite X" onCreated is it bad?

WIP mods: easyautomation, easyenergy, easyelectronics, easymoney, easytrasportation, easysecurity, easymultiverse, easyfactions, easymagick, easyalchemy, easyseasons

  • Author

sorry, I'll explain better. what is the worst that can happen if I override Item.onCreated and add an enchantment with a level above that allowed by the enchanting table (for instance, smite 10).

WIP mods: easyautomation, easyenergy, easyelectronics, easymoney, easytrasportation, easysecurity, easymultiverse, easyfactions, easymagick, easyalchemy, easyseasons

I am not sure.

There are two things that should be possible.

1. It is really strong (which I think is the thing that should happen)

2. It wont enchant level 10 but sth lower, like 5 bc  is highest smite

  • Author

but I know it works, I can give whatever enchantment level I want to an item if I do it in code. the thing is, those are called "unsafe" enchantments. and I wanted to know if they are really unsafe. for example, can they corrupt the saved state of an entity/tileentity? if something is known as unsafe, I expect there is some risk involved. I wanted to know if those risks are acceptable or not. corrupting data, causing crashes or any sort of unstability is not acceptable. being too powerful to the point of hit-killing a fully diamond-armored player is.

WIP mods: easyautomation, easyenergy, easyelectronics, easymoney, easytrasportation, easysecurity, easymultiverse, easyfactions, easymagick, easyalchemy, easyseasons

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.