#How do I store one billion characters in a single item

1 messages · Page 1 of 1 (latest)

late sage
#

I wanna store a billion (atleast a hundred million) characters of text inside a single item, without putting items inside items (unless you can put infinite items in that item then it’s ok)
And it has to work between rejoins.
And also be able to be transported between worlds using structure blocks like if I put it in a chest
And also no beta apis

#

This sounds so stupid

pseudo walrus
leaden fern
#

For what purpose? There has to be a better way to design whatever you're trying to build, otherwise Minecraft may not be the right place for you to do this.

late sage
late sage
# floral spade why? 😭

I wanna make a structure save and load system. That Doesent use structures because they have limitations of size.

floral spade
#

Why the hell do u need a whole billion characters?!

late sage
#

Or more

floral spade
late sage
floral spade
#

oh

floral spade
late sage
#

Structure blocks can’t even do 100x100

floral spade
#

just why do u need that much?

late sage
late sage
floral spade
late sage
#

I just need a way to store that data when it’s saved

#

Idrc if the game crashes

floral spade
floral spade
late sage
late sage
#

What about entities or a block?

#

Or chests in a chest in a chest in a chest

floral spade
late sage
#

Or files??

floral spade
#

first of all, u can't save the exact data of block, entity or anything

#

u can read and save only what the API gives

late sage
floral spade
#

or use structures

floral spade
late sage
#

Can I save to a file? Is that possible?

floral spade
floral spade
late sage
#

Good idea

#

Very good idea

#

I’ll try that

floral spade
#

but why? 😭

#

why not just press the damn button and get the whole world in one file

late sage
#

Structure blocks go up to 64 by world height by 64

#

Not even close to enough

floral spade
#

just export the world itself

late sage
floral spade
late sage
#

I wanna export something inside it to another world

#

That’s like massive

#

Like 50 million blocks massive

floral spade
#

oh wait

#

there is a limit by y also..

#

I don't remember it tho

late sage
#

My pc is gonna crash if I console.warn 1 billion characters with the gui thing on

#

Better use log instead

#

Question: if I store a billion characters in the author of a book and put it in a bundle or something, will I get kicked for having it or dropping it?

floral spade
floral spade
#

I have to make like 32 structures to save all u need

#

and just export them

late sage
floral spade
floral spade
#

oh wait

#

u can't even export structures then...

late sage
# floral spade even worse

It lets me store like 100 thousand blocks, haven’t tested any higher cos the save system is trash but imma make a new save system

late sage
#

You can’t

floral spade
#

u can't but

#

u still can export the world, can't you?

late sage
#

Not from within Minecraft. I do though have access to the files of com.mojang

#

(Contains packs, worlds etc)

#

And the console data I can access

floral spade
floral spade
late sage
#

I’d rather make an addon to do that

#

Then get on my pc

#

Even though it would take several days probably

floral spade
#

Bye bro

pine sage
#

Just use amulet api

late sage
timid crag
#

What in the hell you are trying to place

crimson magnet
#

there was a way to export these structures into other devices, too.

fresh frost
late sage
late sage
neat jewel
#

Is this limited to only block permutations, or there's entities/items as well?

timid crag
#

The only way

late sage
#

So I’m meant to transfer 5000 structures between worlds individually?

timid crag
#

@late sage i was reading the chat, did you tried console.log the data as suggested up?

late sage
#

And idk if I can read .txt files

#

Even if it’s in the right folder

timid crag
#

You can build a script that slices the text and transform it to javascript object format

timid crag
#

And you paste it on a .js file

late sage
#

I want anyone to be able to understand it, if they have to write json, it going to be too hard.

timid crag
#

I mean..

[WARN] 82, 33, 34, stone
[WARN] 82, 33, 34, stone

To

export const structure = [
    { location: { x, y, z }, block: "" } 
]
`
timid crag
timid crag
#

Oh

late sage
#

I want my friend with no coding knowledge to be able to do it

#

Even having to save a file is pushing the limit

#

I could get them to paste it in a form. But pasting 5,000,000 characters is gonna crash the game as soon as it tries to render the text (ive got a pack that disables text limits and allows new lines and stuff)

crimson magnet
frail harbor
#

@late sage Why don’t you just use 2 for loops to grab the 64x64 structures and then place them in order with an array then do the reverse to place them?

late sage