本文整理汇总了Java中org.bukkit.inventory.InventoryView.Property类的典型用法代码示例。如果您正苦于以下问题:Java Property类的具体用法?Java Property怎么用?Java Property使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Property类属于org.bukkit.inventory.InventoryView包,在下文中一共展示了Property类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setWindowProperty
import org.bukkit.inventory.InventoryView.Property; //导入依赖的package包/类
@Override
public boolean setWindowProperty(Property prop, int value) {
net.minecraft.inventory.Container container = getHandle().openContainer;
if (container.getBukkitView().getType() != prop.getType()) {
return false;
}
getHandle().sendProgressBarUpdate(container, prop.getId(), value);
return true;
}
示例2: setWindowProperty
import org.bukkit.inventory.InventoryView.Property; //导入依赖的package包/类
@Override
public boolean setWindowProperty(Property prop, int value) {
Container container = getHandle().activeContainer;
if (container.getBukkitView().getType() != prop.getType()) {
return false;
}
getHandle().setContainerData(container, prop.getId(), value);
return true;
}
示例3: setWindowProperty
import org.bukkit.inventory.InventoryView.Property; //导入依赖的package包/类
@Override
public boolean setWindowProperty(Property prop, int value) {
net.minecraft.inventory.Container container = getHandle().field_71070_bA;
if (container.getBukkitView().getType() != prop.getType()) {
return false;
}
getHandle().func_71112_a(container, prop.getId(), value);
return true;
}
示例4: setWindowProperty
import org.bukkit.inventory.InventoryView.Property; //导入依赖的package包/类
@Override
public boolean setWindowProperty(Property prop, int value)
{
// TODO Auto-generated method stub
throw new UnimplementedOperationException();
}
示例5: setWindowProperty
import org.bukkit.inventory.InventoryView.Property; //导入依赖的package包/类
@Override
public boolean setWindowProperty(Property prop, int value) {
return false;
}
示例6: setWindowProperty
import org.bukkit.inventory.InventoryView.Property; //导入依赖的package包/类
@Override
public boolean setWindowProperty(Property prop, int value) {
throw Pokkit.unsupported();
}
示例7: setWindowProperty
import org.bukkit.inventory.InventoryView.Property; //导入依赖的package包/类
@Override
public boolean setWindowProperty(Property prop, int value) {
throw new UnsupportedOperationException();
}
示例8: setProperty
import org.bukkit.inventory.InventoryView.Property; //导入依赖的package包/类
public final boolean setProperty(InventoryView.Property prop, int value) {
return false;
}
示例9: setWindowProperty
import org.bukkit.inventory.InventoryView.Property; //导入依赖的package包/类
@Override
public boolean setWindowProperty(Property arg0, int arg1) {
return false;
}
示例10: setWindowProperty
import org.bukkit.inventory.InventoryView.Property; //导入依赖的package包/类
@Override
public boolean setWindowProperty(Property arg0, int arg1) {
// TODO Auto-generated method stub
return false;
}
示例11: setWindowProperty
import org.bukkit.inventory.InventoryView.Property; //导入依赖的package包/类
@Override
public boolean setWindowProperty(Property prop, int value) {
// TODO Auto-generated method stub
return false;
}
示例12: setWindowProperty
import org.bukkit.inventory.InventoryView.Property; //导入依赖的package包/类
boolean setWindowProperty(InventoryView.Property prop, int value);