net.minecraft.entity.player

## Class PlayerCapabilities

- java.lang.Object
- - net.minecraft.entity.player.PlayerCapabilities

-     public class PlayerCapabilities
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `boolean` | `allowEdit`
    `boolean` | `allowFlying`
    `boolean` | `disableDamage`
    `boolean` | `isCreativeMode`
    `boolean` | `isFlying`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PlayerCapabilities()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `float` | `getFlySpeed()`
    `float` | `getWalkSpeed()`
    `void` | `readCapabilitiesFromNBT(NBTTagCompound par1NBTTagCompound)`
    `void` | `setFlySpeed(float par1)`
    `void` | `setPlayerWalkSpeed(float par1)`
    `void` | `writeCapabilitiesToNBT(NBTTagCompound par1NBTTagCompound)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### disableDamage

          public boolean disableDamage

    - #### isFlying

          public boolean isFlying

    - #### allowFlying

          public boolean allowFlying

    - #### isCreativeMode

          public boolean isCreativeMode

    - #### allowEdit

          public boolean allowEdit

  - ### Constructor Detail

    - #### PlayerCapabilities

          public PlayerCapabilities()

  - ### Method Detail

    - #### writeCapabilitiesToNBT

          public void writeCapabilitiesToNBT(NBTTagCompound par1NBTTagCompound)

    - #### readCapabilitiesFromNBT

          public void readCapabilitiesFromNBT(NBTTagCompound par1NBTTagCompound)

    - #### getFlySpeed

          public float getFlySpeed()

    - #### setFlySpeed

          public void setFlySpeed(float par1)

    - #### getWalkSpeed

          public float getWalkSpeed()

    - #### setPlayerWalkSpeed

          public void setPlayerWalkSpeed(float par1)