@@ -0,0 +1,1804 @@
+/*%0A * Copyright 2017 Lukas Tenbrink%0A *%0A *    Licensed under the Apache License, Version 2.0 (the %22License%22);%0A *    you may not use this file except in compliance with the License.%0A *    You may obtain a copy of the License at%0A *%0A *        http://www.apache.org/licenses/LICENSE-2.0%0A *%0A *    Unless required by applicable law or agreed to in writing, software%0A *    distributed under the License is distributed on an %22AS IS%22 BASIS,%0A *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A *    See the License for the specific language governing permissions and%0A *    limitations under the License.%0A */%0A%0Apackage ivorius.ivtoolkit.api;%0A%0Aimport net.minecraft.block.Block;%0Aimport net.minecraft.item.Item;%0Aimport net.minecraft.util.ResourceLocation;%0Aimport net.minecraftforge.fml.common.Loader;%0A%0A/**%0A * Created by lukas on 26.01.17.%0A */%0Apublic class ModRepresentation%0A%7B%0A    public String modID;%0A%0A    public ModRepresentation(String modID)%0A    %7B%0A        this.modID = modID;%0A    %7D%0A%0A    public static String id(Block block)%0A    %7B%0A        return name(block).toString();%0A    %7D%0A%0A    public static ResourceLocation name(Block block)%0A    %7B%0A        return Block.REGISTRY.getNameForObject(block);%0A    %7D%0A%0A    public static String id(Item item)%0A    %7B%0A        return name(item).toString();%0A    %7D%0A%0A    public static ResourceLocation name(Item item)%0A    %7B%0A        return Item.REGISTRY.getNameForObject(item);%0A    %7D%0A%0A    public boolean isLoaded()%0A    %7B%0A        return Loader.isModLoaded(modID);%0A    %7D%0A%0A    public String getID()%0A    %7B%0A        return modID;%0A    %7D%0A%0A    public Block block(String id)%0A    %7B%0A        return Block.REGISTRY.getObject(new ResourceLocation(modID, id));%0A    %7D%0A%0A    public Item item(String id)%0A    %7B%0A        return Item.REGISTRY.getObject(new ResourceLocation(modID, id));%0A    %7D%0A%7D

Add general ModRepresentation superclass.