net.minecraft.client.network

public class DataQueryHandler

net.minecraft.client.DebugQueryHandler
net.minecraft.class_300
net.minecraft.client.network.DataQueryHandler

Field summary

Modifier and TypeField
private final ClientPlayNetworkHandler
connection
field_1640
networkHandler
private int
transactionId
field_1641
expectedTransactionId
private Consumer<NbtCompound>
callback
field_1642
callback

Constructor summary

ModifierConstructor
public (ClientPlayNetworkHandler networkHandler)

Method summary

Modifier and TypeMethod
public boolean
handleResponse(int transactionId, CompoundTag tag)
method_1404(int arg0, class_2487 arg1)
handleQueryResponse(int transactionId, NbtCompound nbt)
private int
startTransaction(Consumer<CompoundTag> callback)
method_1402(Consumer<class_2487> arg0)
nextQuery(Consumer<NbtCompound> callback)
public void
queryEntityTag(int entityId, Consumer<CompoundTag> callback)
method_1405(int arg0, Consumer<class_2487> arg1)
queryEntityNbt(int entityNetworkId, Consumer<NbtCompound> callback)
public void
queryBlockEntityTag(BlockPos blockPos, Consumer<CompoundTag> callback)
method_1403(class_2338 arg0, Consumer<class_2487> arg1)
queryBlockNbt(BlockPos pos, Consumer<NbtCompound> callback)