Jump to content

Recommended Posts

Posted

for anyone stuck in the same situation heres the working code:

 

 

  Reveal hidden contents

 

Posted

Two things, you just copied code from ItemDye for bonemeal code. Two why would

EnumDyeColor enumdyecolor = EnumDyeColor.byDyeDamage(stack.getMetadata());

                   if (enumdyecolor == EnumDyeColor.WHITE)

Ever return true if It is not A dye. Also we need the error. What is happening?

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

I also tried this and it still wont do anything

 

  Reveal hidden contents

 

Posted

I tried taking out the cocoa beans and it still does nothing

 

 

  Reveal hidden contents

 

 

Posted
  On 8/19/2016 at 9:51 PM, Animefan8888 said:

Two things, you just copied code from ItemDye for bonemeal code. Two why would

EnumDyeColor enumdyecolor = EnumDyeColor.byDyeDamage(stack.getMetadata());

                   if (enumdyecolor == EnumDyeColor.WHITE)

Ever return true if It is not A dye.

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

tried this code

 

 

  Reveal hidden contents

 

 

 

but on ItemDye.applyBonemeal I get the error,

 

The method applyBonemeal(ItemStack, World, BlockPos, EntityPlayer) in the type ItemDye is not

applicable for the arguments (ItemStack, World, int, int, int, EntityPlayer)

Posted
  On 8/19/2016 at 10:57 PM, hhggtg3279 said:

stop being sarcastic and please help, its the only thing stumping me and just help

The thing was I wasn't being sarcastic...That error literally tells you what is wrong.

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

First time modding or first time using java. Why don't you look at the method applyBonemeal and see what the difference is between what you call, and what it is.

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

First time using java, I have kinda been going off making the mod off tuts and generally searching the forums, I have spent over 2 hours looking for fool proof code that works. My knowledge is very limited and I just need this one thing solving, so can you show me what it should look like?

Posted

Nobody's going to just give you the code, that's not how this forum works.

 

You need to spend the time to learn Java properly and then fix the code yourself.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Good job learning nothing. :)

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.