2025-11-24 22:52:51 +03:00

25 lines
430 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.network.protocol;
public enum PacketFlow {
SERVERBOUND("serverbound"),
CLIENTBOUND("clientbound");
private final String id;
private PacketFlow(String id) {
this.id = id;
}
public PacketFlow getOpposite() {
return this == CLIENTBOUND ? SERVERBOUND : CLIENTBOUND;
}
public String id() {
return this.id;
}
}