Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basaltToLavaConversion is not fully compatible with Carpet's movableBlockEntities #24

Closed
Infinidoge opened this issue Jul 7, 2021 · 5 comments
Labels
bug Something isn't working incompatibilty Incompatible with another mod

Comments

@Infinidoge
Copy link

When using Carpet's movableBlockEntities in conjunction with Rug's basaltToLavaConversion, piston-pushed basalt does not correctly convert to lava.

Reproduced on Minecraft 1.16.5 with Rug 1.1.8, Carpet 1.4.43, and Fabric API 0.36.0

Setup: (Set basaltToLavaConversion and movableBlockEntities to true, Soul Soil is below the first basalt)
image

After pushing the button once: (Source block appears to be generated)
image

Right-clicking the apparent source block shows smoke particles, and can be done repeatedly. Right-clicking with a bucket appears to pick up lava, but attempting to place it reveals the empty bucket.

After pushing the button a second time: (Source block is revealed to not have generated)
image

Changing movableBlockEntities to false, then repeating the steps, the lava generates, can be picked up with the bucket, and pressing the button repeatedly destroys the lava with the basalt block then generates a new lava source through the conversion.

Creating a direct lava generator setup:
image
Works as expected regardless of movableBlockEntities, though the lava generates twice before it stops generating. (Lava is able to be gotten with a bucket normally from both.

@RubixDev
Copy link
Owner

RubixDev commented Jul 7, 2021

I can confirm both bugs you mentioned still working with the latest 1.17 versions. I will work on them now

@RubixDev RubixDev added bug Something isn't working incompatibilty Incompatible with another mod labels Jul 7, 2021
@RubixDev
Copy link
Owner

RubixDev commented Jul 7, 2021

Finally got it! The problem was, that carpet overrides one minecraft method, which I was changing for the basalt conversion, when movableBlockEntities is on, so I had to figure out a way to change that method the same way.

Now onto that double conversion...

@RubixDev
Copy link
Owner

RubixDev commented Jul 7, 2021

Also what you said that it looks like it's working but isn't, that is only with rug installed on the client, or at least I didn't have it with a vanilla client

@RubixDev
Copy link
Owner

RubixDev commented Jul 7, 2021

Got that as well now. It was basically just another basalt block generating, due to the vanilla behavior, that then immediately converted into lava again. I now added a check if the block already is a lava source, and if so, cancel the generation of the basalt block

@Infinidoge
Copy link
Author

Nice! That was quick, good to see that it wasn't a deep incompatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working incompatibilty Incompatible with another mod
Projects
None yet
Development

No branches or pull requests

2 participants