Add Pinecone
This commit is contained in:
parent
4dfed60ba0
commit
7f0d77d644
5 changed files with 29 additions and 2 deletions
|
@ -31,7 +31,7 @@ public class BlockBOPFruit extends BlockBOPDecoration
|
|||
// add properties
|
||||
public static enum FruitType implements IStringSerializable
|
||||
{
|
||||
APPLE, PERSIMMON, PEACH, PEAR;
|
||||
APPLE, PERSIMMON, PEACH, PEAR, PINECONE;
|
||||
@Override
|
||||
public String getName()
|
||||
{
|
||||
|
@ -100,6 +100,8 @@ public class BlockBOPFruit extends BlockBOPDecoration
|
|||
return BOPItems.peach;
|
||||
case PEAR:
|
||||
return BOPItems.pear;
|
||||
case PINECONE:
|
||||
return BOPItems.pinecone;
|
||||
case APPLE: default:
|
||||
return Items.apple;
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"variant=apple": { "model": "biomesoplenty:apple_block" },
|
||||
"variant=persimmon": { "model": "biomesoplenty:persimmon_block" },
|
||||
"variant=peach": { "model": "biomesoplenty:peach_block" },
|
||||
"variant=pear": { "model": "biomesoplenty:pear_block" }
|
||||
"variant=pear": { "model": "biomesoplenty:pear_block" },
|
||||
"variant=pinecone": { "model" : "biomesoplenty:pinecone_block" }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/cross",
|
||||
"textures": {
|
||||
"cross": "biomesoplenty:blocks/pinecone_block"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"parent": "builtin/generated",
|
||||
"textures": {
|
||||
"layer0": "biomesoplenty:blocks/pinecone_block"
|
||||
},
|
||||
"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 ]
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 679 B |
Loading…
Reference in a new issue