Jump to content

Recommended Posts

Posted

i get this error still

 

for my models i get this.

 

  Reveal hidden contents

 

on two of my block they have  ore:ore compressed:compressed

 

  Reveal hidden contents

 

 

some of my item textures just dont want to show if its a single item.

http://pastebin.com/YLDDCgx4

Posted

{

"variants": {

"compressed=copper": { "model":"eot:compressed_copper" },

"compressed=tin": { "model":"eot:compressed_tin" },

"compressed=silver": { "model":"eot:compressed_silver" },

"compressed=lead": { "model":"eot:compressed_lead" },

"compressed=bronze": { "model":"eot:compressed_bronze" },

"compressed=ruby": { "model":"eot:compressed_ruby" },

"compressed=sapphire": { "model":"eot:compressed_sapphire" }

}

Posted

so are you saying instead of compressed=copper i should change it to something like eot=compressed_copper  ? not in the blockstates its self but change it in the code?

{

  "variants": {

      "compressed=copper": { "model":"eot:compressed_copper" },

      "compressed=tin": { "model":"eot:compressed_tin" },

      "compressed=silver": { "model":"eot:compressed_silver" },

      "compressed=lead": { "model":"eot:compressed_lead" },

      "compressed=bronze": { "model":"eot:compressed_bronze" },

      "compressed=ruby": { "model":"eot:compressed_ruby" },

      "compressed=sapphire": { "model":"eot:compressed_sapphire" }

  }

Posted

i fixed most of the textures . but i am having trouble with a single item.

 

 

  Reveal hidden contents

 

 

MODID = eot.

 

blockstate enderman_flesh.json

 

  Reveal hidden contents

 

 

item/models enderman_flesh.json

 

  Reveal hidden contents

 

textures/items  enderman_flesh.png

 

 

 

 

 

Posted

i did something like this?

public static void renderItem(Item item, String name) {

ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(References.MODID + ":" + name, "inventory"));

}

 

and i have no idea what i should do for the block states

 

{

"variants": {

"enderman_flesh": { "model":"eot:enderman_flesh" }

}

}

Posted

 

  Reveal hidden contents

 

Posted

ModItems.init(); is in pre init. in the public static void init(){} i have RegistryHandler.registerItemWithState(

so odelLoader.setCustomModelResourceLocation( is in  RegistryHandler.registerItemWithState( which is called in init, which is called in preinit. the renderer is called in my common proxy preinit

Posted

Rendering (display) and common proxy to not go together. Rendering should be limited to client proxy only.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Posted

 

  Reveal hidden contents

 

Posted

i fixed it >.> when i saw it was returning ore_string i figured that the state name had to be localized in the same class that is is being called in. such as instead of giving the names to the registryHandler. i let the ModBlocks and items tell the registry handler metadata i = ore_copper... 2=Tin and so and so.

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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