Class WrapperPlayServerRecipes
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerRecipes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketType
The packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerRecipes
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionRetrieves a wrapped copy of the recipe book settingsList<com.comphenix.protocol.wrappers.MinecraftKey>
Retrieves the value of field 'recipes'getState()
Retrieves the value of field 'state'List<com.comphenix.protocol.wrappers.MinecraftKey>
Retrieves the value of field 'toHighlight'void
Sets the recipe book settingsvoid
setRecipes
(List<com.comphenix.protocol.wrappers.MinecraftKey> value) Sets the value of field 'recipes'void
Sets the value of field 'state'void
setToHighlight
(List<com.comphenix.protocol.wrappers.MinecraftKey> value) Sets the value of field 'toHighlight'Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPEThe packet type that is wrapped by this wrapper.
-
-
Constructor Details
-
WrapperPlayServerRecipes
public WrapperPlayServerRecipes()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerRecipes
public WrapperPlayServerRecipes(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getState
Retrieves the value of field 'state'- Returns:
- 'state'
-
setState
Sets the value of field 'state'- Parameters:
value
- New value for field 'state'
-
getRecipes
Retrieves the value of field 'recipes'- Returns:
- 'recipes'
-
setRecipes
Sets the value of field 'recipes'- Parameters:
value
- New value for field 'recipes'
-
getToHighlight
Retrieves the value of field 'toHighlight'- Returns:
- 'toHighlight'
-
setToHighlight
Sets the value of field 'toHighlight'- Parameters:
value
- New value for field 'toHighlight'
-
getBookSettings
Retrieves a wrapped copy of the recipe book settings- Returns:
- 'bookSettings'
-
setBookSettings
Sets the recipe book settings- Parameters:
value
- New value for field 'bookSettings'
-