Block that sends you to dimension crashes when loading from minecraft

Status
Fixed
Issue description

I made a block so that where when you walk into it, you get sent to the nether. This worked when mcreator loaded minecraft, but when the launcher for the game loaded it, i walked into it and it crashes with this message.

The game crashed whilst colliding entity with block
Error: net.minecraftforge.fml.common.ObfuscationReflectionHelper$UnableToFindFieldException: java.lang.NoSuchFieldException: invulnerableDimensionChange

Idk why it does this.

The file provided is a workspace with what i did.

Issue comments