20 lines
465 B
Java

package com.hbm.saveddata.satellites;
import com.hbm.main.MainRegistry;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
public class SatelliteHorizons extends Satellite {
public SatelliteHorizons() {
this.satIface = Interfaces.SAT_COORD;
}
public void onOrbit(World world, double x, double y, double z) {
for(Object p : world.playerEntities)
((EntityPlayer)p).triggerAchievement(MainRegistry.horizonsStart);
}
}