Jump to content

Trying to register blocks using the registerAll method. i don't know what i am suppose to put into the parameters


Recommended Posts

Posted (edited)

You pass in an array or list of block instances.

GledstoneWireGeneral (appears to be) a class.

Edited by Draco18s

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.

Posted

Do you know Java or are you following a tutorial letter for letter?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted (edited)
  On 3/31/2020 at 8:56 PM, DaemonUmbra said:

Do you know Java or are you following a tutorial letter for letter?

Expand  

i am using my previous nollej of programming to reverse engineer the system and using tutorials as "you are here" points

Edited by idontspam
Posted
  On 3/31/2020 at 7:58 PM, idontspam said:

where do i import it from?

Expand  

It's this the net.minecraftforge.eventbus.api.SubscribeEvent.

If you can't import that you set up your workspace incorrectly and will need to inform us on how you set it up.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
  On 3/31/2020 at 11:36 PM, Animefan8888 said:

It's this the net.minecraftforge.eventbus.api.SubscribeEvent.

If you can't import that you set up your workspace incorrectly and will need to inform us on how you set it up.

Expand  

Well first i downloaded the forge mdk. next i imported the project file into IDEA. next i modified build.gradle and gradle.properties to fit my needs. and everytime i want to make a build and run it i just type "gradlew build" into the IDEA terminal and copy the jar from ./libs to /mods , and i make sure to delete previous jar version inside /mods. anyways i think this could might be useful to you but their is no

net.minecraftforge.eventbus. package inside any of my _compileJava_# files

Posted

You know you can run the game inside your IDE, right?

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.

Posted

So instead you're going to spend energy fixing problems caused by not setting things up properly.

 

Enjoy, I guess?

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.

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.