接口的使用
org.bukkit.block.data.type.Barrel

没有org.bukkit.block.data.type.Barrel的用法