Examples of func_150285_a_()


Examples of net.minecraft.nbt.NBTTagString.func_150285_a_()

        if (stack.hasTagCompound()) {
            NBTTagCompound nbt = stack.getTagCompound();
            NBTTagString author = (NBTTagString) nbt.getTag("author");

            if (author != null)
                list.add(EnumChatFormatting.GRAY + String.format(LocalizationPlugin.translate("railcraft.gui.routing.table.editor"), author.func_150285_a_()));
        }
    }

    @SideOnly(Side.CLIENT)
    @Override
View Full Code Here

Examples of net.minecraft.nbt.NBTTagString.func_150285_a_()

            NBTTagString emblemIdent = (NBTTagString) nbt.getTag("emblem");

            if (emblemIdent == null || EmblemToolsClient.packageManager == null)
                return;

            Emblem emblem = EmblemToolsClient.packageManager.getEmblem(emblemIdent.func_150285_a_());
            if (emblem != null)
                info.add(EnumChatFormatting.GRAY + emblem.displayName);
        }
    }
View Full Code Here

Examples of net.minecraft.nbt.NBTTagString.func_150285_a_()

    public static String getEmblemIdentifier(ItemStack stack) {
        if (stack.hasTagCompound()) {
            NBTTagCompound nbt = stack.getTagCompound();
            NBTTagString emblemIdent = (NBTTagString) nbt.getTag("emblem");
            return emblemIdent != null ? emblemIdent.func_150285_a_() : "";
        }
        return "";
    }

}
View Full Code Here

Examples of net.minecraft.nbt.NBTTagString.func_150285_a_()

            return false;
        else if (!nbt.hasKey("dest"))
            return false;

        NBTTagString dest = (NBTTagString) nbt.getTag("dest");
        if (dest.func_150285_a_() == null)
            return false;

        return dest.func_150285_a_().length() <= LINE_LENGTH;
    }
View Full Code Here

Examples of net.minecraft.nbt.NBTTagString.func_150285_a_()

        NBTTagString dest = (NBTTagString) nbt.getTag("dest");
        if (dest.func_150285_a_() == null)
            return false;

        return dest.func_150285_a_().length() <= LINE_LENGTH;
    }

    public static ItemStack copyTicket(ItemStack source) {
        if (item == null)
            return null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.