Barrel Completion
No files matched your search
@@ -30,11 +30,11 @@ public class BlockBarrelRenderer extends BlockRendererInterface{
|
||||
private static final ResourceLocation trimTexture = new ResourceLocation("customnpcs","textures/models/barrel/trim.png");
|
||||
|
||||
private static final ResourceLocation oak_lid = new ResourceLocation("customnpcs","textures/models/barrel/oak_lid.png");
|
||||
private static final ResourceLocation spruce_lid = new ResourceLocation("customnpcs","textures/models/barrel/oak_lid.png");
|
||||
private static final ResourceLocation birch_lid = new ResourceLocation("customnpcs","textures/models/barrel/oak_lid.png");
|
||||
private static final ResourceLocation jungle_lid = new ResourceLocation("customnpcs","textures/models/barrel/oak_lid.png");
|
||||
private static final ResourceLocation acacia_lid = new ResourceLocation("customnpcs","textures/models/barrel/oak_lid.png");
|
||||
private static final ResourceLocation dark_oak_lid = new ResourceLocation("customnpcs","textures/models/barrel/oak_lid.png");
|
||||
private static final ResourceLocation spruce_lid = new ResourceLocation("customnpcs","textures/models/barrel/spruce_lid.png");
|
||||
private static final ResourceLocation birch_lid = new ResourceLocation("customnpcs","textures/models/barrel/birch_lid.png");
|
||||
private static final ResourceLocation jungle_lid = new ResourceLocation("customnpcs","textures/models/barrel/jungle_lid.png");
|
||||
private static final ResourceLocation acacia_lid = new ResourceLocation("customnpcs","textures/models/barrel/acacia_lid.png");
|
||||
private static final ResourceLocation dark_oak_lid = new ResourceLocation("customnpcs","textures/models/barrel/dark_oak_lid.png");
|
||||
|
||||
public BlockBarrelRenderer(){
|
||||
((BlockBarrel)CustomItems.barrel).renderId = RenderingRegistry.getNextAvailableRenderId();
|
||||
@@ -122,15 +122,15 @@ public class BlockBarrelRenderer extends BlockRendererInterface{
|
||||
public void setLidTexture(int meta){
|
||||
TextureManager manager = Minecraft.getMinecraft().getTextureManager();
|
||||
if(meta == 1)
|
||||
manager.bindTexture(oak_lid);
|
||||
manager.bindTexture(spruce_lid);
|
||||
else if(meta == 2)
|
||||
manager.bindTexture(oak_lid);
|
||||
manager.bindTexture(birch_lid);
|
||||
else if(meta == 3)
|
||||
manager.bindTexture(oak_lid);
|
||||
manager.bindTexture(jungle_lid);
|
||||
else if(meta == 4)
|
||||
manager.bindTexture(oak_lid);
|
||||
manager.bindTexture(acacia_lid);
|
||||
else if(meta == 5)
|
||||
manager.bindTexture(oak_lid);
|
||||
manager.bindTexture(dark_oak_lid);
|
||||
else
|
||||
manager.bindTexture(oak_lid);
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 811 B |
|
After Width: | Height: | Size: 825 B |
|
After Width: | Height: | Size: 765 B |
|
After Width: | Height: | Size: 828 B |
|
Before Width: | Height: | Size: 511 B After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 785 B |