Jump to content

Recommended Posts

Posted

IO2iSoi.png

 

I'm trying to create a block renders as a techne model but this is what i get ^^^

 

I have no idea why this happens. Here is my src code:

 

Main Mod

 

  Reveal hidden contents

 

 

ClientProxy

 

  Reveal hidden contents

 

 

The Entity

 

  Reveal hidden contents

 

 

The Model (The names are in danish... But it's made in techne)

 

  Reveal hidden contents

 

 

Render

 

  Reveal hidden contents

 

Author of the unreleased mod Factory Craft

I'm usually known as MnomisC

IGN MnomisC

Posted

Hi

 

So I'm guessing that your white box is the right shape for the chimney, it just doesn't have any bricks, i.e. the texture is not showing.

 

I'm not really familiar with techne models, but I imagine that either texturing is turned off, you haven't bound the texture properly, or the path to the texture is wrong.  Hopefully someone else on this forum can be more specific...

 

-TGG

 

 

Posted
  On 4/20/2014 at 1:50 AM, TheGreyGhost said:

Hi

 

So I'm guessing that your white box is the right shape for the chimney, it just doesn't have any bricks, i.e. the texture is not showing.

 

I'm not really familiar with techne models, but I imagine that either texturing is turned off, you haven't bound the texture properly, or the path to the texture is wrong.  Hopefully someone else on this forum can be more specific...

 

-TGG

 

I don't think that's the model, because he has a couple of shapes in his model class.

 

I had the same problem earlier and I left it alone, and after I touched some of my gui code my entity completely stopped rendering.

 

Sorry. :(

Kain

Posted

hey I am one of the two modder's in this mod i am not experienced with modding and java i am stil just learning but i can give you information

 

  On 4/19/2014 at 10:31 PM, coolboy4531 said:

Have you applied in your proxy - I don't think so :[

proxy.initRenderes()

 

ClientProxy.java

 

  Reveal hidden contents

 

CommonProxy.java

 

  Reveal hidden contents

 

  Quote

Hi

 

So I'm guessing that your white box is the right shape for the chimney, it just doesn't have any bricks, i.e. the texture is not showing.

 

I'm not really familiar with techne models, but I imagine that either texturing is turned off, you haven't bound the texture properly, or the path to the texture is wrong.  Hopefully someone else on this forum can be more specific...

 

-TGG

 

 

this is how it should look:

without texture

 

  Reveal hidden contents

 

with texture

 

  Reveal hidden contents

 

Posted
  On 4/20/2014 at 3:00 AM, DaniTheGamer said:

hey I am one of the two modder's in this mod i am not experienced with modding and java i am stil just learning but i can give you information

 

  Quote

Have you applied in your proxy - I don't think so :[

proxy.initRenderes()

 

ClientProxy.java

 

  Reveal hidden contents

 

CommonProxy.java

 

  Reveal hidden contents

 

 

Hi

 

I think coolbody4531 is right - you have defined initRenderes(), but you never seem to call it?

 

Something like

    @EventHandler
    public void preInit(FMLPreInitializationEvent event) {
    	GameRegistry.registerBlock(woodMachineFrame, "WoodMachineFrame");
    	
    	Items.init();
    	Entities.init();
    }
   @EventHandler
    public void postInit(FMLPostInitializationEvent event) {
    	proxy.initRenderes();
    }

 

Some further background info here if you're interested

http://greyminecraftcoder.blogspot.com/2013/11/how-forge-starts-up-your-code.html

 

-TGG

Posted
  On 4/20/2014 at 3:32 AM, TheGreyGhost said:

Hi

 

I think coolbody4531 is right - you have defined initRenderes(), but you never seem to call it?

 

Something like

    @EventHandler
    public void preInit(FMLPreInitializationEvent event) {
    	GameRegistry.registerBlock(woodMachineFrame, "WoodMachineFrame");
    	
    	Items.init();
    	Entities.init();
    }
   @EventHandler
    public void postInit(FMLPostInitializationEvent event) {
    	proxy.initRenderes();
    }

 

Some further background info here if you're interested

http://greyminecraftcoder.blogspot.com/2013/11/how-forge-starts-up-your-code.html

 

-TGG

Thank you it work's now we just have to make the texture work :P and have a hitbox..

8EoiOh7.png

 

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.

×
×
  • Create New...

Important Information

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