@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
/**
|
||||
|
||||
@@ -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 {
|
||||
}
|
||||
Reference in New Issue
Block a user