mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-28 15:39:09 +02:00
27 lines
496 B
Java
27 lines
496 B
Java
package de.ellpeck.actuallyadditions.mod.util;
|
|
|
|
import net.minecraft.util.text.TextFormatting;
|
|
import net.minecraftforge.common.IRarity;
|
|
|
|
public class Rarity implements IRarity {
|
|
|
|
TextFormatting color;
|
|
String name;
|
|
|
|
public Rarity(TextFormatting color, String name) {
|
|
this.color = color;
|
|
this.name = name;
|
|
}
|
|
|
|
@Override
|
|
public TextFormatting getColor() {
|
|
return color;
|
|
}
|
|
|
|
@Override
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
}
|