Class SConfirmTransactionPacket
java.lang.Object
net.minecraft.network.play.server.SConfirmTransactionPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private int
private short
-
Constructor Summary
ConstructorDescriptionSConfirmTransactionPacket
(int p_i46958_1_, short p_i46958_2_, boolean p_i46958_3_) -
Method Summary
Modifier and TypeMethodDescriptionint
short
getUid()
void
handle
(IClientPlayNetHandler p_148833_1_) boolean
void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) 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.IPacket
isSkippable
-
Field Details
-
containerId
private int containerId -
uid
private short uid -
accepted
private boolean accepted
-
-
Constructor Details
-
SConfirmTransactionPacket
public SConfirmTransactionPacket() -
SConfirmTransactionPacket
public SConfirmTransactionPacket(int p_i46958_1_, short p_i46958_2_, boolean p_i46958_3_)
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
getContainerId
public int getContainerId() -
getUid
public short getUid() -
isAccepted
public boolean isAccepted()
-