Removed color provider
This commit is contained in:
parent
2c8862a37b
commit
4040597a6d
475 changed files with 5411 additions and 7521 deletions
|
@ -11,24 +11,21 @@ import java.util.function.Supplier;
|
|||
public enum EndToolMaterial implements Tier {
|
||||
THALLASIUM(2, 320, 7.0F, 1.5F, 12, () -> {
|
||||
return Ingredient.of(EndBlocks.THALLASIUM.ingot);
|
||||
}),
|
||||
TERMINITE(3, 1230, 8.5F, 3.0F, 14, () -> {
|
||||
}), TERMINITE(3, 1230, 8.5F, 3.0F, 14, () -> {
|
||||
return Ingredient.of(EndBlocks.TERMINITE.ingot);
|
||||
}),
|
||||
AETERNIUM(5, 2196, 10.0F, 4.5F, 18, () -> {
|
||||
}), AETERNIUM(5, 2196, 10.0F, 4.5F, 18, () -> {
|
||||
return Ingredient.of(EndItems.AETERNIUM_INGOT);
|
||||
});
|
||||
|
||||
|
||||
private final int durability;
|
||||
private final float miningSpeed;
|
||||
private final float attackDamage;
|
||||
private final int miningLevel;
|
||||
private final int enchantability;
|
||||
private final LazyLoadedValue<Ingredient> repairIngredient;
|
||||
|
||||
private EndToolMaterial(int miningLevel, int durability, float miningSpeed, float attackDamage, int enchantability,
|
||||
Supplier<Ingredient> repairIngredient) {
|
||||
|
||||
|
||||
private EndToolMaterial(int miningLevel, int durability, float miningSpeed, float attackDamage, int enchantability, Supplier<Ingredient> repairIngredient) {
|
||||
|
||||
this.durability = durability;
|
||||
this.miningSpeed = miningSpeed;
|
||||
this.attackDamage = attackDamage;
|
||||
|
@ -36,35 +33,35 @@ public enum EndToolMaterial implements Tier {
|
|||
this.enchantability = enchantability;
|
||||
this.repairIngredient = new LazyLoadedValue<>(repairIngredient);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public int getUses() {
|
||||
return this.durability;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public float getSpeed() {
|
||||
return this.miningSpeed;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public float getAttackDamageBonus() {
|
||||
return this.attackDamage;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public int getLevel() {
|
||||
return this.miningLevel;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public int getEnchantmentValue() {
|
||||
return this.enchantability;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Ingredient getRepairIngredient() {
|
||||
return this.repairIngredient.get();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue