AndyLun Posted February 2, 2013 Posted February 2, 2013 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 Quote
Davidobot Posted February 3, 2013 Posted February 3, 2013 Have you tried using Techne? It's a modeling program for costum minecraft blocks. Quote If you found this post helpful, please take your time to give me a "Thank You".
zacpier Posted February 3, 2013 Posted February 3, 2013 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 Quote
Mazetar Posted February 3, 2013 Posted February 3, 2013 zacpier: What makes you say that? What is the reasoning behind your statement? Quote If you guys dont get it.. then well ya.. try harder...
endershadow Posted February 3, 2013 Posted February 3, 2013 I made a model for my block in techne but I'm not sure how to make the block use that model it takes up a 3x3x3 block area, but it isn't a giant cube. anyone know how I could make my block use the custom model? here's an example of what it should look like ---> http://images3.wikia.nocookie.net/__cb20111021171458/codelyoko/images/c/c9/Terre_486.jpg Quote
RegalBlaze Posted February 4, 2013 Posted February 4, 2013 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... Quote
SuitedSlime Posted February 4, 2013 Posted February 4, 2013 You can fix the icon with: MinecraftForgeClient.registerItemRenderer(Item.itemsList[Tutorial.tutorialBlock.blockID].shiftedIndex, new ItemTutorila()); Quote
RegalBlaze Posted February 4, 2013 Posted February 4, 2013 You can fix the icon with: MinecraftForgeClient.registerItemRenderer(Item.itemsList[Tutorial.tutorialBlock.blockID].shiftedIndex, new ItemTutorila()); what does this do? Quote
AndyLun Posted February 5, 2013 Author Posted February 5, 2013 Alright, I will research the vanilla code and see what can i get. Quote
Recommended Posts
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.