Пример #1
0
 /**
  * When this method is called, your block should register all the icons it needs with the given
  * IconRegister. This is the only chance you get to register icons.
  */
 public void registerIcons(IconRegister par1IconRegister) {
   this.blockIcon = par1IconRegister.registerIcon("piston_side");
   this.field_94497_cO =
       par1IconRegister.registerIcon(this.isSticky ? "piston_top_sticky" : "piston_top");
   this.field_94498_b = par1IconRegister.registerIcon("piston_inner_top");
   this.field_94499_c = par1IconRegister.registerIcon("piston_bottom");
 }
Пример #2
0
  public void func_94332_a(IconRegister par1IconRegister) {
    this.field_94388_cO = par1IconRegister.func_94245_a("tree_top");
    this.field_94390_c = new Icon[field_94389_b.length];

    for (int var2 = 0; var2 < this.field_94390_c.length; ++var2) {
      this.field_94390_c[var2] = par1IconRegister.func_94245_a(field_94389_b[var2]);
    }
  }
Пример #3
0
 /**
  * When this method is called, your block should register all the icons it needs with the given
  * IconRegister. This is the only chance you get to register icons.
  */
 public void registerIcons(IconRegister par1IconRegister) {
   iconArray =
       (new Icon[] {
         par1IconRegister.registerIcon(
             (new StringBuilder()).append(getTextureName()).append("_layer_0").toString()),
         par1IconRegister.registerIcon(
             (new StringBuilder()).append(getTextureName()).append("_layer_1").toString())
       });
 }
Пример #4
0
  public void registerIcons(IconRegister par1IconRegister) {
    super.registerIcons(par1IconRegister);

    if (this.material == EnumArmorMaterial.CLOTH) {
      this.field_94605_cw = par1IconRegister.registerIcon(field_94606_cu[this.armorType]);
    }

    this.field_94604_cx = par1IconRegister.registerIcon(field_94603_a[this.armorType]);
  }
Пример #5
0
  public void func_94332_a(IconRegister par1IconRegister) {
    this.field_94387_c = new Icon[field_94386_b.length];

    for (int var2 = 0; var2 < this.field_94387_c.length; ++var2) {
      this.field_94387_c[var2] = par1IconRegister.func_94245_a(field_94386_b[var2]);
    }
  }
Пример #6
0
  /**
   * When this method is called, your block should register all the icons it needs with the given
   * IconRegister. This is the only chance you get to register icons.
   */
  public void registerIcons(IconRegister par1IconRegister) {
    this.iconArray = new Icon[3];

    for (int var2 = 0; var2 < this.iconArray.length; ++var2) {
      this.iconArray[var2] = par1IconRegister.registerIcon(this.func_111023_E() + "_stage_" + var2);
    }
  }
  public void func_94332_a(IconRegister par1IconRegister) {
    this.field_94363_a = new Icon[8];

    for (int var2 = 0; var2 < this.field_94363_a.length; ++var2) {
      this.field_94363_a[var2] = par1IconRegister.func_94245_a("crops_" + var2);
    }
  }
 /**
  * When this method is called, your block should register all the icons it needs with the given
  * IconRegister. This is the only chance you get to register icons.
  */
 public void registerIcons(IconRegister par1IconRegister) {
   this.blockIcon = par1IconRegister.registerIcon("BlockPetrifiedWood");
   this.PetrifiedWoodTopIcon = par1IconRegister.registerIcon("BlockPetrifiedWood2");
   this.PetrifiedWoodBottomIcon = par1IconRegister.registerIcon("BlockPetrifiedWood2");
 }
Пример #9
0
 /**
  * When this method is called, your block should register all the icons it needs with the given
  * IconRegister. This is the only chance you get to register icons.
  */
 public void registerIcons(IconRegister par1IconRegister) {
   this.blockIcon = par1IconRegister.registerIcon("tnt_side");
   this.field_94393_a = par1IconRegister.registerIcon("tnt_top");
   this.field_94392_b = par1IconRegister.registerIcon("tnt_bottom");
 }
Пример #10
0
 public void registerIcons(IconRegister par1IconRegister) {
   this.itemIcon = par1IconRegister.registerIcon(this.unlocalizedName);
 }
Пример #11
0
 /**
  * When this method is called, your block should register all the icons it needs with the given
  * IconRegister. This is the only chance you get to register icons.
  */
 public void registerIcons(IconRegister par1IconRegister) {
   this.blockIcon = par1IconRegister.registerIcon(this.field_94402_c);
   this.theIcon = par1IconRegister.registerIcon(this.sideTextureIndex);
 }
Пример #12
0
 public void func_94332_a(IconRegister par1IconRegister) {
   this.field_94336_cN = par1IconRegister.func_94245_a("wood");
 }
Пример #13
0
 /**
  * When this method is called, your block should register all the icons it needs with the given
  * IconRegister. This is the only chance you get to register icons.
  */
 public void registerIcons(IconRegister par1IconRegister) {
   super.registerIcons(par1IconRegister);
   this.theIcon = par1IconRegister.registerIcon("rail_turn");
 }
 public void func_94332_a(IconRegister par1IconRegister) {
   this.field_94445_a[0] = par1IconRegister.func_94245_a("daylightDetector_top");
   this.field_94445_a[1] = par1IconRegister.func_94245_a("daylightDetector_side");
 }