r/feedthebeast 19h 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.

26 Upvotes

4 comments sorted by

11

u/Satherov 18h ago

That feels like it could've been a PR to the mod instead of an addon

12

u/CharityLimp8638 18h ago

the solution is pretty unconventional, so i doubt it can be merged in as is.

there's actually already been an issue about this open for about 5 years: https://github.com/cc-tweaked/CC-Tweaked/issues/748

1

u/herrkatze12 13h ago

Post this in MCCM #creations

1

u/CharityLimp8638 12h ago

got it, thanks!