rename this to be more generically applicable

This commit is contained in:
Ellpeck 2018-11-12 01:35:02 +01:00
parent 081e48b208
commit a9a7191ebf
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ public class BasicAuraType implements IAuraType {
} }
@Override @Override
public int getBottledColor() { public int getColor() {
return this.color; return this.color;
} }
} }

View file

@ -17,5 +17,5 @@ public interface IAuraType {
boolean isPresentInWorld(World world); boolean isPresentInWorld(World world);
int getBottledColor(); int getColor();
} }

View file

@ -93,6 +93,6 @@ public class ItemAuraBottle extends ItemImpl implements IColorProvidingItem {
@Override @Override
@SideOnly(Side.CLIENT) @SideOnly(Side.CLIENT)
public IItemColor getItemColor() { public IItemColor getItemColor() {
return (stack, tintIndex) -> tintIndex > 0 ? getType(stack).getBottledColor() : 0xFFFFFF; return (stack, tintIndex) -> tintIndex > 0 ? getType(stack).getColor() : 0xFFFFFF;
} }
} }