EnumDifficulty .java
net.minecraft.world.EnumDifficulty (enum, 42 lines): members: PEACEFUL, EASY, NORMAL, HARD, getDifficultyResourceKey, difficultyResourceKey, difficultyId.
File
API Surface (3)
int getDifficultyId()EnumDifficulty getDifficultyEnum(int p_151523_0_)String getDifficultyResourceKey()Fields & Constants (3)
difficultyEnumsdifficultyIddifficultyResourceKeyString literals (4)
"options.difficulty.peaceful""options.difficulty.easy""options.difficulty.normal""options.difficulty.hard"Same Package (29)
Full Source
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
Deobfuscated MCP 1.8.9 source of EnumDifficulty from Marcelektro/MavenMCP-1.8.9 (net/minecraft/world/EnumDifficulty.java), stored verbatim.