Update to Minecraft 1.13

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2018-07-22 12:00:00 +10:00
parent 8573509379
commit ce29041b3a
10 changed files with 139 additions and 57 deletions

View File

@@ -34,7 +34,7 @@ public class Pattern implements ConfigurationSerializable {
* @param map the map to deserialize from
*/
public Pattern(Map<String, Object> map) {
color = DyeColor.valueOf(getString(map, COLOR));
color = DyeColor.legacyValueOf(getString(map, COLOR));
pattern = PatternType.getByIdentifier(getString(map, PATTERN));
}

View File

@@ -25,6 +25,9 @@ public interface Chest extends Directional, Waterlogged {
/**
* Type of this chest block.
* <br>
* NB: Left and right are relative to the chest itself, i.e opposite to what
* a player placing the appropriate block would see.
*/
public enum Type {
/**

View File

@@ -0,0 +1,7 @@
package org.bukkit.block.data.type;
import org.bukkit.block.data.Directional;
import org.bukkit.block.data.Waterlogged;
public interface CoralWallFan extends Directional, Waterlogged {
}