MC Modding
Please register and join the community!

Flower or spiderweb like items [unAnswered]

Go down

Flower or spiderweb like items [unAnswered] Empty Flower or spiderweb like items [unAnswered]

Post by felinoel on Wed Oct 19, 2011 3:11 pm

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
felinoel
Member

Posts : 18
Join date : 2011-10-19

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by austin56101 on Sat Oct 22, 2011 10:32 pm

put this into the block file:

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:
Flower or spiderweb like items [unAnswered] Example1e
austin56101
austin56101
Moderator
Moderator

Posts : 85
Join date : 2011-10-22
Age : 23
Location : Cali!

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by felinoel on Sat Oct 22, 2011 11:32 pm

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?
felinoel
felinoel
Member

Posts : 18
Join date : 2011-10-19

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by austin56101 on Sat Oct 22, 2011 11:38 pm

what?
austin56101
austin56101
Moderator
Moderator

Posts : 85
Join date : 2011-10-22
Age : 23
Location : Cali!

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by felinoel on Sun Oct 23, 2011 12:02 am

Change the z axis to x, of type 2.
felinoel
felinoel
Member

Posts : 18
Join date : 2011-10-19

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by austin56101 on Sun Oct 23, 2011 12:11 am

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
austin56101
Moderator
Moderator

Posts : 85
Join date : 2011-10-22
Age : 23
Location : Cali!

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by felinoel on Sun Oct 23, 2011 12:21 am

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
felinoel
Member

Posts : 18
Join date : 2011-10-19

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by austin56101 on Sun Oct 23, 2011 12:22 am

lol ok that should work
austin56101
austin56101
Moderator
Moderator

Posts : 85
Join date : 2011-10-22
Age : 23
Location : Cali!

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by felinoel on Sun Oct 23, 2011 12:26 am

Sweet, now to await a bow modding tutorial for the Inuit bow. Thanks for your help.
felinoel
felinoel
Member

Posts : 18
Join date : 2011-10-19

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by felinoel on Wed Oct 26, 2011 5:18 am

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
Wait... what exactly in there makes the z-axis be the x-axis?
felinoel
felinoel
Member

Posts : 18
Join date : 2011-10-19

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by austin56101 on Wed Oct 26, 2011 5:19 am

the render type
austin56101
austin56101
Moderator
Moderator

Posts : 85
Join date : 2011-10-22
Age : 23
Location : Cali!

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by austin56101 on Wed Oct 26, 2011 5:19 am

also itss not xyz
notch is stupid and made it ijk lol
austin56101
austin56101
Moderator
Moderator

Posts : 85
Join date : 2011-10-22
Age : 23
Location : Cali!

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by felinoel on Wed Oct 26, 2011 5:24 am

austin56101 wrote:the render type
Oh... interesting?

austin56101 wrote:also itss not xyz
notch is stupid and made it ijk lol
Sounds like he just wanted to make it original to me, seems pretty cool imo.
xyz is the standard though and as such is more recognizable so I will keep calling it that.
felinoel
felinoel
Member

Posts : 18
Join date : 2011-10-19

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by austin56101 on Wed Oct 26, 2011 5:27 am

Lol whatever works for you:)
austin56101
austin56101
Moderator
Moderator

Posts : 85
Join date : 2011-10-22
Age : 23
Location : Cali!

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by felinoel on Thu Oct 27, 2011 10:56 pm

austin56101 wrote:Lol whatever works for you:)
Also in game it says xyz when you check out f3, it must just be an in the code thing only.
felinoel
felinoel
Member

Posts : 18
Join date : 2011-10-19

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by felinoel on Sat May 19, 2012 5:59 pm

austin56101 wrote:the render type
This didn't work... I want to rotate the model not change the render type..?
felinoel
felinoel
Member

Posts : 18
Join date : 2011-10-19

Back to top Go down

Flower or spiderweb like items [unAnswered] Empty Re: Flower or spiderweb like items [unAnswered]

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum