Krenair

Untitled

Mar 30th, 2012
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.52 KB | None | 0 0
  1. package net.minecraft.src;
  2.  
  3. public class PlayerCapabilities
  4. {
  5.     /** Disables player damage. */
  6.     public boolean disableDamage = false;
  7.  
  8.     /** Sets/indicates whether the player is flying. */
  9.     public boolean isFlying = false;
  10.  
  11.     /** whether or not to allow the player to fly when they double jump. */
  12.     public boolean allowFlying = false;
  13.  
  14.     /**
  15.      * Used to determine if creative mode is enabled, and therefore if items should be depleted on usage
  16.      */
  17.     public boolean isCreativeMode = false;
Advertisement
Add Comment
Please, Sign In to add comment