3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-27 00:22:51 +01:00

Fix javadocs :P

Dieser Commit ist enthalten in:
Myles 2018-07-18 18:25:43 +01:00
Ursprung d39c59663a
Commit 8f7c090a23

Datei anzeigen

@ -6,7 +6,8 @@ import java.util.List;
public interface ChunkSection { public interface ChunkSection {
/** /**
* Gets a block state id (< 1.13: block_id << 4 | data & 0xF) * Gets a block state id (&lt; 1.13: block_id &lt;&lt; 4 | data &amp; 0xF)
*
* @param x Block X * @param x Block X
* @param y Block Y * @param y Block Y
* @param z Block Z * @param z Block Z
@ -38,6 +39,7 @@ public interface ChunkSection {
/** /**
* Gets a block id (without data) * Gets a block id (without data)
* /!\ YOU SHOULD NOT USE THIS ON 1.13 * /!\ YOU SHOULD NOT USE THIS ON 1.13
*
* @param x Block X * @param x Block X
* @param y Block Y * @param y Block Y
* @param z Block Z * @param z Block Z
@ -46,7 +48,7 @@ public interface ChunkSection {
int getBlockId(int x, int y, int z); int getBlockId(int x, int y, int z);
/** /**
* Write the blocks in < 1.13 format to a buffer. * Write the blocks in &lt; 1.13 format to a buffer.
* *
* @param output The buffer to write to. * @param output The buffer to write to.
* @throws Exception Throws if it failed to write. * @throws Exception Throws if it failed to write.