Block Procedures

Started by farsvars on

Topic category: General Minecraft forum

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block Procedures
Mon, 06/02/2025 - 12:57 (edited)

I started creating a mod where you can dry fish. The mod's working principle is that there is an empty block for drying fish, when you click on it (there is a fish in the inventory), it replaces the block with a block with a fish inside, and the fish is taken away from the player. Via (conditional for tests) For 10 seconds, the block is replaced by a block with 1 dried fish. If there are 2 raw fish in the box, then after a while it is replaced by a box with two raw fish. But there is a problem, the more fish get into the block, the more often it is replaced, so if you try to capture the moment, you can clearly see how the block will be replaced, and at that moment pick up the fish. However, as a result, you can get a lot of fish and the drying box itself for free in large quantities. I'm sorry for my English, I'm just from Russia, so I'll add a video with the error itself below.
https://www.youtube.com/watch?v=ClD5qrTlAio

Edited by farsvars on Mon, 06/02/2025 - 12:57