Jump to content

How to make a custom flower pot?


Raw Salmon

Recommended Posts

Have a look at the vanilla classes, flower pots exist in the base game, so use your IDE and have a look, hopefully all the info you need is already there ?

Class you're looking for is called FlowerPotBlock btw

Edited by MistaOmega
added what class to actually look for
Link to comment
Share on other sites

You want to make a model, sure, you can make a model using something like blockbench, which someone suggested to me and its good, but the functionality and implementing it into your mod, you need some code knowledge I'm afraid, if you don't know java, go learn about it and then come back to this. 

Link to comment
Share on other sites

2 minutes ago, Raw Salmon said:

Thank you, I know I need to learn java for this, but I don't have time. So I asked a question, perhaps someone has already asked this, or there is some kind of tutorial.

I don't want to be rude or just pie you off, it's no way to go about things, but saying "I don't have the time" is a completely backwards way to think about it, you want that knowledge first, or you'll have no idea what's actually doing what.

I haven't made a flower pot yet, but by extending the FlowerPotBlock class, most of the functionality should be present already for things like blockupdates and adding the flower itself. from there it may just be a case of add your own texture/model/whatever you want to do.

 

You want a basic block tutorial, look for McJTY (the absolute unit who makes RFTools).

Link to comment
Share on other sites

1 minute ago, Raw Salmon said:

Thank you, I know I need to learn java for this, but I don't have time. So I asked a question, perhaps someone has already asked this, or there is some kind of tutorial.

You will have a Bad Time trying to make a mod without knowing Java. This will only be the first question of so many, and this board is for forge, not a Java school. Not trying to be mean, just stating how it is. Eventually asking basic questions will end up attracting the attention of a moderator, and you will likely be told in a much more direct way that you will need to know some Java before making a mod.

 

You say "I don't have time", but it will take you longer to make a mod not knowing Java, than to learn some Java then come back and make a mod using what you learned. This will be due to you not understanding basic Java/programming concepts, having to wait around for forums replies before you can do anything, and of course, being repeatedly told you need to learn Java.

 

This is something every single developer here went through at one point or another (I'm betting anyway), writing stupid programs that don't do anything useful, and writing throwaway snippets of code while learning how it works. I do not believe there are any shortcuts, sorry

  • Like 1
Link to comment
Share on other sites

1 minute ago, Ugdhar said:

You will have a Bad Time trying to make a mod without knowing Java. This will only be the first question of so many, and this board is for forge, not a Java school. Not trying to be mean, just stating how it is. Eventually asking basic questions will end up attracting the attention of a moderator, and you will likely be told in a much more direct way that you will need to know some Java before making a mod.

 

You say "I don't have time", but it will take you longer to make a mod not knowing Java, than to learn some Java then come back and make a mod using what you learned. This will be due to you not understanding basic Java/programming concepts, having to wait around for forums replies before you can do anything, and of course, being repeatedly told you need to learn Java.

 

This is something every single developer here went through at one point or another (I'm betting anyway), writing stupid programs that don't do anything useful, and writing throwaway snippets of code while learning how it works. I do not believe there are any shortcuts, sorry

yeah, what boss man here said :D

Link to comment
Share on other sites

In my opinion making a minecraft mod can also be a very good way of learning java. You research when you are stuck, and learn from it. Also having the experience of "actually" creating something can gives you some willing to keep going on. But of course, it will never be a bad idea to have some basic knowledge of java.

Link to comment
Share on other sites

10 minutes ago, poopoodice said:

In my opinion making a minecraft mod can also be a very good way of learning java. You research when you are stuck, and learn from it. Also having the experience of "actually" creating something can gives you some willing to keep going on. But of course, it will never be a bad idea to have some basic knowledge of java.

Oh absolutely, for basic things, sure why not, but I'd start with something like bukkit or spigot tbh, it's a lot less involved to make some interesting stuff happen

Link to comment
Share on other sites

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.