@Override protected void rescanValue() { super.rescanValue(); value += indicator0_1.getCurrentValue() * 0.1; value += indicator0_01.getCurrentValue() * 0.01; }
@Override protected void totalRedraw() { super.totalRedraw(); indicator0_1.redrawInventory(); indicator0_01.redrawInventory(); }
@Override protected boolean checkAnyReaction(ItemStack item) { if (super.checkAnyReaction(item)) return true; if (indicator0_1.react(item)) return true; if (indicator0_01.react(item)) return true; return false; }
@Override protected void setValue(double value) { super.setValue(value); int value_0_1 = getDigit(value, 0); int value_0_01 = getDigit(value, -1); indicator0_1.setCurrentValue(value_0_1); indicator0_01.setCurrentValue(value_0_01); }