mini-mammoth / celtic-rituals

Minecraft Mod for 1.14 - Sacrifice mobs to please the gods and become a strong druid
MIT License
3 stars 0 forks source link

Changing biome with ritual back requires blockupdate to see visual changes #55

Open reicheltp opened 4 years ago

reicheltp commented 4 years ago

Using a ritual bag with :change_biome effect the visual changes are visible only after the next block update.

Steps

  1. Go to a biome where gras is rendered other than on the new biome
  2. Throw a ritual bag with :change_biome effect on ground

Current Behavior

You have to trigger a blockstate update to see the grass blocks rendered in new biome colors. But, F3 says you are in the new biome.

Expected behavior

All grass is rendered in the colors of the new biome.

Workaround

Trigger blockupdate

Possible Solution

Find a way to trigger a blockstate update in ChangeBiomeEffect.BIOME_CHANGED_MESSENGER.handle.