mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 11:24:11 +01:00
SPIGOT-4075: Add documentation to Levelled regarding fluids
By: md_5 <git@md-5.net>
This commit is contained in:
parent
54b52798e6
commit
3323421ffe
1 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,12 @@ package org.bukkit.block.data;
|
|||
* 'level' represents the amount of fluid contained within this block, either by
|
||||
* itself or inside a cauldron.
|
||||
* <br>
|
||||
* In the case of water and lava blocks the levels have special meanings: a
|
||||
* level of 0 corresponds to a source block, 1-7 regular fluid heights, and 8-15
|
||||
* to "falling" fluids. All falling fluids have the same behaviour, but the
|
||||
* level corresponds to that of the block above them, equal to
|
||||
* <code>this.level - 8</code>
|
||||
* <br>
|
||||
* May not be higher than {@link #getMaximumLevel()}.
|
||||
*/
|
||||
public interface Levelled extends BlockData {
|
||||
|
|
Loading…
Reference in a new issue