Class SQueryNBTResponsePacket
- java.lang.Object
-
- net.minecraft.network.play.server.SQueryNBTResponsePacket
-
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
public class SQueryNBTResponsePacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
-
-
Field Summary
Fields Modifier and Type Field Description private CompoundNBT
tag
private int
transactionId
-
Constructor Summary
Constructors Constructor Description SQueryNBTResponsePacket()
SQueryNBTResponsePacket(int p_i49757_1_, CompoundNBT p_i49757_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompoundNBT
getTag()
int
getTransactionId()
void
handle(IClientPlayNetHandler p_148833_1_)
boolean
isSkippable()
void
read(PacketBuffer p_148837_1_)
void
write(PacketBuffer p_148840_1_)
-
-
-
Field Detail
-
transactionId
private int transactionId
-
tag
@Nullable private CompoundNBT tag
-
-
Constructor Detail
-
SQueryNBTResponsePacket
public SQueryNBTResponsePacket()
-
SQueryNBTResponsePacket
public SQueryNBTResponsePacket(int p_i49757_1_, @Nullable CompoundNBT p_i49757_2_)
-
-
Method Detail
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
handle
public void handle(IClientPlayNetHandler p_148833_1_)
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getTransactionId
public int getTransactionId()
-
getTag
@Nullable public CompoundNBT getTag()
-
isSkippable
public boolean isSkippable()
- Specified by:
isSkippable
in interfaceIPacket<IClientPlayNetHandler>
-
-