Rebirth of the Night (RotN)

Rebirth of the Night (RotN)

1M Downloads

[BUG] Myrmexes can Silk Touch BOP Grass

KaleThyself opened this issue ยท 3 comments

commented

Describe the bug

Since Myrmexes are so special, they're able to silk touch certain BOP grasses such as Medium Grass and Short Grass. Presumably, they can also silk touch the other BOP grasses.

To Reproduce

  1. Plant a Myrmex Queen Egg in a BOP biome with BOP shrubbery in it.
  2. Wait until the Queen hatches and begins her operation on colonization.
  3. Watch as the Myrmex Workers magically silk touch BOP grass.

Expected behavior

I expect Myrmex Workers to treat grass equally.

Screenshots

image

Modpack Version

3.1.1a

Server or singleplayer

Singleplayer

Version the world was created on:

3.1.1a

Other...

No response

Additional context

No response

commented

Can they silk touch other blocks that do not usually drop themselves?

I can confirm that they can silk touch other BOP shrubbery, though I'm not sure what else to test.
image

commented

Can they silk touch other blocks that do not usually drop themselves?

commented

https://github.com/Rebirth-of-the-Night/Ice_and_Fire/blob/7f3d7d43f51613a36a71f131158a34e08774bfd3/src/main/java/com/github/alexthe666/iceandfire/entity/ai/MyrmexAIForage.java#L93-L113
Relevant I&F lines

https://github.com/Glitchfiend/BiomesOPlenty/blob/5ad77116382bec782a023926b8dab17a6ea5599d/src/main/java/biomesoplenty/common/block/BlockBOPPlant.java#L223-L282
Relevant BOP lines

On a preliminary analysis, it doesn't seem like silk touch or dropping the block itself is involved anywhere, unless I&F somehow calls the shears method instead - admittedly, there are some variants which do drop themselves, but not medium grass normally, as shown in the first screenshot.