Class WrapperPlayClientDifficultyChange
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientDifficultyChange
-
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayClientDifficultyChange
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptioncom.comphenix.protocol.wrappers.EnumWrappers.Difficulty
Retrieves the value of field 'difficulty'void
setDifficulty
(com.comphenix.protocol.wrappers.EnumWrappers.Difficulty value) Sets the value of field 'difficulty'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 TYPE
-
-
Constructor Details
-
WrapperPlayClientDifficultyChange
public WrapperPlayClientDifficultyChange() -
WrapperPlayClientDifficultyChange
public WrapperPlayClientDifficultyChange(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getDifficulty
public com.comphenix.protocol.wrappers.EnumWrappers.Difficulty getDifficulty()Retrieves the value of field 'difficulty'- Returns:
- 'difficulty'
-
setDifficulty
public void setDifficulty(com.comphenix.protocol.wrappers.EnumWrappers.Difficulty value) Sets the value of field 'difficulty'- Parameters:
value
- New value for field 'difficulty'
-