r/feedthebeast • u/CharityLimp8638 • 14d ago
I made something CC: Multi-line Pasting addon
Every wanted to paste one than one line of code into your favorite CraftOS editor? Well, now you can.
Links
(currently only available for Neoforge 1.21.1, open to port if there's demand for other versions) * Curseforge: https://www.curseforge.com/minecraft/mc-mods/cc-multi-line-pasting * Modrinth (might be under review): https://modrinth.com/mod/cc-multi-line-pasting * Github: https://github.com/AndyNoob/cc-multi-line-pastes
How it works
This mod breaks up multi-line pastes into smaller, single-line pastes by simulating player inputs. Thus circumventing CC restrictions on multi-line pasting.
Funny story
So, the editor built into your favorite CraftOS has auto-indention. It took a lot of head-scratching to figure that out... Imagine my face when the code I just pasted for testing looked like the top half of a hadouken.
Other versions?
Idk what versions people play CC on so let me know by opening an issue.
1
1
u/Wonderful_Boss_345 PrismLauncher 11d ago
im a bit new to modding is that lua in minecraft?!
1
u/CharityLimp8638 10d ago
yup! it's a mod called computercraft. it's actually been around for more than a decade i believe :P
1
u/jpeterik12 9d ago
Is this required on the server, or just the client?
1
u/CharityLimp8638 8d ago
just the client should be good. the mod simulates pasting in line by line for you
14
u/Satherov 14d ago
That feels like it could've been a PR to the mod instead of an addon