Change models loading (WIP)
This commit is contained in:
parent
f2e2132bb0
commit
f5c91c3aad
4 changed files with 11 additions and 11 deletions
|
@ -8,12 +8,12 @@ import net.minecraft.world.entity.ai.attributes.AttributeModifier;
|
|||
import net.minecraft.world.entity.ai.attributes.Attributes;
|
||||
import net.minecraft.world.item.ArmorItem;
|
||||
import net.minecraft.world.item.ArmorMaterial;
|
||||
import ru.betterend.patterns.Patterned;
|
||||
import ru.betterend.patterns.ModelProvider;
|
||||
import ru.betterend.patterns.Patterns;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
public class EndArmorItem extends ArmorItem implements Patterned {
|
||||
public class EndArmorItem extends ArmorItem implements ModelProvider {
|
||||
|
||||
protected static final UUID[] ARMOR_MODIFIER_UUID_PER_SLOT = new UUID[] {
|
||||
UUID.fromString("845DB27C-C624-495F-8C9F-6020A9A58B6B"),
|
||||
|
@ -48,7 +48,7 @@ public class EndArmorItem extends ArmorItem implements Patterned {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String getModelPattern(String name) {
|
||||
public String getModelString(String name) {
|
||||
return Patterns.createItemGenerated(name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue