Plants, Trees, Leaves, Crops, Dirt? Please Help!

Started by SheapCreaper on Mon, 09/04/2017 - 15:57

Topic category: Help with MCreator modding

Last seen on 21:02, 27. Feb 2018
Joined Feb 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Plants, Trees, Leaves, Crops, Dirt? Please Help!
Mon, 09/04/2017 - 19:28 (edited)

- How do you create crops that grow in farmland? I have different growth stages for the plant I want to grow, but none of the answers I've found have been very detailed.

- How do I create saplings that grow into the trees they come from? I'm working without custom schematics, but the trees are made with custom blocks and different heights.

- How do I get different drops from leaves (apples, saplings, etc.), and how do I get them to work with shears?

- Plants such as custom flowers appear large and block-like when held; is there a way of getting them flat like they are in vanilla?

- Can you make another kind of dirt that can be tilled and planted on without tilling?

- Can you have more than one kind of tree per biome? If so, how?

Thanks for any help! PLEASE be specific; this stuff is confusing.

Edited by SheapCreaper on Mon, 09/04/2017 - 19:28
Last seen on 21:22, 22. Jun 2019
Joined Aug 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You're asking pretty complex
Mon, 09/04/2017 - 19:42

You're asking pretty complex questions x) but almost everything can be done, so.

  1. For crops you have to create first 1 block for every stage or your crop, but you'll need custom model for those, cause in MCreator you can only select normal 1x1x1 block or cross-like block.
    Then you just have to add a stack event "on update tick", set 2 conditions: is day  and randomPossibility[] (set the possibility to whatever you want, higher="faster growth") and set 2 events: remove block and place block selecting the block for your next crop stage.
    So you have to repeat these passages till you reach your last stage where you have to set the events so that you can get your crop on rightclick and make your last-stage block, disappear leaving only a farmed dirt block.
  2. For the sapling. You HAVE to create a .schematic or you cannot make spawn a tree from a sapling. In the sapling block create a stack event update tick , set randomPossibility[] as condition (I suggest to set it really low, like 0.1 or lower!) and add events: remove block and place shematic (select your tree .schematic).
    To make it spawn with bonemeal, I guess you can use global events (when bonemeal is used) selecting  as condition blockAt[i,j,k] == your sapling and again stack event, remove block/place schematic at randomPossibility.
  3. To obtain different drops from leaves you first need custom leaves block. Then events: when player destroy block ---> spawn gem = your leaves with the condition that you have shears in you hand. Otherwise, at randomPossibility, spawn gem = sapling/apple/fish/whatever
    Note: you have to set the drop amount of your leaves block to 0
  4. Selecting cross for the block model of the plant should do the trick
  5. Do not really know what you mean D: but you can create a custom dirt block and on rightclick with itemInPlayersHand = hoe ---> remove block and place farmland 
  6. "Yes". You just have to create every tree you want in minecraft, then export them, create some new structure gen using your tree .schematics and make them spawn in your biome.

That should be all

Last seen on 21:02, 27. Feb 2018
Joined Feb 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:You're asking pretty complex
Mon, 09/04/2017 - 20:29

@#1 Thanks for the help!