Metal unification (WIP)

This commit is contained in:
paulevsGitch 2021-01-30 11:53:02 +03:00
parent 7b1c9ec0fb
commit e6c7b48802
10 changed files with 105 additions and 184 deletions

View file

@ -5,14 +5,15 @@ import java.util.function.Supplier;
import net.minecraft.item.ToolMaterial;
import net.minecraft.recipe.Ingredient;
import net.minecraft.util.Lazy;
import ru.betterend.registry.EndBlocks;
import ru.betterend.registry.EndItems;
public enum EndToolMaterial implements ToolMaterial {
THALLASIUM(2, 320, 7.0F, 1.5F, 12, () -> {
return Ingredient.ofItems(EndItems.AETERNIUM_INGOT);
return Ingredient.ofItems(EndBlocks.THALLASIUM.ingot);
}),
TERMINITE(3, 1230, 8.5F, 3.0F, 14, () -> {
return Ingredient.ofItems(EndItems.TERMINITE_INGOT);
return Ingredient.ofItems(EndBlocks.TERMINITE.ingot);
}),
AETERNIUM(5, 2196, 10.0F, 4.5F, 18, () -> {
return Ingredient.ofItems(EndItems.AETERNIUM_INGOT);