Added waterlily texture.
This commit is contained in:
parent
7c1bdfd772
commit
45f7788fa9
3 changed files with 11 additions and 0 deletions
|
@ -88,6 +88,10 @@ public class BlockBOPFlower extends BlockFlower
|
|||
|
||||
case 6:
|
||||
this.setBlockBounds(0.3F, 0.0F, 0.3F, 0.7F, 0.6F, 0.7F);
|
||||
break;
|
||||
|
||||
case 10:
|
||||
this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.015625F, 1.0F);
|
||||
break;
|
||||
|
||||
case 11:
|
||||
|
@ -125,6 +129,8 @@ public class BlockBOPFlower extends BlockFlower
|
|||
{
|
||||
if (metadata == 6) //Tulip
|
||||
return id == Block.grass.blockID || id == Block.dirt.blockID || id == Block.tilledField.blockID || id == Blocks.holyGrass.get().blockID;
|
||||
if (metadata == 10) //Lily Flower
|
||||
return id == Block.waterlily.blockID;
|
||||
if (metadata == 11) //Cactus
|
||||
return id == Block.sand.blockID || id == Blocks.redRock.get().blockID;
|
||||
if (metadata == 12) //Yucca
|
||||
|
@ -145,6 +151,9 @@ public class BlockBOPFlower extends BlockFlower
|
|||
{
|
||||
case 6: // Tulip
|
||||
return id == Block.grass.blockID || id == Block.dirt.blockID || id == Block.tilledField.blockID || id == Blocks.holyGrass.get().blockID;
|
||||
|
||||
case 10: // Lily Flower
|
||||
return id == Block.waterlily.blockID;
|
||||
|
||||
case 11: // Cactus
|
||||
return id == Blocks.redRock.get().blockID || id == Block.sand.blockID;
|
||||
|
|
|
@ -298,8 +298,10 @@ public class BOPBlocks {
|
|||
LanguageRegistry.addName(new ItemStack(Blocks.logs3.get(),1,3), "Giant Flower Stem");
|
||||
LanguageRegistry.addName(new ItemStack(Blocks.petals.get(),1,0), "Giant Red Flower");
|
||||
LanguageRegistry.addName(new ItemStack(Blocks.petals.get(),1,1), "Giant Yellow Flower");
|
||||
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,10), "Waterlily");
|
||||
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,11), "Tiny Cactus");
|
||||
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,12), "Aloe");
|
||||
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,13), "Sunflower");
|
||||
LanguageRegistry.addName(new ItemStack(Blocks.flowers.get(),1,15), "Dandelion");
|
||||
|
||||
LanguageRegistry.addName(new ItemStack(Blocks.mushrooms.get(),1,0), "Toadstool");
|
||||
|
|
BIN
src/minecraft/mods/BiomesOPlenty/textures/blocks/lilyflower.png
Normal file
BIN
src/minecraft/mods/BiomesOPlenty/textures/blocks/lilyflower.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 250 B |
Loading…
Reference in a new issue