Jump to content

Plants


ashtonr12

Recommended Posts

does anyone know how to add a new plant type, you know when you add a plant you set a type such as beach and this requires the plant to be on dirt sand or grass and have water next to it.

i know how to specify the conditions of the type and where but i dont know how to add a type because they are listed in a enum list which i cannot extend and i cannot create a new list because it would not be called in the cansustain method.

package net.minecraftforge.common;

public enum EnumPlantType
{
    Plains,
    Desert,
    Beach,
    Cave,
    Water,
    Nether,
    Crop
}

 

the vanilla plat type list.

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.