mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 19:15:32 +00:00
53 lines
1.6 KiB
Java
53 lines
1.6 KiB
Java
package cpw.mods.fml.common;
|
|
|
|
import java.util.List;
|
|
|
|
import com.google.common.collect.MapDifference;
|
|
|
|
import net.minecraft.entity.Entity;
|
|
import net.minecraft.network.INetworkManager;
|
|
import net.minecraft.network.packet.NetHandler;
|
|
import net.minecraft.network.packet.Packet;
|
|
import net.minecraft.network.packet.Packet131MapData;
|
|
import net.minecraft.server.MinecraftServer;
|
|
import cpw.mods.fml.common.network.EntitySpawnAdjustmentPacket;
|
|
import cpw.mods.fml.common.network.EntitySpawnPacket;
|
|
import cpw.mods.fml.common.network.ModMissingPacket;
|
|
import cpw.mods.fml.common.registry.ItemData;
|
|
import cpw.mods.fml.common.registry.EntityRegistry.EntityRegistration;
|
|
|
|
public interface IFMLSidedHandler
|
|
{
|
|
List<String> getAdditionalBrandingInformation();
|
|
|
|
Side getSide();
|
|
|
|
void haltGame(String message, Throwable exception);
|
|
|
|
void showGuiScreen(Object clientGuiElement);
|
|
|
|
Entity spawnEntityIntoClientWorld(EntityRegistration registration, EntitySpawnPacket packet);
|
|
|
|
void adjustEntityLocationOnClient(EntitySpawnAdjustmentPacket entitySpawnAdjustmentPacket);
|
|
|
|
void beginServerLoading(MinecraftServer server);
|
|
|
|
void finishServerLoading();
|
|
|
|
MinecraftServer getServer();
|
|
|
|
void sendPacket(Packet packet);
|
|
|
|
void displayMissingMods(ModMissingPacket modMissingPacket);
|
|
|
|
void handleTinyPacket(NetHandler handler, Packet131MapData mapData);
|
|
|
|
void setClientCompatibilityLevel(byte compatibilityLevel);
|
|
|
|
byte getClientCompatibilityLevel();
|
|
|
|
boolean shouldServerShouldBeKilledQuietly();
|
|
|
|
void disconnectIDMismatch(MapDifference<Integer, ItemData> s, NetHandler toKill, INetworkManager mgr);
|
|
}
|