-
Notifications
You must be signed in to change notification settings - Fork 755
/
BowstringMaterialStats.java
35 lines (27 loc) · 1.12 KB
/
BowstringMaterialStats.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package slimeknights.tconstruct.tools.stats;
import net.minecraft.network.chat.Component;
import slimeknights.tconstruct.TConstruct;
import slimeknights.tconstruct.library.materials.stats.IMaterialStats;
import slimeknights.tconstruct.library.materials.stats.MaterialStatType;
import slimeknights.tconstruct.library.materials.stats.MaterialStatsId;
import java.util.List;
public enum BowstringMaterialStats implements IMaterialStats {
DEFAULT;
public static final MaterialStatsId ID = new MaterialStatsId(TConstruct.getResource("bowstring"));
public static final MaterialStatType<BowstringMaterialStats> TYPE = MaterialStatType.singleton(ID, DEFAULT);
private static final List<Component> LOCALIZED = List.of(IMaterialStats.makeTooltip(TConstruct.getResource("extra.no_stats")));
private static final List<Component> DESCRIPTION = List.of(Component.empty());
// no stats
@Override
public MaterialStatType<?> getType() {
return TYPE;
}
@Override
public List<Component> getLocalizedInfo() {
return LOCALIZED;
}
@Override
public List<Component> getLocalizedDescriptions() {
return DESCRIPTION;
}
}