Hirdetés

Új hozzászólás Aktív témák

  • Geryson

    addikt

    válasz Geryson #24114 üzenetére

    Vagy akkor kérdezek mást:

    állítólag a function paranccsal előre megírt mcfuncion kiterjesztésű fájlt be lehet hívni, ez tökéletes megoldás lehet.

    A wiki szerint: To utilize functions, the text files must first be placed into a top-level folder within [WORLD_NAME]/datapacks/[DATA_PACK_NAME]/data/[NAMESPACE]/functions. The name of the new top-level folder will be the namespace used when running the functions inside. Functions can also be placed into subfolders within the top-level folder.

    For example, running the function custom:example/test will refer to the file located at data/custom/functions/example/test.mcfunction. If the namespace is left out when trying to call a function, it will default to the minecraft: namespace. Using a custom namespace is recommended in order to prevent unintended behavior in the case of future additions to the default namespace.

    Nem is nagyon értem ezt a túlmagyarázást, de itt is az első (és eléggé meghatározó gond), merthogy nekem ilyen könyvtáram nincs is:

    C:\Users\User\AppData\Roaming\.minecraft\saves\world\datapacks, nagyjából ez az, amit leír, de ez teljesen üres, vagy
    C:\Users\User\AppData\Roaming\.minecraft\saves\world\data\functions itt van egy functions könyvtár, de ebben hiába helyeztem el, nem índítja el az "execute as @a at @s run function test" parancs (a fájl neve test.mcfunction)

Új hozzászólás Aktív témák