Flower or spiderweb like items [unAnswered]
2 posters
MC Modding :: Modding :: Singleplayer Modding :: Requests
Page 1 of 1
Flower or spiderweb like items [unAnswered]
How to make one of those items where it is just an image repeated would be nice to know, as well as how to change the direction it is repeated in, like if it is rotated on the x axis then how to change that to the y axis.
Last edited by felinoel on Sat May 19, 2012 6:02 pm; edited 5 times in total
felinoel- Member
- Posts : 18
Join date : 2011-10-19
Re: Flower or spiderweb like items [unAnswered]
put this into the block file:
then put:
set the render to one of these:
- Code:
public boolean isOpaqueCube()
{
return false;
}
public boolean renderAsNormalBlock()
{
return false;
}
then put:
- Code:
public int getRenderType()
{
return (READ BELLOW);
}
set the render to one of these:
austin56101- Moderator
- Posts : 85
Join date : 2011-10-22
Age : 28
Location : Cali!
Re: Flower or spiderweb like items [unAnswered]
Woah cool, I guess what I want is type 2 then, so just do a regular custom block with the listed differences then? Thanks!
No idea to do something like turning type 2 on its side though?
No idea to do something like turning type 2 on its side though?
felinoel- Member
- Posts : 18
Join date : 2011-10-19
austin56101- Moderator
- Posts : 85
Join date : 2011-10-22
Age : 28
Location : Cali!
Re: Flower or spiderweb like items [unAnswered]
Change the z axis to x, of type 2.
felinoel- Member
- Posts : 18
Join date : 2011-10-19
Re: Flower or spiderweb like items [unAnswered]
- Code:
public boolean isOpaqueCube()
{
return false;
}
public boolean renderAsNormalBlock()
{
return false;
}
public int getRenderType()
{
return 2;
}
put that into your code
warning, that doesnt make it generate
just makes its the shape
austin56101- Moderator
- Posts : 85
Join date : 2011-10-22
Age : 28
Location : Cali!
Re: Flower or spiderweb like items [unAnswered]
You mean naturally generate, right? That is fine, I just want to make a fish shaped bone carving that is purchasable from a Millenaire NPC in the Inuit culture.
felinoel- Member
- Posts : 18
Join date : 2011-10-19
Re: Flower or spiderweb like items [unAnswered]
lol ok that should work
austin56101- Moderator
- Posts : 85
Join date : 2011-10-22
Age : 28
Location : Cali!
Re: Flower or spiderweb like items [unAnswered]
Sweet, now to await a bow modding tutorial for the Inuit bow. Thanks for your help.
felinoel- Member
- Posts : 18
Join date : 2011-10-19
Re: Flower or spiderweb like items [unAnswered]
Wait... what exactly in there makes the z-axis be the x-axis?austin56101 wrote:
- Code:
public boolean isOpaqueCube()
{
return false;
}
public boolean renderAsNormalBlock()
{
return false;
}
public int getRenderType()
{
return 2;
}
put that into your code
warning, that doesnt make it generate
just makes its the shape
felinoel- Member
- Posts : 18
Join date : 2011-10-19
Re: Flower or spiderweb like items [unAnswered]
the render type
austin56101- Moderator
- Posts : 85
Join date : 2011-10-22
Age : 28
Location : Cali!
Re: Flower or spiderweb like items [unAnswered]
also itss not xyz
notch is stupid and made it ijk lol
notch is stupid and made it ijk lol
austin56101- Moderator
- Posts : 85
Join date : 2011-10-22
Age : 28
Location : Cali!
Re: Flower or spiderweb like items [unAnswered]
Oh... interesting?austin56101 wrote:the render type
Sounds like he just wanted to make it original to me, seems pretty cool imo.austin56101 wrote:also itss not xyz
notch is stupid and made it ijk lol
xyz is the standard though and as such is more recognizable so I will keep calling it that.
felinoel- Member
- Posts : 18
Join date : 2011-10-19
Re: Flower or spiderweb like items [unAnswered]
Lol whatever works for you:)
austin56101- Moderator
- Posts : 85
Join date : 2011-10-22
Age : 28
Location : Cali!
Re: Flower or spiderweb like items [unAnswered]
Also in game it says xyz when you check out f3, it must just be an in the code thing only.austin56101 wrote:Lol whatever works for you:)
felinoel- Member
- Posts : 18
Join date : 2011-10-19
Re: Flower or spiderweb like items [unAnswered]
This didn't work... I want to rotate the model not change the render type..?austin56101 wrote:the render type
felinoel- Member
- Posts : 18
Join date : 2011-10-19
Similar topics
» [unanswered]Biome
» How to Generate items in chests
» [Unanswered] Bow and Arrow Tut??
» [Unanswered] Particles
» [Unanswered] Bow modding.
» How to Generate items in chests
» [Unanswered] Bow and Arrow Tut??
» [Unanswered] Particles
» [Unanswered] Bow modding.
MC Modding :: Modding :: Singleplayer Modding :: Requests
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum