@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; }
@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; }
@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; }
@Override public boolean setWindowProperty(Property prop, int value) { // TODO Auto-generated method stub throw new UnimplementedOperationException(); }
@Override public boolean setWindowProperty(Property prop, int value) { return false; }
@Override public boolean setWindowProperty(Property prop, int value) { throw Pokkit.unsupported(); }
@Override public boolean setWindowProperty(Property prop, int value) { throw new UnsupportedOperationException(); }
public final boolean setProperty(InventoryView.Property prop, int value) { return false; }
@Override public boolean setWindowProperty(Property arg0, int arg1) { return false; }
@Override public boolean setWindowProperty(Property arg0, int arg1) { // TODO Auto-generated method stub return false; }
@Override public boolean setWindowProperty(Property prop, int value) { // TODO Auto-generated method stub return false; }
boolean setWindowProperty(InventoryView.Property prop, int value);