Dev imports
This commit is contained in:
30
src/main/java/net/minecraft/server/PacketPlayOutBed.java
Normal file
30
src/main/java/net/minecraft/server/PacketPlayOutBed.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public class PacketPlayOutBed implements Packet<PacketListenerPlayOut> {
|
||||
|
||||
private int a;
|
||||
private BlockPosition b;
|
||||
|
||||
public PacketPlayOutBed() {}
|
||||
|
||||
public PacketPlayOutBed(EntityHuman entityhuman, BlockPosition blockposition) {
|
||||
this.a = entityhuman.getId();
|
||||
this.b = blockposition;
|
||||
}
|
||||
|
||||
public void a(PacketDataSerializer packetdataserializer) throws IOException {
|
||||
this.a = packetdataserializer.g();
|
||||
this.b = packetdataserializer.e();
|
||||
}
|
||||
|
||||
public void b(PacketDataSerializer packetdataserializer) throws IOException {
|
||||
packetdataserializer.d(this.a);
|
||||
packetdataserializer.a(this.b);
|
||||
}
|
||||
|
||||
public void a(PacketListenerPlayOut packetlistenerplayout) {
|
||||
packetlistenerplayout.a(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user