Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

First of all, I am sorry to ask this. I have checked all my files, all my names, every thing four times. Still I am unable to find the place where i fucked up.

I am registering a block.

I am registering the renderer in the client proxy, I am calling the the proxy registerRenderer and I created all json files. Still it wont render

 

[14:14:22] [Client thread/ERROR] [FML]: Model definition for location 1.0:vamp_one#inventory not found

[14:14:22] [Client thread/ERROR] [FML]: Model definition for location 1.0:vamp_one#normal not found

 

Main file

 

 

@EventHandler

public void init(FMLInitializationEvent event)

{

vampAltarOne = new VampAltarOne();

GameRegistry.registerBlock(vampAltarOne, "vamp_one");

proxy.registerRenderer();

 

}

 

 

 

ClientProxy

 

 

@Override

public void registerRenderer() {

ItemModelMesher mesher =Minecraft.getMinecraft().getRenderItem().getItemModelMesher();

mesher.register(Item.getItemFromBlock(Vamps.vampAltarOne), 0, new ModelResourceLocation("vamps:vamp_one" , "inventory"));

}

 

 

 

assets.vamps.blockstates.vamp_one.json

 

 

{

    "variants": {

        "normal": { "model": "vamps:vamp_one" }

    }

}

 

 

 

assets.vamps.models.block

 

 

{

    "parent": "block/cube_all",

    "textures": {

        "all": "vamps:blocks/vamp_one"

    }

}

 

 

 

assets.vamps.models.itemn

 

 

{

    "parent": "vamps:block/vamp_one",

    "display": {

        "thirdperson": {

            "rotation": [ 10, -45, 170 ],

            "translation": [ 0, 1.5, -2.75 ],

            "scale": [ 0.375, 0.375, 0.375 ]

        }

    }

}

 

 

 

assets.vamps.textures.blocks.vamp_one.json is the position of the texture

 

 

> Model definition for location 1.0:vamp_one

Your modid is 1.0 not vamps as you expect.  Looks like you swapped mod id and version in your main mod file.

 

-TGG

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.