Class BedSleepS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.BedSleepS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class BedSleepS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official haintermediary net/minecraft/class_1516named net/minecraft/network/packet/s2c/play/BedSleepS2CPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BedSleepS2CPacket()BedSleepS2CPacket(PlayerEntity player, BlockPos bedPos) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)BlockPosgetBedPos()PlayerEntitygetPlayer(World world)voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)
-
Field Details
-
entityId
private int entityId- Mappings:
Namespace Name Mixin selector official aLha;a:Iintermediary field_6263Lnet/minecraft/class_1516;field_6263:Inamed entityIdLnet/minecraft/network/packet/s2c/play/BedSleepS2CPacket;entityId:I
-
bedPos
- Mappings:
Namespace Name Mixin selector official bLha;b:Lcj;intermediary field_6264Lnet/minecraft/class_1516;field_6264:Lnet/minecraft/class_1372;named bedPosLnet/minecraft/network/packet/s2c/play/BedSleepS2CPacket;bedPos:Lnet/minecraft/util/math/BlockPos;
-
-
Constructor Details
-
BedSleepS2CPacket
public BedSleepS2CPacket() -
BedSleepS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lha;<init>(Lwn;Lcj;)Vintermediary <init>Lnet/minecraft/class_1516;<init>(Lnet/minecraft/class_1963;Lnet/minecraft/class_1372;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/BedSleepS2CPacket;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLff;a(Lem;)Vintermediary method_5238Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLff;b(Lem;)Vintermediary method_5240Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLha;a(Lfj;)Vintermediary method_5557Lnet/minecraft/class_1516;method_5557(Lnet/minecraft/class_1462;)Vnamed applyLnet/minecraft/network/packet/s2c/play/BedSleepS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getPlayer
- Mappings:
Namespace Name Mixin selector official aLha;a(Ladm;)Lwn;intermediary method_5556Lnet/minecraft/class_1516;method_5556(Lnet/minecraft/class_99;)Lnet/minecraft/class_1963;named getPlayerLnet/minecraft/network/packet/s2c/play/BedSleepS2CPacket;getPlayer(Lnet/minecraft/world/World;)Lnet/minecraft/entity/player/PlayerEntity;
-
getBedPos
- Mappings:
Namespace Name Mixin selector official aLha;a()Lcj;intermediary method_5555Lnet/minecraft/class_1516;method_5555()Lnet/minecraft/class_1372;named getBedPosLnet/minecraft/network/packet/s2c/play/BedSleepS2CPacket;getBedPos()Lnet/minecraft/util/math/BlockPos;
-