类 ClientboundRecipePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundRecipePacket
- 所有已实现的接口:
Packet<ClientGamePacketListener>
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final RecipeBookSettings
private final List<ResourceLocation>
private final ClientboundRecipePacket.State
private final List<ResourceLocation>
-
构造器概要
构造器构造器说明ClientboundRecipePacket
(FriendlyByteBuf pBuffer) ClientboundRecipePacket
(ClientboundRecipePacket.State pState, Collection<ResourceLocation> pRecipes, Collection<ResourceLocation> pToHighlight, RecipeBookSettings pBookSettings) -
方法概要
修饰符和类型方法说明getState()
void
handle
(ClientGamePacketListener pHandler) void
write
(FriendlyByteBuf pBuffer) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable
-
字段详细资料
-
state
-
recipes
-
toHighlight
-
bookSettings
-
-
构造器详细资料
-
ClientboundRecipePacket
public ClientboundRecipePacket(ClientboundRecipePacket.State pState, Collection<ResourceLocation> pRecipes, Collection<ResourceLocation> pToHighlight, RecipeBookSettings pBookSettings) -
ClientboundRecipePacket
-
-
方法详细资料
-
write
- 指定者:
write
在接口中Packet<ClientGamePacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ClientGamePacketListener>
-
getRecipes
-
getHighlights
-
getBookSettings
-
getState
-