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

Hi,

I am going to make a custom block which looks different from other solid square blocks.

 

For example,

the Microscope in the MineChem 2 Mod.

 

As Shown in this video :

http://www.youtube.com/watch?v=3UFz4X_PXZw

Watch that video at 0:53

The Microscope.

 

It is rendered not as same as other squar-ish blocks. It's outline(the black one) is square but it don't looks like that.

 

Hope the information provided is enough. Please Help Me

Thanks.... A LOT

Have you tried using Techne? It's a modeling program for costum minecraft blocks.

If you found this post helpful, please take your time to give me a "Thank You". :)

Have you tried using Techne? It's a modeling program for costum minecraft blocks.

 

When you go down the Techne route, it's (very difficult/impossible) to make said block render in 3d in the inventory/hand

zacpier:

What makes you say that? What is the reasoning behind your statement?

If you guys dont get it.. then well ya.. try harder...

I have the same problem, i made a new block model in techne but don't know how to make my block use it.

 

I studied the other not-square blocks in minecraft like the stairs for example and i figured out that they have 2 methods to change the block.

 

#1

 

public boolean renderAsNormalBlock()

    {

        return false;

    }

 

#2

public int getRenderType()

    {

        return 10;

    }

 

In this, the number 10 represents case 10 from getRenderType which renders the stairs. But i don't know how the last step of actually declaring what it looks like is performed.

 

I think somehow method #2 has to be replaced with the model.java or something but i have no clue...

You can fix the icon with:

MinecraftForgeClient.registerItemRenderer(Item.itemsList[Tutorial.tutorialBlock.blockID].shiftedIndex, new ItemTutorila());

You can fix the icon with:

MinecraftForgeClient.registerItemRenderer(Item.itemsList[Tutorial.tutorialBlock.blockID].shiftedIndex, new ItemTutorila());

 

what does this do?

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.