Skip to content

Latest commit

 

History

History
137 lines (137 loc) · 6.82 KB

cn.nukkit.level.GameRule.md

File metadata and controls

137 lines (137 loc) · 6.82 KB
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      COMMAND_BLOCK_OUTPUT 
      DO_DAYLIGHT_CYCLE 
      DO_ENTITY_DROPS 
      DO_FIRE_TICK 
      DO_IMMEDIATE_RESPAWN 
      DO_MOB_LOOT 
      DO_MOB_SPAWNING 
      DO_TILE_DROPS 
      DO_WEATHER_CYCLE 
      DROWNING_DAMAGE 
      FALL_DAMAGE 
      FIRE_DAMAGE 
      KEEP_INVENTORY 
      MOB_GRIEFING 
      NATURAL_REGENERATION 
      PVP 
      RANDOM_TICK_SPEED 
      SEND_COMMAND_FEEDBACK 
      SHOW_COORDINATES 
      SHOW_DEATH_MESSAGE 
      TNT_EXPLODES 
    • 成员函数一览

      All Methods Static Methods Instance Methods Concrete Methods 
      修饰符和类 成员函数描述
      String getName() 
      static String[] getNames() 
      static Optional<GameRule> parseString(String gameRuleString) 
      static GameRule valueOf(String name)
      Returns the enum constant of this type with the specified name.
      static GameRule[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • 继承自类 java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • 继承自类 java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait