-
Notifications
You must be signed in to change notification settings - Fork 302
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
Hot Swapping Cables & Wires #3336
base: master
Are you sure you want to change the base?
Conversation
handCable.mInsulated, | ||
handCable.mCanShock)); | ||
|
||
world.setBlock(x, y, z, Blocks.air); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you really need to swap the entire block? You already are setting the MTE at this position, and the blocks for the different cables should be exactly the same (possibly meta is different, but you can just change the meta value).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if i dont then it functions as one cable and looks like another
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That means you're not sending an update to the renderer most likely, forcing a block update is just a roundabout way of doing so and not really ideal.
@dagger8243 any update on this? |
Video below describes it best:
2024-10-06.02-24-05.mp4
To do:
Figure out that error that pops upCleaner replacement made it go away on its ownFix the mConnections variable when new one is placedFair tradeMODKEYSet to LCONTROL by default, need to figure out keybindings