BetterEnd

BetterEnd

27M Downloads

[Bug] Mossy obsidian and mossy dragon bone blocks currently can't spread.

Flyvee opened this issue ยท 3 comments

commented

What happened?

The code to make the other mossy blocks spread, wasn't done for the mossy obsidian to obsidian blocks and mossy dragon bone for dragon bone blocks.
parent
Here in the parent branch (https://github.com/paulevsGitch/BetterEnd/tree/58a2894658c1457a50f4200b112df4c034873a1b/src/main/java/ru/betterend/registry)/EndTags.java
The mossy obsidian and mossy dragon bone is done there on line 97 and 98, but in the current branch:
current
It is missing.

BetterEnd

2.1.2

BCLib

2.1.4

Fabric API

0.67.1

Fabric Loader

0.14.10

Minecraft

1.19.2

Relevant log output

No response

Other Mods

No response

commented

Thanks for reporting. Just as a small info, this is done differently now. Bonemeal-spreading is Tag-Based now.

This code adds the tag to the block

public static final Block MOSSY_OBSIDIAN = registerBlock(
"mossy_obsidian",
new MossyObsidian(),
BCLBlockTags.BONEMEAL_SOURCE_OBSIDIAN
);

If you bonemeal a block that has the BONEMEAL_TARGET_OBSIDIAN-Tag, and if there is another mossy obsidian in the 3x3 Neighbourhood there is a chance that it will spread on the clicked block.
https://github.com/quiqueck/BCLib/blob/1f4f1e79e927b3546a529324034ccc07fb4ee1de/src/main/java/org/betterx/bclib/api/v3/tag/BCLBlockTags.java#L36

But maybe that is not working as it should...

commented

Ah, but I think I did not register that pair :(

Will fix that in the next release...

commented

Released with BCLib 2.1.5