package ganarchy.friendcode.mixin; import net.minecraft.client.network.LanServerPinger; import net.minecraft.server.integrated.IntegratedServer; import net.minecraft.world.GameMode; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.gen.Accessor; @Mixin(IntegratedServer.class) public interface FriendCodeIntegratedServerExt { @Accessor("forcedGameMode") void forcedGameMode(GameMode gameMode); @Accessor("lanPort") void lanPort(int port); @Accessor("lanPinger") void lanPinger(LanServerPinger lanPinger); }