Search in sources :

Example 1 with IconFlipped

use of net.minecraft.client.renderer.IconFlipped in project SecurityCraft by Geforce132.

the class BlockScannerDoor method registerIcons.

@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister p_149651_1_) {
    field_150017_a = new IIcon[2];
    field_150016_b = new IIcon[2];
    field_150017_a[0] = p_149651_1_.registerIcon("securitycraft:scannerDoorUpper");
    field_150016_b[0] = p_149651_1_.registerIcon("securitycraft:reinforcedDoorLower");
    field_150017_a[1] = new IconFlipped(field_150017_a[0], true, false);
    field_150016_b[1] = new IconFlipped(field_150016_b[0], true, false);
}
Also used : IconFlipped(net.minecraft.client.renderer.IconFlipped) SideOnly(cpw.mods.fml.relauncher.SideOnly)

Example 2 with IconFlipped

use of net.minecraft.client.renderer.IconFlipped in project SecurityCraft by Geforce132.

the class BlockReinforcedDoor method registerBlockIcons.

@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister p_149651_1_) {
    this.field_150017_a = new IIcon[2];
    this.field_150016_b = new IIcon[2];
    this.field_150017_a[0] = p_149651_1_.registerIcon("securitycraft:reinforcedDoorUpper");
    this.field_150016_b[0] = p_149651_1_.registerIcon("securitycraft:reinforcedDoorLower");
    this.field_150017_a[1] = new IconFlipped(this.field_150017_a[0], true, false);
    this.field_150016_b[1] = new IconFlipped(this.field_150016_b[0], true, false);
}
Also used : IconFlipped(net.minecraft.client.renderer.IconFlipped) SideOnly(cpw.mods.fml.relauncher.SideOnly)

Example 3 with IconFlipped

use of net.minecraft.client.renderer.IconFlipped in project SecurityCraft by Geforce132.

the class BlockScannerDoor method registerBlockIcons.

@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister p_149651_1_) {
    this.field_150017_a = new IIcon[2];
    this.field_150016_b = new IIcon[2];
    this.field_150017_a[0] = p_149651_1_.registerIcon("securitycraft:scannerDoorUpper");
    this.field_150016_b[0] = p_149651_1_.registerIcon("securitycraft:reinforcedDoorLower");
    this.field_150017_a[1] = new IconFlipped(this.field_150017_a[0], true, false);
    this.field_150016_b[1] = new IconFlipped(this.field_150016_b[0], true, false);
}
Also used : IconFlipped(net.minecraft.client.renderer.IconFlipped) SideOnly(cpw.mods.fml.relauncher.SideOnly)

Example 4 with IconFlipped

use of net.minecraft.client.renderer.IconFlipped in project ArsMagica2 by Mithion.

the class BlockSpellSealedDoor method registerBlockIcons.

@Override
public void registerBlockIcons(IIconRegister register) {
    this.upperIcons = new IIcon[4];
    this.lowerIcons = new IIcon[2];
    this.upperIcons[0] = ResourceManager.RegisterTexture("keystone_door_upper", register);
    this.lowerIcons[0] = ResourceManager.RegisterTexture("keystone_door_lower", register);
    this.upperIcons[1] = new IconFlipped(this.upperIcons[0], true, false);
    this.lowerIcons[1] = new IconFlipped(this.lowerIcons[0], true, false);
    this.upperIcons[2] = ResourceManager.RegisterTexture("keystone_door_upper", register);
    this.upperIcons[3] = new IconFlipped(this.upperIcons[2], true, false);
}
Also used : IconFlipped(net.minecraft.client.renderer.IconFlipped)

Example 5 with IconFlipped

use of net.minecraft.client.renderer.IconFlipped in project ArsMagica2 by Mithion.

the class BlockKeystoneDoor method registerBlockIcons.

@Override
public void registerBlockIcons(IIconRegister register) {
    this.upperIcons = new IIcon[4];
    this.lowerIcons = new IIcon[2];
    this.upperIcons[0] = ResourceManager.RegisterTexture("keystone_door_upper", register);
    this.lowerIcons[0] = ResourceManager.RegisterTexture("keystone_door_lower", register);
    this.upperIcons[1] = new IconFlipped(this.upperIcons[0], true, false);
    this.lowerIcons[1] = new IconFlipped(this.lowerIcons[0], true, false);
    this.upperIcons[2] = ResourceManager.RegisterTexture("keystone_door_upper", register);
    this.upperIcons[3] = new IconFlipped(this.upperIcons[2], true, false);
}
Also used : IconFlipped(net.minecraft.client.renderer.IconFlipped)

Aggregations

IconFlipped (net.minecraft.client.renderer.IconFlipped)8 SideOnly (cpw.mods.fml.relauncher.SideOnly)6