2019-05-02 09:39:05 +02:00
|
|
|
package de.ellpeck.actuallyadditions.mod.util;
|
|
|
|
|
|
|
|
import java.util.Set;
|
|
|
|
|
|
|
|
import net.minecraft.network.EnumPacketDirection;
|
|
|
|
import net.minecraft.network.NetHandlerPlayServer;
|
|
|
|
import net.minecraft.network.NetworkManager;
|
|
|
|
import net.minecraft.network.Packet;
|
|
|
|
import net.minecraft.network.play.client.CPacketAnimation;
|
|
|
|
import net.minecraft.network.play.client.CPacketChatMessage;
|
|
|
|
import net.minecraft.network.play.client.CPacketClickWindow;
|
|
|
|
import net.minecraft.network.play.client.CPacketClientSettings;
|
|
|
|
import net.minecraft.network.play.client.CPacketClientStatus;
|
|
|
|
import net.minecraft.network.play.client.CPacketCloseWindow;
|
|
|
|
import net.minecraft.network.play.client.CPacketConfirmTeleport;
|
|
|
|
import net.minecraft.network.play.client.CPacketConfirmTransaction;
|
|
|
|
import net.minecraft.network.play.client.CPacketCreativeInventoryAction;
|
|
|
|
import net.minecraft.network.play.client.CPacketCustomPayload;
|
|
|
|
import net.minecraft.network.play.client.CPacketEnchantItem;
|
|
|
|
import net.minecraft.network.play.client.CPacketEntityAction;
|
|
|
|
import net.minecraft.network.play.client.CPacketHeldItemChange;
|
|
|
|
import net.minecraft.network.play.client.CPacketInput;
|
|
|
|
import net.minecraft.network.play.client.CPacketKeepAlive;
|
|
|
|
import net.minecraft.network.play.client.CPacketPlaceRecipe;
|
|
|
|
import net.minecraft.network.play.client.CPacketPlayer;
|
|
|
|
import net.minecraft.network.play.client.CPacketPlayerAbilities;
|
|
|
|
import net.minecraft.network.play.client.CPacketPlayerDigging;
|
|
|
|
import net.minecraft.network.play.client.CPacketPlayerTryUseItem;
|
|
|
|
import net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock;
|
|
|
|
import net.minecraft.network.play.client.CPacketRecipeInfo;
|
|
|
|
import net.minecraft.network.play.client.CPacketResourcePackStatus;
|
|
|
|
import net.minecraft.network.play.client.CPacketSeenAdvancements;
|
|
|
|
import net.minecraft.network.play.client.CPacketSpectate;
|
|
|
|
import net.minecraft.network.play.client.CPacketSteerBoat;
|
|
|
|
import net.minecraft.network.play.client.CPacketTabComplete;
|
|
|
|
import net.minecraft.network.play.client.CPacketUpdateSign;
|
|
|
|
import net.minecraft.network.play.client.CPacketUseEntity;
|
|
|
|
import net.minecraft.network.play.client.CPacketVehicleMove;
|
|
|
|
import net.minecraft.network.play.server.SPacketPlayerPosLook.EnumFlags;
|
|
|
|
import net.minecraft.util.text.ITextComponent;
|
|
|
|
import net.minecraftforge.common.util.FakePlayer;
|
|
|
|
|
|
|
|
public class NetHandlerSpaghettiServer extends NetHandlerPlayServer {
|
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
public NetHandlerSpaghettiServer(FakePlayer player) {
|
|
|
|
super(null, new NetworkManager(EnumPacketDirection.CLIENTBOUND), player);
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void disconnect(ITextComponent textComponent) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void func_194308_a(CPacketPlaceRecipe p_194308_1_) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void handleAnimation(CPacketAnimation packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void handleRecipeBookUpdate(CPacketRecipeInfo p_191984_1_) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void handleResourcePackStatus(CPacketResourcePackStatus packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void handleSeenAdvancements(CPacketSeenAdvancements p_194027_1_) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void handleSpectate(CPacketSpectate packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void onDisconnect(ITextComponent reason) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processChatMessage(CPacketChatMessage packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processClickWindow(CPacketClickWindow packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processClientSettings(CPacketClientSettings packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processClientStatus(CPacketClientStatus packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processCloseWindow(CPacketCloseWindow packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processConfirmTeleport(CPacketConfirmTeleport packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processConfirmTransaction(CPacketConfirmTransaction packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processCreativeInventoryAction(CPacketCreativeInventoryAction packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processCustomPayload(CPacketCustomPayload packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processEnchantItem(CPacketEnchantItem packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processEntityAction(CPacketEntityAction packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processHeldItemChange(CPacketHeldItemChange packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processInput(CPacketInput packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processKeepAlive(CPacketKeepAlive packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processPlayer(CPacketPlayer packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processPlayerAbilities(CPacketPlayerAbilities packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processPlayerDigging(CPacketPlayerDigging packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processSteerBoat(CPacketSteerBoat packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processTabComplete(CPacketTabComplete packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processTryUseItem(CPacketPlayerTryUseItem packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processTryUseItemOnBlock(CPacketPlayerTryUseItemOnBlock packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processUpdateSign(CPacketUpdateSign packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processUseEntity(CPacketUseEntity packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void processVehicleMove(CPacketVehicleMove packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void sendPacket(Packet<?> packetIn) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void setPlayerLocation(double x, double y, double z, float yaw, float pitch) {
|
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
@Override
|
|
|
|
public void setPlayerLocation(double x, double y, double z, float yaw, float pitch, Set<EnumFlags> relativeSet) {
|
2019-05-02 09:39:05 +02:00
|
|
|
|
2019-05-02 10:43:27 +02:00
|
|
|
}
|
2019-05-02 09:39:05 +02:00
|
|
|
|
|
|
|
}
|