Class WrapperPlayClientDifficultyChange

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientDifficultyChange

public class WrapperPlayClientDifficultyChange extends AbstractPacket
  • 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'