Draw "stages of infection" on Vanilla Blocks texture based on NBT?

Started by Yusufhum3 on

Topic category: Troubleshooting, bugs, and solutions

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Draw "stages of infection" on Vanilla Blocks texture based on NBT?
Tue, 03/09/2021 - 14:22 (edited)

Hello, so basically I want to have some sort of Bacteria that can eat through all blocks (custom, vanilla and blocks from other mods too unless they have a "immunity").

The thing is that I know how to change a custom blocks texture based on NBT but for this I would need to be able to draw my custom "infection stages" on top of a vanilla block`s texture while still seeing the Vanilla Block and some slightly greenish infected part if that makes sense. Then I would have to make a procedure that randomly picks one or multiple blocks every tick (as a replacement to the normal "Tick randomly" because with this I can also include vanilla blocks in procedures too) and if that block has the infection, it will go into the next stage and once its fully infected the block will be destroyed and some "leftover" piece will drop.

Any help would be appreciated, thanks!

Edited by Yusufhum3 on Tue, 03/09/2021 - 14:22