Finished ItemWorldThread.
This commit is contained in:
parent
96abeb5f33
commit
c319f79aa8
3 changed files with 19 additions and 7 deletions
|
@ -1,7 +1,6 @@
|
|||
package com.zixiken.dimdoors.items;
|
||||
|
||||
import com.zixiken.dimdoors.DimDoors;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
public class ItemWorldThread extends Item {
|
||||
|
@ -12,10 +11,4 @@ public class ItemWorldThread extends Item {
|
|||
setCreativeTab(DimDoors.dimDoorsCreativeTab);
|
||||
setUnlocalizedName(ID);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerIcons(IIconRegister par1IconRegister)
|
||||
{
|
||||
this.itemIcon = par1IconRegister.registerIcon(DimDoors.modid + ":" + this.getUnlocalizedName().replace("item.", ""));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,6 +36,7 @@ public class ItemRenderManager {
|
|||
register(DimDoors.itemStableFabric);
|
||||
register(DimDoors.itemUnstableDoor);
|
||||
register(DimDoors.itemWarpDoor);
|
||||
register(DimDoors.itemWorldThread);
|
||||
}
|
||||
|
||||
public static void addModelVariants() {
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"parent": "builtin/generated",
|
||||
"textures": {
|
||||
"layer0": "dimdoors:items/itemWorldThread"
|
||||
},
|
||||
"display": {
|
||||
"thirdperson": {
|
||||
"rotation": [ -90, 0, 0 ],
|
||||
"translation": [ 0, 1, -3 ],
|
||||
"scale": [ 0.55, 0.55, 0.55 ]
|
||||
},
|
||||
"firstperson": {
|
||||
"rotation": [ 0, -135, 25 ],
|
||||
"translation": [ 0, 4, 2 ],
|
||||
"scale": [ 1.7, 1.7, 1.7 ]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue