
net.minecraft.server.PacketPlayInResourcePackStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walk-server Show documentation
Show all versions of walk-server Show documentation
A spigot fork to kotlin structure and news.
package net.minecraft.server;
import java.io.IOException;
public class PacketPlayInResourcePackStatus implements Packet {
public PacketPlayInResourcePackStatus.EnumResourcePackStatus b; // PAIL: private -> public, rename: status
private String a;
public PacketPlayInResourcePackStatus() {
}
public void a(PacketDataSerializer packetdataserializer) throws IOException {
this.a = packetdataserializer.c(40);
this.b = packetdataserializer.a(EnumResourcePackStatus.class);
}
public void b(PacketDataSerializer packetdataserializer) throws IOException {
packetdataserializer.a(this.a);
packetdataserializer.a(this.b);
}
public void a(PacketListenerPlayIn packetlistenerplayin) {
packetlistenerplayin.a(this);
}
public enum EnumResourcePackStatus {
SUCCESSFULLY_LOADED, DECLINED, FAILED_DOWNLOAD, ACCEPTED;
EnumResourcePackStatus() {
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy