mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-07 23:52:11 -07:00
SPIGOT-7069: Material.BARREL has Directional data class, should also be Openable
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -25,6 +25,7 @@ import org.bukkit.block.data.Snowable;
|
||||
import org.bukkit.block.data.Waterlogged;
|
||||
import org.bukkit.block.data.type.AmethystCluster;
|
||||
import org.bukkit.block.data.type.Bamboo;
|
||||
import org.bukkit.block.data.type.Barrel;
|
||||
import org.bukkit.block.data.type.Bed;
|
||||
import org.bukkit.block.data.type.Beehive;
|
||||
import org.bukkit.block.data.type.Bell;
|
||||
@@ -2543,9 +2544,9 @@ public enum Material implements Keyed {
|
||||
*/
|
||||
COMPOSTER(31247, Levelled.class),
|
||||
/**
|
||||
* BlockData: {@link Directional}
|
||||
* BlockData: {@link Barrel}
|
||||
*/
|
||||
BARREL(22396, Directional.class),
|
||||
BARREL(22396, Barrel.class),
|
||||
/**
|
||||
* BlockData: {@link Furnace}
|
||||
*/
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package org.bukkit.block.data;
|
||||
|
||||
/**
|
||||
* 'open' denotes whether this door-like block is currently opened.
|
||||
* 'open' denotes whether this block is currently opened.
|
||||
*/
|
||||
public interface Openable extends BlockData {
|
||||
|
||||
|
@@ -0,0 +1,7 @@
|
||||
package org.bukkit.block.data.type;
|
||||
|
||||
import org.bukkit.block.data.Directional;
|
||||
import org.bukkit.block.data.Openable;
|
||||
|
||||
public interface Barrel extends Directional, Openable {
|
||||
}
|
Reference in New Issue
Block a user