Code style changes, entities fixes
This commit is contained in:
parent
9d604b2d25
commit
44962e18b6
377 changed files with 5038 additions and 4914 deletions
|
@ -1,13 +1,13 @@
|
|||
package ru.betterend.item.material;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
||||
import net.minecraft.util.LazyLoadedValue;
|
||||
import net.minecraft.world.item.Tier;
|
||||
import net.minecraft.world.item.crafting.Ingredient;
|
||||
import ru.betterend.registry.EndBlocks;
|
||||
import ru.betterend.registry.EndItems;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
||||
public enum EndToolMaterial implements Tier {
|
||||
THALLASIUM(2, 320, 7.0F, 1.5F, 12, () -> {
|
||||
return Ingredient.of(EndBlocks.THALLASIUM.ingot);
|
||||
|
@ -25,9 +25,9 @@ public enum EndToolMaterial implements Tier {
|
|||
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) {
|
||||
Supplier<Ingredient> repairIngredient) {
|
||||
|
||||
this.durability = durability;
|
||||
this.miningSpeed = miningSpeed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue