java类net.minecraft.client.renderer.texture.IIconRegister的实例源码

MultiTTextureBlock.java 文件源码 项目:ElementalElaboration 阅读 19 收藏 0 点赞 0 评论 0
@Override
public void registerBlockIcons(IIconRegister reg)
{
    /*
    0 - front
    1 - top
    2 - bottom
    3 - behind
    4 - left
    5 - right
    */

    this.icons[0] = reg.registerIcon(References.MODID + ":" + iconsName[0]);
    this.icons[1] = reg.registerIcon(References.MODID + ":" + iconsName[1]);
    this.icons[1] = reg.registerIcon(References.MODID + ":" + iconsName[2]);
    this.icons[2] = reg.registerIcon(References.MODID + ":" + iconsName[3]);
    this.icons[4] = reg.registerIcon(References.MODID + ":" + iconsName[4]);
    this.icons[5] = reg.registerIcon(References.MODID + ":" + iconsName[5]);
}
LobbyBlock.java 文件源码 项目:PAYDAY 阅读 31 收藏 0 点赞 0 评论 0
@Override
public void registerBlockIcons(IIconRegister register) {
    super.registerBlockIcons(register);
    LobbyIcon = register.registerIcon(PAYDAY.MODID + ":lobby");
    OnePlayerIcon = register.registerIcon(PAYDAY.MODID + ":lobby_1");
    TwoPlayersIcon = register.registerIcon(PAYDAY.MODID + ":lobby_2");
    ThreePlayersIcon = register.registerIcon(PAYDAY.MODID + ":lobby_3");
    FourPlayersIcon = register.registerIcon(PAYDAY.MODID + ":lobby_4");
}
GlassFluidTank.java 文件源码 项目:Steam-and-Steel 阅读 21 收藏 0 点赞 0 评论 0
@Override
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister reg) {

    blockIcon = reg.registerIcon(getTextureName() + "_top");
    sideIcon = reg.registerIcon(getTextureName() + "_side");
    bottomIcon = reg.registerIcon(getTextureName() + "_bottom");

}
ItemShardCluster.java 文件源码 项目:ThaumOres 阅读 25 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister register) {
    for (int meta = 0; meta < 6; meta++)
        icon[meta] = register.registerIcon(ThaumOresMod.MODID + ":heavyshard_" + meta);
    icon[6] = register.registerIcon(ThaumOresMod.MODID + ":clustershard");
}
PrismarineBlocks.java 文件源码 项目:connor41-etfuturum2 阅读 19 收藏 0 点赞 0 评论 0
@Override
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister reg) {
    if (icons == null)
        icons = new IIcon[types.length];

    for (int i = 1; i < types.length; i++)
        if ("".equals(types[i]))
            icons[i] = reg.registerIcon(getTextureName());
        else
            icons[i] = reg.registerIcon(getTextureName() + "_" + types[i]);
}
BlockGeneric.java 文件源码 项目:connor41-etfuturum2 阅读 18 收藏 0 点赞 0 评论 0
@Override
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister reg) {
    icons = new IIcon[types.length];
    for (int i = 0; i < types.length; i++)
        if ("".equals(types[i]))
            icons[i] = reg.registerIcon(getTextureName());
        else
            icons[i] = reg.registerIcon(getTextureName() + "_" + types[i]);
}
FrostedIce.java 文件源码 项目:connor41-etfuturum2 阅读 21 收藏 0 点赞 0 评论 0
@Override
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister reg) {
    icons = new IIcon[4];
    for (int i = 0; i < icons.length; i++)
        icons[i] = reg.registerIcon(getTextureName() + "_" + i);
}
BlockBeetroot.java 文件源码 项目:connor41-etfuturum2 阅读 21 收藏 0 点赞 0 评论 0
@Override
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister reg) {
    icons = new IIcon[4];
    for (int i = 0; i < icons.length; i++)
        icons[i] = reg.registerIcon(getTextureName() + "_stage_" + i);
}
ItemGeneric.java 文件源码 项目:connor41-etfuturum2 阅读 21 收藏 0 点赞 0 评论 0
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister reg) {
    icons = new IIcon[types.length];
    for (int i = 0; i < types.length; i++)
        icons[i] = reg.registerIcon(getIconString() + "_" + types[i]);
}
LapisMagazine.java 文件源码 项目:minecraft-quiverbow 阅读 16 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
   public void registerIcons(IIconRegister par1IconRegister) 
{ 
    this.Icon_6 = par1IconRegister.registerIcon("quiverchevsky:ammo/LapisAmmo_6");
    this.Icon_5 = par1IconRegister.registerIcon("quiverchevsky:ammo/LapisAmmo_5");
    this.Icon_4 = par1IconRegister.registerIcon("quiverchevsky:ammo/LapisAmmo_4");
    this.Icon_3 = par1IconRegister.registerIcon("quiverchevsky:ammo/LapisAmmo_3");
    this.Icon_2 = par1IconRegister.registerIcon("quiverchevsky:ammo/LapisAmmo_2");
    this.Icon_1 = par1IconRegister.registerIcon("quiverchevsky:ammo/LapisAmmo_1");

    this.Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:ammo/LapisAmmo_0");
}
GoldMagazine.java 文件源码 项目:minecraft-quiverbow 阅读 26 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
   public void registerIcons(IIconRegister par1IconRegister) 
{ 
    Icon = par1IconRegister.registerIcon("quiverchevsky:ammo/GoldAmmo");
    Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:ammo/GoldAmmo_Empty");
}
NeedleMagazine.java 文件源码 项目:minecraft-quiverbow 阅读 19 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
   public void registerIcons(IIconRegister par1IconRegister) 
{ 
    Icon = par1IconRegister.registerIcon("quiverchevsky:ammo/NeedleAmmo");
    Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:ammo/NeedleAmmo_Empty");
}
EnderQuartzClip.java 文件源码 项目:minecraft-quiverbow 阅读 23 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
   public void registerIcons(IIconRegister par1IconRegister) 
{ 
    Icon = par1IconRegister.registerIcon("quiverchevsky:ammo/EnderAmmo");
    Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:ammo/EnderAmmo_Empty");
}
RedstoneMagazine.java 文件源码 项目:minecraft-quiverbow 阅读 17 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
   public void registerIcons(IIconRegister par1IconRegister) 
{ 
    Icon = par1IconRegister.registerIcon("quiverchevsky:ammo/RedstoneAmmo");
    Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:ammo/RedstoneAmmo_Empty");
}
GatlingAmmo.java 文件源码 项目:minecraft-quiverbow 阅读 20 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
   public void registerIcons(IIconRegister par1IconRegister) 
{ 
    Icon = par1IconRegister.registerIcon("quiverchevsky:ammo/GatlingAmmo");
    Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:ammo/GatlingAmmo_Empty");
}
SeedJar.java 文件源码 项目:minecraft-quiverbow 阅读 65 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
   public void registerIcons(IIconRegister par1IconRegister) 
{ 
    Icon = par1IconRegister.registerIcon("quiverchevsky:ammo/SeedJar");
    Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:ammo/SeedJar_Empty");
}
LargeNetherrackMagazine.java 文件源码 项目:minecraft-quiverbow 阅读 19 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
   public void registerIcons(IIconRegister par1IconRegister) 
{ 
    Icon = par1IconRegister.registerIcon("quiverchevsky:ammo/LargeNetherAmmo");
    Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:ammo/LargeNetherAmmo_Empty");
}
ObsidianMagazine.java 文件源码 项目:minecraft-quiverbow 阅读 18 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
   public void registerIcons(IIconRegister par1IconRegister) 
{ 
    Icon = par1IconRegister.registerIcon("quiverchevsky:ammo/ObsidianAmmo");
    Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:ammo/ObsidianAmmo_Empty");
}
Crossbow_Double.java 文件源码 项目:minecraft-quiverbow 阅读 23 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister par1IconRegister)
{
    this.Icon = par1IconRegister.registerIcon("quiverchevsky:weapons/CrossbowDouble");
    this.Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:weapons/CrossbowDouble_Empty");
    this.Icon_Half = par1IconRegister.registerIcon("quiverchevsky:weapons/CrossbowDouble_Half");
}
NetherBellows.java 文件源码 项目:minecraft-quiverbow 阅读 22 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister par1IconRegister)
{
    this.Icon = par1IconRegister.registerIcon("quiverchevsky:weapons/NetherBellows");
    this.Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:weapons/NetherBellows_Empty");
}
SugarEngine.java 文件源码 项目:minecraft-quiverbow 阅读 22 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister par1IconRegister)
{
    this.Icon = par1IconRegister.registerIcon("quiverchevsky:weapons/SugarGatling");
    this.Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:weapons/SugarGatling_Empty");
}
Grabber.java 文件源码 项目:Technical 阅读 23 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister iconRegister) {
    this.front = iconRegister.registerIcon(Technical.modName + ":" + "grabberFront");
    this.side0 = iconRegister.registerIcon(Technical.modName + ":" + "grabberSide0");
    this.side1 = iconRegister.registerIcon(Technical.modName + ":" + "grabberSide1");
    this.side2 = iconRegister.registerIcon(Technical.modName + ":" + "grabberSide2");
    this.side3 = iconRegister.registerIcon(Technical.modName + ":" + "grabberSide3");
}
FlintDuster.java 文件源码 项目:minecraft-quiverbow 阅读 25 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister par1IconRegister)
{
    this.Icon = par1IconRegister.registerIcon("quiverchevsky:weapons/FlintDrill");
    this.Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:weapons/FlintDrill_Empty");
}
LapisCoil.java 文件源码 项目:minecraft-quiverbow 阅读 22 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister par1IconRegister)
{
    this.Icon = par1IconRegister.registerIcon("quiverchevsky:weapons/LapisCoil");
    this.Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:weapons/LapisCoil_Empty");
}
LightningRed.java 文件源码 项目:minecraft-quiverbow 阅读 23 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister par1IconRegister)
{
    this.Icon = par1IconRegister.registerIcon("quiverchevsky:weapons/LightningRed");
    this.Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:weapons/LightningRed_Empty");
}
OSP.java 文件源码 项目:minecraft-quiverbow 阅读 24 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister par1IconRegister)
{
    this.Icon = par1IconRegister.registerIcon("quiverchevsky:weapons/OSP");
    this.Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:weapons/OSP_Empty");
}
RPG.java 文件源码 项目:minecraft-quiverbow 阅读 23 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister par1IconRegister)
{
    this.Icon = par1IconRegister.registerIcon("quiverchevsky:weapons/RPG");
    this.Icon_Empty = par1IconRegister.registerIcon("quiverchevsky:weapons/RPG_Empty");
}
EnderBow.java 文件源码 项目:minecraft-quiverbow 阅读 24 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
   public void registerIcons(IIconRegister par1IconRegister)
   {
     this.itemIcon = par1IconRegister.registerIcon("quiverchevsky:weapons/EnderBow_idle");

        this.pull_0 = par1IconRegister.registerIcon("quiverchevsky:weapons/EnderBow_pulling_0");
        this.pull_1 = par1IconRegister.registerIcon("quiverchevsky:weapons/EnderBow_pulling_1");
        this.pull_2 = par1IconRegister.registerIcon("quiverchevsky:weapons/EnderBow_pulling_2");
   }
GrabberFast.java 文件源码 项目:Technical 阅读 19 收藏 0 点赞 0 评论 0
@Override
public void registerBlockIcons(IIconRegister iconRegister) {
    this.front = iconRegister.registerIcon(Technical.modName + ":" + "grabberFastFront");
    this.side0 = iconRegister.registerIcon(Technical.modName + ":" + "grabberFastSide0");
    this.side1 = iconRegister.registerIcon(Technical.modName + ":" + "grabberFastSide1");
    this.side2 = iconRegister.registerIcon(Technical.modName + ":" + "grabberFastSide2");
    this.side3 = iconRegister.registerIcon(Technical.modName + ":" + "grabberFastSide3");

}
QuiverBow.java 文件源码 项目:minecraft-quiverbow 阅读 24 收藏 0 点赞 0 评论 0
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister par1IconRegister)
{
    this.itemIcon = par1IconRegister.registerIcon("quiverchevsky:weapons/QBow_idle");

    this.pull_0 = par1IconRegister.registerIcon("quiverchevsky:weapons/QBow_pulling_0");
    this.pull_1 = par1IconRegister.registerIcon("quiverchevsky:weapons/QBow_pulling_1");
    this.pull_2 = par1IconRegister.registerIcon("quiverchevsky:weapons/QBow_pulling_2");
}


问题


面经


文章

微信
公众号

扫码关注公众号