Package net.minecraft.client.network
Class DataQueryHandler
java.lang.Object
net.minecraft.client.network.DataQueryHandler
- Mappings:
Namespace Name named net/minecraft/client/network/DataQueryHandler
intermediary net/minecraft/class_300
official fey
-
Field Summary
Modifier and TypeFieldDescriptionprivate @Nullable Consumer
<NbtCompound> private int
private final ClientPlayNetworkHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handleQueryResponse
(int transactionId, @Nullable NbtCompound nbt) private int
nextQuery
(Consumer<NbtCompound> callback) void
queryBlockNbt
(BlockPos pos, Consumer<NbtCompound> callback) void
queryEntityNbt
(int entityNetworkId, Consumer<NbtCompound> callback)
-
Field Details
-
networkHandler
- Mappings:
Namespace Name Mixin selector named networkHandler
Lnet/minecraft/client/network/DataQueryHandler;networkHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
intermediary field_1640
Lnet/minecraft/class_300;field_1640:Lnet/minecraft/class_634;
official a
Lfey;a:Lfxy;
-
expectedTransactionId
private int expectedTransactionId- Mappings:
Namespace Name Mixin selector named expectedTransactionId
Lnet/minecraft/client/network/DataQueryHandler;expectedTransactionId:I
intermediary field_1641
Lnet/minecraft/class_300;field_1641:I
official b
Lfey;b:I
-
callback
- Mappings:
Namespace Name Mixin selector named callback
Lnet/minecraft/client/network/DataQueryHandler;callback:Ljava/util/function/Consumer;
intermediary field_1642
Lnet/minecraft/class_300;field_1642:Ljava/util/function/Consumer;
official c
Lfey;c:Ljava/util/function/Consumer;
-
-
Constructor Details
-
DataQueryHandler
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/network/DataQueryHandler;<init>(Lnet/minecraft/client/network/ClientPlayNetworkHandler;)V
intermediary <init>
Lnet/minecraft/class_300;<init>(Lnet/minecraft/class_634;)V
official <init>
Lfey;<init>(Lfxy;)V
-
-
Method Details
-
handleQueryResponse
- Mappings:
Namespace Name Mixin selector named handleQueryResponse
Lnet/minecraft/client/network/DataQueryHandler;handleQueryResponse(ILnet/minecraft/nbt/NbtCompound;)Z
intermediary method_1404
Lnet/minecraft/class_300;method_1404(ILnet/minecraft/class_2487;)Z
official a
Lfey;a(ILus;)Z
-
nextQuery
- Mappings:
Namespace Name Mixin selector named nextQuery
Lnet/minecraft/client/network/DataQueryHandler;nextQuery(Ljava/util/function/Consumer;)I
intermediary method_1402
Lnet/minecraft/class_300;method_1402(Ljava/util/function/Consumer;)I
official a
Lfey;a(Ljava/util/function/Consumer;)I
-
queryEntityNbt
- Mappings:
Namespace Name Mixin selector named queryEntityNbt
Lnet/minecraft/client/network/DataQueryHandler;queryEntityNbt(ILjava/util/function/Consumer;)V
intermediary method_1405
Lnet/minecraft/class_300;method_1405(ILjava/util/function/Consumer;)V
official a
Lfey;a(ILjava/util/function/Consumer;)V
-
queryBlockNbt
- Mappings:
Namespace Name Mixin selector named queryBlockNbt
Lnet/minecraft/client/network/DataQueryHandler;queryBlockNbt(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Consumer;)V
intermediary method_1403
Lnet/minecraft/class_300;method_1403(Lnet/minecraft/class_2338;Ljava/util/function/Consumer;)V
official a
Lfey;a(Liz;Ljava/util/function/Consumer;)V
-