There are functions that define this. The default checks what kind of item things are and allows or denies various enchantments.
TieredItem only allows Unbreaking (because that's the default).
Lets check the original function.
"If the block is opaque, return the maximum light value. Otherwise if sky light is supposed to propagate downwards, return 0. Otherwise return 1."
🤔
When joining my server on localhost, it gives me this error:
[17:01:49] [Server thread/INFO] [minecraft/PlayerList]: Porkchop2005 "IP" logged in with entity id 101 at (-264.5, 68.0, 224.5)
[17:01:49] [Server thread/INFO] [minecraft/DedicatedServer]: Porkchop2005 joined the game
[17:01:49] [Netty Server IO #2/ERROR] [minecraft/NettyPacketEncoder]: java.lang.NullPointerException
[17:01:49] [Server thread/INFO] [minecraft/ServerPlayNetHandler]: Porkchop2005 lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.lang.NullPointerException
[17:01:49] [Server thread/INFO] [minecraft/DedicatedServer]: Porkchop2005 left the game
full console log here
Hello There! Today we are back on Parkour Paradise and we did it, 6 parts in, lots of punching, numerous deaths and we FINALLY made it halfway there... That's good and bad because we still have 50 more levels to go but at least we made it... but there are so many hilarious moments in this video that I know you guys are gonna love! I hope you all enjoy this video and if you did don't forget to like and sub for more!