Class RecipeBookDataC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.RecipeBookDataC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class RecipeBookDataC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official tvintermediary net/minecraft/class_2853named net/minecraft/network/packet/c2s/play/RecipeBookDataC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private IdentifierrecipeId -
Constructor Summary
Constructors Constructor Description RecipeBookDataC2SPacket()RecipeBookDataC2SPacket(Recipe<?> recipe) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)IdentifiergetRecipeId()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
recipeId
- Mappings:
Namespace Name Mixin selector official aLtv;a:Lwb;intermediary field_13004Lnet/minecraft/class_2853;field_13004:Lnet/minecraft/class_2960;named recipeIdLnet/minecraft/network/packet/c2s/play/RecipeBookDataC2SPacket;recipeId:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
RecipeBookDataC2SPacket
public RecipeBookDataC2SPacket() -
RecipeBookDataC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Ltv;<init>(Lbqn;)Vintermediary <init>Lnet/minecraft/class_2853;<init>(Lnet/minecraft/class_1860;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/RecipeBookDataC2SPacket;<init>(Lnet/minecraft/recipe/Recipe;)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLtv;a(Lss;)Vintermediary method_12400Lnet/minecraft/class_2853;method_12400(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/RecipeBookDataC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getRecipeId
- Mappings:
Namespace Name Mixin selector official bLtv;b()Lwb;intermediary method_12406Lnet/minecraft/class_2853;method_12406()Lnet/minecraft/class_2960;named getRecipeIdLnet/minecraft/network/packet/c2s/play/RecipeBookDataC2SPacket;getRecipeId()Lnet/minecraft/util/Identifier;
-