Jump to content

custom bonemeal [unsolved]


ashtonr12

Recommended Posts

how?

all of the tutorials i have found are old and dont work.

this is as far as i have gotten.

@ForgeSubscribe
    public void onUseBonemeal(BonemealEvent event)
    { if (event.ID == Block.sapling.blockID)
    {
        if (!event.world.isRemote)
        {
                ((net.minecraft.blockSapling)BlockSapling).growTree(event.world, event.X, event.Y, event.Z, event.world.rand);
        }}

 

and this really doesnt work. i was just currently trying to get it to grow a sapling later followed by other plants :P

any ideas?

Use examples, i have aspergers.

Examples make sense to me.

Link to comment
Share on other sites

I also tried adapting the dye (bonemeal) code itself but i couldnt resolver var 13 and my item had no meta data so some of the code wasnt valid. I couldnt get it to work without creatin 16 Manures only one of which worke and i could make the cow only drop the correct one but when you go into creative mode it would show them all as identacle manures. :/

 

so any help atall would be usefull really, completely new or adapted :)

Use examples, i have aspergers.

Examples make sense to me.

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.