-
Notifications
You must be signed in to change notification settings - Fork 755
/
MaterialStatsFixture.java
39 lines (30 loc) · 1.94 KB
/
MaterialStatsFixture.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
36
37
38
39
package slimeknights.tconstruct.fixture;
import com.google.common.collect.ImmutableList;
import net.minecraft.world.item.Tiers;
import slimeknights.tconstruct.library.materials.stats.ComplexTestStats;
import slimeknights.tconstruct.library.materials.stats.IMaterialStats;
import slimeknights.tconstruct.library.materials.stats.MaterialStatType;
import slimeknights.tconstruct.library.materials.stats.MaterialStatsId;
import slimeknights.tconstruct.tools.stats.BindingMaterialStats;
import slimeknights.tconstruct.tools.stats.HandleMaterialStats;
import slimeknights.tconstruct.tools.stats.HeadMaterialStats;
import java.util.List;
public final class MaterialStatsFixture {
public static final MaterialStatsId STATS_TYPE = new MaterialStatsId("test", "mat_stat_1");
public static final MaterialStatsId STATS_TYPE_2 = new MaterialStatsId("test", "mat_stat_2");
public static final MaterialStatsId STATS_TYPE_3 = new MaterialStatsId("test", "mat_stat_3");
public static final MaterialStatsId STATS_TYPE_4 = new MaterialStatsId("test", "mat_stat_4");
public static final MaterialStatType<ComplexTestStats> COMPLEX_TYPE = ComplexTestStats.makeType(STATS_TYPE);
public static final ComplexTestStats MATERIAL_STATS = new ComplexTestStats(COMPLEX_TYPE, 1, 2, "3");
public static final ComplexTestStats MATERIAL_STATS_2 = new ComplexTestStats(ComplexTestStats.makeType(STATS_TYPE_2), 4, 5, "6");
public static final HeadMaterialStats MATERIAL_STATS_HEAD = new HeadMaterialStats(100, 1f, Tiers.GOLD, 1f);
public static final HandleMaterialStats MATERIAL_STATS_HANDLE = new HandleMaterialStats(1.5f, 1.0f, 1.0f, 1.0f);
public static final BindingMaterialStats MATERIAL_STATS_EXTRA = BindingMaterialStats.DEFAULT;
public static final List<IMaterialStats> TIC_DEFAULT_STATS = ImmutableList.of(
HeadMaterialStats.TYPE.getDefaultStats(),
HandleMaterialStats.TYPE.getDefaultStats(),
BindingMaterialStats.DEFAULT
);
private MaterialStatsFixture() {
}
}