Sample pack github.com/InfamousJam/MCData... I know its a longer video but I go over function files today and some fun examples
Пікірлер: 14
@Austin_LeMerise7 күн бұрын
Love u jam
@infamousjam43357 күн бұрын
@jackibear177 күн бұрын
i saw ur low views on this vid and decided to watch cuz i want to give support to another small creator, then again im only at 8 subs so what can i say. plus im trying to make a datapack so thx for the vid
@infamousjam43357 күн бұрын
yea ofc, if you need help with data packs, lmk and i can make a video on the topic, i'll be doing a series covering different aspects of data packs
@jackibear177 күн бұрын
@@infamousjam4335 thx, i was wondering if they changed something in 1.21 that has to do with the file structure at large, srry if u mentiontioned that in ur vid cuz i got cut off watching it, but i have a .datapack folder that auto genned when i made my datapack, not only this but my load function wont work even though mc has loaded my dp. i cant look at my files to rn to double check stuff tho.
@infamousjam43357 күн бұрын
@@jackibear17 yea, i didn't touch on it, but they did change some file names that break data packs if left unchanged, they changed root folder paths that were plural to be singular. example: before advancements now its advancement. just double check plurality
@jackibear177 күн бұрын
@@infamousjam4335 ik abt that but there was something called .datapack which ive never scene
@infamousjam43357 күн бұрын
@@jackibear17 where in the folders is that found?
@Syntex3666 күн бұрын
what extensions are you using on vsc? cause the ones i've been told to use are marking errors left and right and my code for the functions will not work despite being exactly the same as a result.
@infamousjam43356 күн бұрын
i have mc data pack and language-mcfunction extensions
@thomtom30702 күн бұрын
How do I detect if a player eats a certain food item? I want to make it so eating a glow berry gives the glowing effect for around 2 seconds. Also, I want players to be able to eat a glow berry even if they missing any hunger
@infamousjam4335Күн бұрын
you can either give give the player special berries /give @p glow_berries[food={nutrition:2,saturation:4,can_always_eat:true,eat_seconds:0.6,effects:[{effect:{id:"minecraft:glowing",amplifier:0,duration:40},probability:1}]}] 1 or watching my right click detection video on how to set up the advancements and functions and change the criteria to be: "criteria": { "glowberry": { "trigger": "minecraft:consume_item", "conditions": { "item": { "item": "minecraft:glow_berries" } } } }, and have your function file revoke the advancement and give the player glowing