Jump to content

Recommended Posts

Posted

In Load Event

FragOfMemory.blockIndexInTexture = Block.chest.blockIndexInTexture;

 

In RenderType

FragofmemoryRenderID = ModLoader.getUniqueBlockModelID(this, true);

 

CreatenewTileEntity

public TileEntity createNewTileEntity(World var1) {

return new iEndless_FragmentOfMemoryTileEntity();

}

 

iEndless_FragmentOfMemoryTileEntity

package iEndless.TileEntity;

 

import iEndless.Model.iEndless_FragmentOfMemoryModel;

import net.minecraft.src.TileEntity;

 

public class iEndless_FragmentOfMemoryTileEntity extends TileEntity

{

/**

  * Used for animation to determine what animation state the block is in

  */

public boolean shouldAnimate = false;

 

/**

  * An Instance of the model of the block, used for rendering and animation

  */

public iEndless_FragmentOfMemoryModel model = new iEndless_FragmentOfMemoryModel();

 

public iEndless_FragmentOfMemoryTileEntity()

{

}

 

 

}

 

EDIT ::

This is a custom model block

Posted

The fuck you showing me your TE model for?

I asked how you're setting the icon.

Show your block class, and how it is instantiated.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.