public class NBTQueryManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ClientPlayNetHandler |
connection |
private java.util.function.Consumer<CompoundNBT> |
handler |
private int |
transactionId |
Constructor and Description |
---|
NBTQueryManager(ClientPlayNetHandler p_i49773_1_) |
Modifier and Type | Method and Description |
---|---|
boolean |
handleResponse(int p_211548_1_,
CompoundNBT p_211548_2_) |
void |
queryEntity(int entId,
java.util.function.Consumer<CompoundNBT> p_211549_2_) |
void |
queryTileEntity(BlockPos p_211547_1_,
java.util.function.Consumer<CompoundNBT> p_211547_2_) |
private int |
setHandler(java.util.function.Consumer<CompoundNBT> p_211546_1_) |
private final ClientPlayNetHandler connection
private int transactionId
@Nullable private java.util.function.Consumer<CompoundNBT> handler
public NBTQueryManager(ClientPlayNetHandler p_i49773_1_)
public boolean handleResponse(int p_211548_1_, @Nullable CompoundNBT p_211548_2_)
private int setHandler(java.util.function.Consumer<CompoundNBT> p_211546_1_)
public void queryEntity(int entId, java.util.function.Consumer<CompoundNBT> p_211549_2_)
public void queryTileEntity(BlockPos p_211547_1_, java.util.function.Consumer<CompoundNBT> p_211547_2_)