Commits
md_5 authored 1b5583319cc
24 24 | */ |
25 25 | int getZ(); |
26 26 | |
27 27 | /** |
28 28 | * Gets name of the world containing this chunk |
29 29 | * |
30 30 | * @return Parent World Name |
31 31 | */ |
32 32 | String getWorldName(); |
33 33 | |
34 + | /** |
35 + | * Get block type for block at corresponding coordinate in the chunk |
36 + | * |
37 + | * @param x 0-15 |
38 + | * @param y 0-127 |
39 + | * @param z 0-15 |
40 + | * @return block material type |
41 + | */ |
42 + | Material getBlockType(int x, int y, int z); |
43 + | |
34 44 | /** |
35 45 | * Get block type for block at corresponding coordinate in the chunk |
36 46 | * |
37 47 | * @param x 0-15 |
38 48 | * @param y 0-127 |
39 49 | * @param z 0-15 |
40 50 | * @return 0-255 |
41 51 | * @deprecated Magic value |
42 52 | */ |
43 53 | |