mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 19:59:36 +00:00
Upload some files so I can use modelcreator in windows >.>
This commit is contained in:
1 parent
794e1352e8
commit
781f586d19
5 files changed
+61
-13
No files matched your search
@@ -0,0 +1,12 @@
|
||||
altar
|
||||
up-down
|
||||
west-south-east-north
|
||||
|
||||
base textures pillar tex
|
||||
|
||||
|
||||
|
||||
northsouth face cup (1 always faces south)
|
||||
eastwest face cup (blue always faces east)
|
||||
cupbase 2
|
||||
cubbase
|
||||
@@ -17,6 +17,7 @@ import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.renderer.GlStateManager;
|
||||
import net.minecraft.client.renderer.ItemRenderer;
|
||||
import net.minecraft.client.renderer.Tessellator;
|
||||
import net.minecraft.client.renderer.block.model.ItemCameraTransforms;
|
||||
import net.minecraft.client.renderer.entity.RenderItem;
|
||||
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
|
||||
import net.minecraft.client.renderer.texture.TextureMap;
|
||||
@@ -122,19 +123,7 @@ public class RenderTileAltar extends TileEntitySpecialRenderer {
|
||||
|
||||
ItemStack stack = altar.getStackInSlot(i);
|
||||
Minecraft.getMinecraft().renderEngine.bindTexture(TextureMap.locationBlocksTexture);
|
||||
// Minecraft.getMinecraft().getRenderItem().renderItemModel(stack); // todo 1.8
|
||||
// IIcon icon = stack.getItem().getIcon(stack, 0);
|
||||
// if(icon != null) {
|
||||
// Color color = new Color(stack.getItem().getColorFromItemStack(stack, 0));
|
||||
// GlStateManager.color((byte) color.getRed(), (byte) color.getGreen(), (byte) color.getBlue());
|
||||
// float f = icon.getMinU();
|
||||
// float f1 = icon.getMaxU();
|
||||
// float f2 = icon.getMinV();
|
||||
// float f3 = icon.getMaxV();
|
||||
// ItemRenderer.renderItemIn2D(Tessellator.getInstance(), f1, f2, f, f3, icon.getIconWidth(), icon.getIconHeight(), 1F / 16F);
|
||||
// GlStateManager.color(1F, 1F, 1F);
|
||||
// }
|
||||
|
||||
Minecraft.getMinecraft().getRenderItem().func_181564_a(stack, ItemCameraTransforms.TransformType.GROUND);
|
||||
GlStateManager.popMatrix();
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"textures": {
|
||||
"particle": "#all"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Base 1",
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 1, 0 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#all", "uv": [ 16, 0, 31, 15 ], "cullface": "down" },
|
||||
"up": { "texture": "#all", "uv": [ 32, 0, 47, 15 ] },
|
||||
"north": { "texture": "#all", "uv": [ 3, 3, 13, 13 ] },
|
||||
"south": { "texture": "#all", "uv": [ 3, 3, 13, 13 ] },
|
||||
"west": { "texture": "#all", "uv": [ 3, 3, 13, 13 ] },
|
||||
"east": { "texture": "#all", "uv": [ 3, 3, 13, 13 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Base 2"
|
||||
},
|
||||
{
|
||||
"name": "Base 3"
|
||||
},
|
||||
{
|
||||
"name": "Column"
|
||||
},
|
||||
{
|
||||
"name": "Cup Base 1"
|
||||
},
|
||||
{
|
||||
"name": "Cup Base 2"
|
||||
},
|
||||
{
|
||||
"name": "Cup North"
|
||||
},
|
||||
{
|
||||
"name": "Cup South"
|
||||
},
|
||||
{
|
||||
"name": "Cup West"
|
||||
},
|
||||
{
|
||||
"name": "Cup East"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 4.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
Reference in new issue
Block a user