Carbon Config

Carbon Config

3M Downloads

More Control of newLining for Configs as File without stupid level of nesting

Xaikii opened this issue ยท 1 comments

commented

Currently we can use CompoundBuilder::setNewLined which allows us to turn this:
[id: minecraft:protection;
prio: 10;
TextColor: 0xff9251c0;
BackgroundColor: 0xee151515;
BorderstartColor: 0xff5f7dad;
BorderendColor: 0xff5d8c61;]
into this:
[id: minecraft:protection; prio: 10; TextColor: 0xff9251c0; BackgroundColor: 0xee151515; BorderstartColor: 0xff5f7dad; BorderendColor: 0xff5d8c61;]
Could we get more control for this with manually inserting an incoming newLine to also be able to do this?:
[id: minecraft:protection; prio: 10;
TextColor: 0xff9251c0; BackgroundColor: 0xee151515;
BorderstartColor: 0xff5f7dad; BorderendColor: 0xff5d8c61;]

commented

Yeah this might become handy