mojira.dev
REALMS-11834

24w21b Functions Fail on Java Realm

Datapack functions fail when loaded into Realm on latest snapshot 24w21b.

Reproduce:

  1. Create world on 24w21b in singleplayer

  2. Create datapack with functions using the new namespace "function"

  3. Test functions (working as intended)

  4. Upload world to Realms

  5. Functions fail to load / be accessible with /function command

 

Wasn't sure the best place to post as there is no snapshot realm section that I can see

Attachments

Comments 8

Please attach any needed datapacks, resourcepacks, screenshots, videos or worlds needed to help reproduce this issue.

Updated with datapacks, and pictures showing outputs when

/function test:helloworld

as can be seen on the singleplayer world, functions correctly and outputs as expected.

Uploaded the exact world to the Snapshot Realm.

On the Snapshot Realm however there is no autocomplete and when typed in it has no knowledge of the function.

 

World is a fresh superflat world with nothing else changed except the datapack.

 

Also attached is an image of the result of

/datapack list

run on the Snapshot Realm, which shows that the datapack is correctly setup and enabled, it just does not correctly read the function folder.

 

Last attachment is the folder hierarchy for the test datapack.

Thanks. I saw you added the raw files though. Please add a .zip file which is the datapack that can be directly used in the game.

An attachment with a disallowed file extension has been removed from this ticket.

Executable files and documents are not allowed as attachments.
Please attach crash reports, log files and screenshots as they are instead of pasting them into a document.
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

updated again with the .zip folder

confirmed in 1.21 Pre-Release 1

Thanks for the report! We are investigating.

We released a service update that resolved this issue.

Arky__

(Unassigned)

Confirmed

Java

Retrieved