I want the same action but obviously I can't do that in [X].
How should I go about it in this case ?
@SubscribeEvent
public void checkDimension(PlayerEvent.PlayerChangedDimensionEvent event) {
int dimension = event.player.dimension;
System.out.println("player dimension is: " + event.player.dimension);
if (dimension == -1){[X]}
}
Oke , thank you :
So see if the dimension is changed , see which dimension it is and tp him back to his cords in the previous dimension ?
And preventing vanilla world gen ?
Hallo everyone ,
I'm working on a 1.7.10 minecraft UE mod and I encountered a problem.
I cannot get minecraft to stop generating mob spawners and strongholds.
I also don't want players to be able to enter the nether.
If any of you have experience with that and/or know a solution please let me know.
Thanks in advance,
~Justice