Class ClientboundAddPaintingPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundAddPaintingPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundAddPaintingPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundAddPaintingPacket
(FriendlyByteBuf p_178568_) ClientboundAddPaintingPacket
(Painting p_131573_) -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
getPos()
getUUID()
void
handle
(ClientGamePacketListener p_131579_) void
write
(FriendlyByteBuf p_131582_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
id
private final int id -
uuid
-
pos
-
direction
-
motive
private final int motive
-
-
Constructor Details
-
ClientboundAddPaintingPacket
-
ClientboundAddPaintingPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getId
public int getId() -
getUUID
-
getPos
-
getDirection
-
getMotive
-