Rotatable blocks, Crops - Farmland, Block destroy & TickRate

Started by JohnPolyStriker on Tue, 04/25/2017 - 17:22

Topic category: Help with modding (Java Edition)

Last seen on 07:08, 6. May 2017
Joined Apr 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Rotatable blocks, Crops - Farmland, Block destroy & TickRate
Thu, 04/27/2017 - 12:04 (edited)

Hey guys.

I have next problem...

1. I want to make some block which can rotate like a wood, chest... I want my blocks to be place in 4 or 8 directions along the x-axis.

2. I'm making crops... When I place crops to farmland, the farmland changes to dirt. What should I do to keep the farmland there?

3. I want the crops to be destroyed when I destroy block under them. If I destroyed farmland, the crops would be destroyed too.
I know I ha to do something with event "When neighbour block changes" but I don't know how to determinate the right block.

4. I want set TickRate for crops but when I set it in a block option, it will overwrite it to 10. When I overwrite it in code, nothing will happen. In code is number 1600 but in game is still 10 ticks. 
I read it's a bug but I'm not sure is it true.

 

Can you help me again please?

Edited by JohnPolyStriker on Thu, 04/27/2017 - 12:04
Last seen on 11:41, 17. Oct 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
1- see the nuparo's tutorial
Thu, 04/27/2017 - 12:46

1- see the nuparo's tutorial
2-i think you can make a tick rate event: add block j, k-1, i farmaland (condition :is block at j, k-1,i =! air)
3-tick rate event : destroy block with drop j, k, i (condition:is block at j, k, u= air)
4- try to edit it in the code. Search for "tick rate" or something similar and edit the value.

Last seen on 14:32, 21. Dec 2019
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Where is nuparo's tutorial?
Mon, 11/25/2019 - 22:39

Where is nuparo's tutorial?