Jump to content

carpton_falcon

Members
  • Posts

    1
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

carpton_falcon's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. So I want to make a variety of plants—small herbs—that can only be planted in flower pots. There doesn't SEEM to be any kind of flowerpot type in enumPlantType, but maybe that's because—from what I can tell—the flowerpot is not even really a plantable surface? Am I right in thinking that there is some code in the BlockFlowerPot which, on a rightclick, gets the item value of whatever is active in your inventory, converts it to a meta-data value for the flowerpot, and then uses this to store and display the item you've planted? If that's the case, I could use some help: Does this mean there are only 16 total plants that can be put in a pot and that 11 of these spaces are taken? Does this also mean that there is no way to fit a growing animation into this? If this is the case. Can you tell me if the following is a feasible option: if the active inventory item is an herb sprig { disestablish the flower pot and replace it with a new, herb pot object (BlockHerbPot) } ELSE etc. Where BlockHerbPot would be a pot-similar technical object, with 10 spaces of meta data for the herb type and 4 for the growth graphic (shoot1, shoot2, shoot3, grown). The herb number would be used to find the terrain.png offset of the plant and the growth number would be used to further offset from that. it would probably borrow a lot of code from BlockCrops. At fully grown, hitting the pot would drop herbs. Hitting the pot at anything under grown would drop one herb. When the pot has shed either load of herbs, it is swapped out for a regular flower pot. The question is now. DOES THIS SOUND LIKE A GOOD APPROACH and also can this actually be done in minecraft forge, or would the API restrict me here?
×
×
  • Create New...

Important Information

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