Improve model handling
This commit is contained in:
parent
a0cd54969b
commit
2a1911ea07
75 changed files with 283 additions and 547 deletions
|
@ -6,6 +6,7 @@ import WayofTime.bloodmagic.api.util.helper.PlayerHelper;
|
|||
import WayofTime.bloodmagic.client.IVariantProvider;
|
||||
import WayofTime.bloodmagic.util.helper.TextHelper;
|
||||
import com.google.common.base.Strings;
|
||||
import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
|
||||
import net.minecraft.client.util.ITooltipFlag;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
@ -51,10 +52,8 @@ public class ItemSigilBase extends ItemSigil implements IVariantProvider {
|
|||
}
|
||||
|
||||
@Override
|
||||
public List<Pair<Integer, String>> getVariants() {
|
||||
List<Pair<Integer, String>> ret = new ArrayList<Pair<Integer, String>>();
|
||||
ret.add(Pair.of(0, "type=normal"));
|
||||
return ret;
|
||||
public void populateVariants(Int2ObjectMap<String> variants) {
|
||||
variants.put(0, "type=normal");
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue