• 0

    posted a message on Cannot use .zip files

    you need to put the .zip file in here: AppData>Roaming>.minecraft>resourcepacks

    Posted in: Resource Pack Help
  • 0

    posted a message on Fabric Item Texture not loading

    The texture of my item isn't loading... you can see everything below. I'm a beginner so please suggest what to do

    Here's the error:

    [10:44:17] [Worker-Main-11/WARN] (Minecraft) Unable to load model: 'coolmod:fabric_item#inventory' referenced from: coolmod:fabric_item#inventory: java.io.FileNotFoundException: coolmod:models/item/fabric_item.json
    -------------------------------------------------
    here's the CoolMod.java code:

    package net.my.cool.mod;

    import net.fabricmc.api.ModInitializer;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemGroup;
    import net.minecraft.util.Identifier;
    import net.minecraft.util.registry.Registry;

    public class CoolMod implements ModInitializer{

    public static final Item FABRIC_ITEM = new Item(new Item.Settings().group(ItemGroup.MISC));

    @Override
    public void onInitialize() {
    Registry.register(Registry.ITEM, new Identifier("coolmod", "fabric_item"), FABRIC_ITEM);
    }

    }
    ------------------------------------------------
    and here's the code of the model of the texture:

    {
    "parent": "item/generated",
    "textures": {
    "layer0": "coolmod:item/fabric_item"
    }
    }
    ------------------------------------------------
    And lastly, here's the fabric.mod.json file:

    "environment": "*",
    "entrypoints": {
    "main": [
    "net.my.cool.mod.CoolMod"
    ]
    },

    Posted in: Mods Discussion
  • To post a comment, please .