Floating Flower variants!

This commit is contained in:
Lizbeth Rika committed 2015-03-24 22:32:22 +00:00
1 parent 6535359231
commit eb724c9a6b
9 files changed
+129 -8

No files matched your search

@@ -31,7 +31,6 @@ import vazkii.botania.common.block.decor.IFloatingFlower;
public class RenderTileFloatingFlower extends TileEntitySpecialRenderer {
private static final ResourceLocation texture = new ResourceLocation(LibResources.MODEL_MINI_ISLAND);
private static final ModelMiniIsland model = new ModelMiniIsland();
@Override
@@ -54,7 +53,7 @@ public class RenderTileFloatingFlower extends TileEntitySpecialRenderer {
GL11.glRotatef(4F * (float) Math.sin(worldTime * 0.04F), 1F, 0F, 0F);
}
Minecraft.getMinecraft().renderEngine.bindTexture(texture);
Minecraft.getMinecraft().renderEngine.bindTexture(flower.getIslandType().getResource());
GL11.glPushMatrix();
GL11.glTranslatef(0.5F, 1.4F, 0.5F);
GL11.glScalef(1F, -1F, -1F);