mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-20 12:19:50 +00:00
Client can request a chunk status update (Packet0x02) OverlayLoadedchunk is now a singleton and will send a request packet when activated. Player status is saved in the server proxy. ChunkData is a "static" class to gather chunk related data (loaded chunks for now).
28 lines
594 B
Java
28 lines
594 B
Java
package mcp.mobius.opis.server;
|
|
|
|
import mcp.mobius.opis.modOpis;
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import cpw.mods.fml.common.IPlayerTracker;
|
|
|
|
public class OpisPlayerTracker implements IPlayerTracker {
|
|
|
|
@Override
|
|
public void onPlayerLogin(EntityPlayer player) {
|
|
}
|
|
|
|
@Override
|
|
public void onPlayerLogout(EntityPlayer player) {
|
|
modOpis.proxy.playerOverlayStatus.remove(player);
|
|
modOpis.proxy.playerDimension.remove(player);
|
|
}
|
|
|
|
@Override
|
|
public void onPlayerChangedDimension(EntityPlayer player) {
|
|
}
|
|
|
|
@Override
|
|
public void onPlayerRespawn(EntityPlayer player) {
|
|
}
|
|
|
|
}
|