#trying to change Chorus plants,

1 messages · Page 1 of 1 (latest)

slim hinge
#

so i'm trying my first datapack for well a modded client (forge) 1.20.1 that will change the stems/plants from droping 0-1 fruit to 1-3 and make it so even if not broken directly the flowers will also drop. i need the purpur for a project. so far my self learned attempts have failed.

ancient dune
#

Can you show your work?

slim hinge
#

I think this is the most up todate attempt

latent thistle
#

What is not working?

#

Is the datapack showing when doing /datapack list?

slim hinge
#

no not showing

#

guess my issue is activation then

latent thistle
#

yap

#

where did you put your folder?

slim hinge
#

yes

latent thistle
#

it should be located saves/<your_save>/datapacks/<your_datapack>/data

slim hinge
#

its in there as a .zip under <user>/curseforge/minecraft/instances/1.20 modded 1/saves/New Krinn/datapacks

west prism
#

why dont you use kubejs for dataloading?

slim hinge
west prism
#

i mean put the datapack inside of kubejs instead of an in world file

slim hinge
#

and what would Kubejs be exactly?

west prism
slim hinge
#

or i guesss where would kubejs be

west prism
#

its a folder in the root of the modpack

#

that loads all data and resources inside of itself

slim hinge
#

so assuming the issue is activation and not functionality this mod would essentially brute force the datapack in?

west prism
#

well it just makes it easier to edit since youre on forge

slim hinge
#

oldest version supported by kubejs is 1.21

#

version used 1.20.1

west prism
#

no its not

#

it goes all the way down to 1.18 (or 1.12 if counting unmaintained versions)

slim hinge
#

huh. I get that forge has some difference to Java but i'm hoping the issue can be solved without another mod unless of course that's nearly a requirement for Forge based datapacks, as for my comment about versions i was just readding something on the link you sent me

slim hinge
west prism
#

and whats the whole tree with the loottables

#

OHy ou sent a file

#

i think its the space in your namespac

#

espaces arent allowed

slim hinge
#

?

west prism
#

well not namespace

#

the

#

id thing

slim hinge
#

so instead of Chorus Harvester it should be Chorus_Harvester

west prism
#

its not allowed to be capitalized or have special symbols pretty sure

slim hinge
#

got it fixing both

#

not appearing

west prism
#

any errors in the log?

slim hinge
#

game launched fine based on what i can see

west prism
#

its not gonna crash

#

its gonna throw an error in the log that it failed to load

#

and then things that failed to laod

celest warren
#

Btw the error is in the pack.mcmeta

slim hinge
west prism
#

oh

#

lmao

#

😭 its not a string

#

put it in quotes

#

and add.. underscores instead of spaces

celest warren
#

It should be

{
    "pack": {
        "pack_format" : 15,
        "pack_description" : "changes churus fruit drops"
    }
}
#

Also the folder name doesn't matter

west prism
#

really

#

its a limitation by vanilla though

celest warren
#

It can contain spaces and stuff

west prism
#

it doesnt let you have anything special or capitalized in /datapack create

celest warren
#

Idk maybe im wrong

slim hinge
#

ok so coppied your MCmeta stuff right into the new meta file

#

it needs to be zipped yeah

celest warren
#

No

west prism
#

doesnt matter

celest warren
#

Can be a folder

slim hinge
#

still no function. i think

#

quick reload check

#

nope

west prism
#

huh

#

there wont be a function if you didnt add any

slim hinge
#

with the mcdata fix

celest warren
#

Doesn't work?

slim hinge
#

still doesn't appear but this might be forge i'm going to launch a vanella 1.20 test world and see

west prism
#

youre only overriding the loottable

#

what function are you talking about

slim hinge
#

no functionality as it not doing anything

celest warren
west prism
#

oh

#

does it appear in /loot

#

forge doesnt mess with loottables

slim hinge
#

i understand that...

#

i'm just trying to get the game to recognize the pack.

celest warren
#

Can you look at the logs?

slim hinge
#

logs that in game or in folders?

celest warren
#

Ingame ligs

#

*logs

slim hinge
#

found the latest.log file in my game files... it seems to have loaded all my mods, [13:44:25] [Render thread/WARN]: Missing metadata in pack file/chorus_harvester

#

i'm guessing that means its a metadata problem 100%

celest warren
#

There should be more after that

slim hinge
#

this is everything between that and the next render threat/WARN which is related to panhc2crops so completely unrelated

celest warren
#

Did you zip it?

slim hinge
#

i left it as a folder this time

celest warren
#

Good

#

Can you send the mcmeta again?

slim hinge
celest warren
#

What version are you even on

west prism
#

its "description" not "pack_description"

celest warren
slim hinge
#

1.20.1 though i guess the actual version is forge-47.4.2

celest warren
#

Yeah change the description thing

slim hinge
#

ok launching everything. it appeared in /datapack list

#

so progress

celest warren
#

[Insert that gif here]

slim hinge
#

just got 2 fruit from a single stem plus the flower!

#

blessed be the omnisaih

#

thank you so much