Update to Minecraft 1.13-pre7

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2018-07-15 10:00:00 +10:00
parent debc7172fd
commit 767e4f6ccf
199 changed files with 8301 additions and 3637 deletions

View File

@@ -1,6 +1,7 @@
package org.bukkit;
import org.bukkit.block.Biome;
import org.bukkit.block.data.BlockData;
/**
* Represents a static, thread-safe snapshot of chunk of blocks.
@@ -42,16 +43,14 @@ public interface ChunkSnapshot {
Material getBlockType(int x, int y, int z);
/**
* Get block type for block at corresponding coordinate in the chunk
* Get block data for block at corresponding coordinate in the chunk
*
* @param x 0-15
* @param y 0-127
* @param z 0-15
* @return 0-255
* @deprecated Magic value
* @return block material type
*/
@Deprecated
int getBlockTypeId(int x, int y, int z);
BlockData getBlockData(int x, int y, int z);
/**
* Get block data for block at corresponding coordinate in the chunk
@@ -63,7 +62,7 @@ public interface ChunkSnapshot {
* @deprecated Magic value
*/
@Deprecated
int getBlockData(int x, int y, int z);
int getData(int x, int y, int z);
/**
* Get sky light level for block at corresponding coordinate in the chunk
@@ -113,17 +112,6 @@ public interface ChunkSnapshot {
*/
double getRawBiomeTemperature(int x, int z);
/**
* Get raw biome rainfall (0.0-1.0) at given coordinate
*
* @param x X-coordinate
* @param z Z-coordinate
* @return rainfall at given coordinate
* @deprecated this is not a chunk property in current Minecraft versions
*/
@Deprecated
double getRawBiomeRainfall(int x, int z);
/**
* Get world full time when chunk snapshot was captured
*