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 guys, I need your help ! I don't know much about mods and programming, I specialize in visual content, so I have difficulties. How do flower pots work in minecraft ? And how do I make a custom version ? Please help !

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

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. 

  • Author

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.

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).

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

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

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.

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

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.