mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
20 lines
448 B
Java
20 lines
448 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 SatelliteRelay extends Satellite {
|
|
|
|
public SatelliteRelay() {
|
|
this.satIface = Interfaces.NONE;
|
|
}
|
|
|
|
public void onOrbit(World world, double x, double y, double z) {
|
|
|
|
for(Object p : world.playerEntities)
|
|
((EntityPlayer)p).triggerAchievement(MainRegistry.achFOEQ);
|
|
}
|
|
}
|