Package net.minecraft.client.network
Class DataQueryHandler
java.lang.Object
net.minecraft.client.network.DataQueryHandler
@Environment(CLIENT) public class DataQueryHandler extends Object
- Mappings:
Namespace Name official dqb
intermediary net/minecraft/class_300
named net/minecraft/client/network/DataQueryHandler
-
Field Summary
Fields Modifier and Type Field Description private Consumer<CompoundTag>
callback
private int
expectedTransactionId
private ClientPlayNetworkHandler
networkHandler
-
Constructor Summary
Constructors Constructor Description DataQueryHandler(ClientPlayNetworkHandler networkHandler)
-
Method Summary
Modifier and Type Method Description boolean
handleQueryResponse(int transactionId, CompoundTag tag)
private int
nextQuery(Consumer<CompoundTag> callback)
void
queryBlockNbt(BlockPos pos, Consumer<CompoundTag> callback)
void
queryEntityNbt(int entityNetworkId, Consumer<CompoundTag> callback)
-
Field Details
-
networkHandler
- Mappings:
Namespace Name Mixin selector official a
Ldqb;a:Ledz;
intermediary field_1640
Lnet/minecraft/class_300;field_1640:Lnet/minecraft/class_634;
named networkHandler
Lnet/minecraft/client/network/DataQueryHandler;networkHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
-
expectedTransactionId
private int expectedTransactionId- Mappings:
Namespace Name Mixin selector official b
Ldqb;b:I
intermediary field_1641
Lnet/minecraft/class_300;field_1641:I
named expectedTransactionId
Lnet/minecraft/client/network/DataQueryHandler;expectedTransactionId:I
-
callback
- Mappings:
Namespace Name Mixin selector official c
Ldqb;c:Ljava/util/function/Consumer;
intermediary field_1642
Lnet/minecraft/class_300;field_1642:Ljava/util/function/Consumer;
named callback
Lnet/minecraft/client/network/DataQueryHandler;callback:Ljava/util/function/Consumer;
-
-
Constructor Details
-
DataQueryHandler
- Mappings:
Namespace Name Mixin selector official <init>
Ldqb;<init>(Ledz;)V
intermediary <init>
Lnet/minecraft/class_300;<init>(Lnet/minecraft/class_634;)V
named <init>
Lnet/minecraft/client/network/DataQueryHandler;<init>(Lnet/minecraft/client/network/ClientPlayNetworkHandler;)V
-
-
Method Details
-
handleQueryResponse
- Mappings:
Namespace Name Mixin selector official a
Ldqb;a(ILmq;)Z
intermediary method_1404
Lnet/minecraft/class_300;method_1404(ILnet/minecraft/class_2487;)Z
named handleQueryResponse
Lnet/minecraft/client/network/DataQueryHandler;handleQueryResponse(ILnet/minecraft/nbt/CompoundTag;)Z
-
nextQuery
- Mappings:
Namespace Name Mixin selector official a
Ldqb;a(Ljava/util/function/Consumer;)I
intermediary method_1402
Lnet/minecraft/class_300;method_1402(Ljava/util/function/Consumer;)I
named nextQuery
Lnet/minecraft/client/network/DataQueryHandler;nextQuery(Ljava/util/function/Consumer;)I
-
queryEntityNbt
- Mappings:
Namespace Name Mixin selector official a
Ldqb;a(ILjava/util/function/Consumer;)V
intermediary method_1405
Lnet/minecraft/class_300;method_1405(ILjava/util/function/Consumer;)V
named queryEntityNbt
Lnet/minecraft/client/network/DataQueryHandler;queryEntityNbt(ILjava/util/function/Consumer;)V
-
queryBlockNbt
- Mappings:
Namespace Name Mixin selector official a
Ldqb;a(Lfx;Ljava/util/function/Consumer;)V
intermediary method_1403
Lnet/minecraft/class_300;method_1403(Lnet/minecraft/class_2338;Ljava/util/function/Consumer;)V
named queryBlockNbt
Lnet/minecraft/client/network/DataQueryHandler;queryBlockNbt(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Consumer;)V
-