mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 19:58:34 +01:00
rename this to be more generically applicable
This commit is contained in:
parent
081e48b208
commit
a9a7191ebf
3 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ public class BasicAuraType implements IAuraType {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getBottledColor() {
|
public int getColor() {
|
||||||
return this.color;
|
return this.color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,5 +17,5 @@ public interface IAuraType {
|
||||||
|
|
||||||
boolean isPresentInWorld(World world);
|
boolean isPresentInWorld(World world);
|
||||||
|
|
||||||
int getBottledColor();
|
int getColor();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue