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

I think I should have done/ask this time time ago.

 

Is there a place where I can get information about all the functions that we have available and how to implement them?

 

Thanks.

Basically the whole of Minecraft is open to you.  What is your goal?

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author

Well, basically know "everything" we have available to use. Let's say I want to make a block that has to check if other specific block is above it. (Or below, or close, and so on)

 

I'm almost sure there is some function to check for neighbors blocks. But instead of learning all that from Tutorials, where can I look at those... Or it's just by digging around the Minecraft code?

That's all vanilla.  When a block gets an update, it's given a world object and it's location. 

world.getBlock(x, y+1, z);//block above

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

I think I should have done/ask this time time ago.

 

Is there a place where I can get information about all the functions that we have available and how to implement them?

 

Thanks.

 

Yes there is! It is a relatively new site called www.google.com. This site can answer almost any question you put into it!

There are javadocs available for Forge at files.minecraftforge.net, that should give you enough information. 

Unfortunately, as you've probably already discovered, the documentation for Forge is a bit patchy and of "highly variable" quality.

 

There are a number of tutorial sites around which help.  The Tutorials section on this board has some good ones.

 

You might also find this one useful :)

http://greyminecraftcoder.blogspot.com.au/p/list-of-topics.html

and the accompanying sample project

https://github.com/TheGreyGhost/MinecraftByExample

 

But most of the time it comes down to trial and error, reverse-engineering the vanilla code, and good debugging skills...

 

-TGG

 

Unfortunately, as you've probably already discovered, the documentation for Forge is a bit patchy and of "highly variable" quality.

 

Because it's a right pain in the arse to update them.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author

There are javadocs available for Forge at files.minecraftforge.net, that should give you enough information.

 

Yes thanks Charsmud, I found the Java docs and it helps a lot, at least to know everything there is available to use (Or most I guess)

 

Unfortunately, as you've probably already discovered, the documentation for Forge is a bit patchy and of "highly variable" quality.

 

There are a number of tutorial sites around which help.  The Tutorials section on this board has some good ones.

 

You might also find this one useful :)

http://greyminecraftcoder.blogspot.com.au/p/list-of-topics.html

and the accompanying sample project

https://github.com/TheGreyGhost/MinecraftByExample

 

But most of the time it comes down to trial and error, reverse-engineering the vanilla code, and good debugging skills...

 

-TGG

 

Thanks TheGreyGhost. Yes, I saw some of the tutorials are really helpful, and yes trial and error or finding a tutorial that explain exactly what we are looking for are the best alternatives apparently.

 

I have done easy things mostly when doing a mod, but I'm trying to learn more to go forward more advanced stuff.

 

Thanks for all the answers ;)

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.