| net.minecraft.world.GameRules.GameRules | ( | ) |  |  | 
      
 
 
      
        
          | void net.minecraft.world.GameRules.addGameRule | ( | String | par1Str, | 
        
          |  |  | String | par2Str | 
        
          |  | ) |  |  | 
      
 
Define a game rule and its default value. 
 
 
      
        
          | boolean net.minecraft.world.GameRules.getGameRuleBooleanValue | ( | String | par1Str) |  |  | 
      
 
Gets the boolean Game Rule value. 
 
 
      
        
          | String net.minecraft.world.GameRules.getGameRuleStringValue | ( | String | par1Str) |  |  | 
      
 
Gets the string Game Rule value. 
 
 
      
        
          | String [] net.minecraft.world.GameRules.getRules | ( | ) |  |  | 
      
 
Return the defined game rules. 
 
 
      
        
          | boolean net.minecraft.world.GameRules.hasRule | ( | String | par1Str) |  |  | 
      
 
Return whether the specified game rule is defined. 
 
 
      
        
          | void net.minecraft.world.GameRules.readGameRulesFromNBT | ( | NBTTagCompound | par1NBTTagCompound) |  |  | 
      
 
Set defined game rules from NBT. 
 
 
      
        
          | void net.minecraft.world.GameRules.setOrCreateGameRule | ( | String | par1Str, | 
        
          |  |  | String | par2Str | 
        
          |  | ) |  |  | 
      
 
 
Return the defined game rules as NBT. 
 
 
The documentation for this class was generated from the following file:
- C:/Users/LazDude/Downloads/MinecraftModding/YATS/forge/mcp/src/minecraft/net/minecraft/world/GameRules.java