summary refs log blame commit diff stats
path: root/src/main/java/ganarchy/friendcode/mixin/FriendCodeIntegratedServerExt.java
blob: 49d3b3f967a63abaa18dc3a5122fb0ad6e43ac63 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                        
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);
}