25 lines
430 B
Java
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;
|
|
}
|
|
}
|
|
|