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

Modems broken by Create contraptions #82

Open
MintTee opened this issue Nov 16, 2023 · 4 comments
Open

Modems broken by Create contraptions #82

MintTee opened this issue Nov 16, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@MintTee
Copy link

MintTee commented Nov 16, 2023

Description
Modems broken by Create contraptions. Modems break by being turned into the entity / block state from the Create mod contraptions.

This issue has been reported and experience by a lot of other players. See thoses posts :

Creators-of-Create/Create#4959
cc-tweaked/CC-Tweaked#948

To Reproduce

  1. Make a contraption with modem glued to it.
  2. Move or turn the contraption so that it becomes an entity.
  3. Turn the contraption back into blocks.

Result : Modems broke

Expected behavior
Modems not breaking off contraptions.

To resolve issue
Ok, so I have a pretty clear idea on why this is happening. Create uses the block tag "create:brittle" to indicate to it's contraption that objects such as redstone links or Valve handle should be placed last when the contraption converts back into blocks. That way blocks with the "create:brittle" have something to attach to.

Since CC:T modems (ender or wireless) don't have that "create:brittle" tag but also need to be attached to a solid block, I believe the contraption tries to place them first, therefore making them insta break / pop.

Adding this tag to modems may fix the issue. Since CCC:Bridge adds compatibility between Create and CC:T, I thought it would be a good idea to report it here.

Hope you can help,
MintTee

Software :

  • Minecraft Version 1.20.1
  • Mod Version v1.6.2b
  • ModLoader Fabric
@MintTee MintTee added the bug Something isn't working label Nov 16, 2023
@SammyForReal
Copy link
Collaborator

Hey, thank you for this issue!
This sounds like a great idea, I didn't know about that actually.
I will look into this.

@MintTee
Copy link
Author

MintTee commented Nov 16, 2023

Thanks for the acknowledgment.

There is also this "create:safe_nbt" block tag which I guess tells the contraption to keep the nbt data of the blocks in order to place them with the same state. Not 100% sure though.

@MintTee
Copy link
Author

MintTee commented Feb 3, 2024

I found a workaround to this issue.

It's possible to use turtles on contraptions. Since they are considered a solid block, they dont need a support block (they can float mid air). Therefore, unlike modems, they wont break when turned into a contraption form or back into the block form. They will, however, shutdown and restart.

If you create a program called "startup" in the default directory and have the "shell.run("program_name")" inside it, it is possible to run any program automatically as soon as a computer / turtle restarts.

Maybe this temporary workaround can help a few people experimenting with Computer Craft on Create contraptions.

@Plite7067
Copy link

Create:safe_nbt seems to tell create that the block can have its nbt saved in a schematic without duplicating items, so not related as far as I can tell.
https://github.com/Plite7067/CreateCCModemFix I made this datapack which seems to solve the problem by adding the brittle tag as the original poster suggested. It should work for all versions necessary - I have tested that it applies the tag correctly on 1.18.2+

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

No branches or pull requests

3 participants