Finished ItemGoldDimDoor.
This commit is contained in:
parent
a046508e45
commit
cce72994c2
4 changed files with 23 additions and 10 deletions
|
@ -89,7 +89,7 @@ public class DimDoors {
|
|||
public static Block transientDoor;
|
||||
public static Block warpDoor;
|
||||
public static Block goldenDoor;
|
||||
public static Block goldenDimensionalDoor;
|
||||
public static BlockGoldDimDoor goldenDimensionalDoor;
|
||||
public static Block unstableDoor;
|
||||
public static Block blockLimbo;
|
||||
public static DimensionalDoor dimensionalDoor;
|
||||
|
|
|
@ -16,17 +16,11 @@ public class ItemGoldDimDoor extends BaseItemDoor {
|
|||
super(DimDoors.goldenDimensionalDoor, DimDoors.itemGoldenDoor);
|
||||
setUnlocalizedName(ID);
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
@Override
|
||||
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
|
||||
{
|
||||
DimDoors.translateAndAdd("info.goldDimDoor", par3List);
|
||||
public void addInformation(ItemStack stack, EntityPlayer playerIn, List<String> tooltip, boolean advanced) {
|
||||
DimDoors.translateAndAdd("info.goldDimDoor", tooltip);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected BaseDimDoor getDoorBlock()
|
||||
{
|
||||
return (BaseDimDoor) DimDoors.goldenDimensionalDoor;
|
||||
}
|
||||
protected BaseDimDoor getDoorBlock() {return DimDoors.goldenDimensionalDoor;}
|
||||
}
|
||||
|
|
|
@ -25,6 +25,7 @@ public class ItemRenderManager {
|
|||
//Item registration
|
||||
register(DimDoors.itemDDKey);
|
||||
register(DimDoors.itemDimensionalDoor);
|
||||
register(DimDoors.itemGoldenDimensionalDoor);
|
||||
}
|
||||
|
||||
public static void addModelVariants() {
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"parent": "builtin/generated",
|
||||
"textures": {
|
||||
"layer0": "dimdoors:items/itemGoldDimDoor"
|
||||
},
|
||||
"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