Hey all,
I've been trying to make a dimension in 1.7.2, and I'm running into a little trouble while referencing a certain class.
I'm supposed use the "ModLoader" class from net.minecraft.src.ModLoader, but it doesn't appear to be here in the recommended build of forge for 1.7.2
Any ideas?
SRC:
public void onEntityCollidedWithBlock(World world, int x, int y, int z, Entity entity) {
if(entity.ridingEntity == null && entity.riddenByEntity == null && entity instanceof EntityPlayerMP) {
EntityPlayerMP player = (EntityPlayerMP) entity;
ModLoader.getMinecraftServerInstance(); // syntax highlighting here because the ModLoader class doesn't exist
}
}
Any and all help will be appreciated.
Thanks.