개인 자료란 (JE)

  서버 커뮤니티

Profile minari0821 대표칭호 없음
Profile

질문하기 데이터팩

데이터팩 실행 안됨

2024.07.06 조회 수 93 추천 수 0
이해도 초보자 
게임버전 (JE) 1.20.1 
게임버전 (BE) 관련없음 

1.20.1로 데이터팩을 잘 만들고 있었는데 1.21로 버전업 시키니까 작동을 안합니다. 멀티 서버에서 만들던 데이터팩이고 데이터팩 코드에는 문제가 없습니다. 싱글가서 테스트도 해봤는데 아예 function 쓰고 자동완성도 뜨질 않습니다. 어떻게 해야할까요.. 

11개의 댓글

Sidite
2024.07.06

1.20.1이랑 1.21의 차이는 엄청납니다. 단순히 버전이랑 이름만 바꾼다고 해결될 문제가 아닙니다.

minari0821
2024.07.06
@Sidite

그럼 뭐를 바꿔야되나요?

Sidite
2024.07.06
@minari0821

사용자:"지정",NBT:123 → custom_data={사용자:"지정",NBT:123}

Damage:12 → damage=12

RepairCost:12 → repair_cost=12

Unbreakable:1b → unbreakable={}

Enchantments:[{id:"sharpness",lvl:2}] → enchantments={levels:{sharpness:2}}

StoredEnchantments → stored_enchantments

display:{Name:'"hello"'} → custom_name='"hello"'

display:{Lore:['"hello"']} → lore=['"hello"']

CanDestroy:["stone"] → can_break={blocks:"stone"}

CanPlaceOn:["stone"] → can_place_on={blocks:"stone"}

display:{color:16711680} → dyed_color={rgb:16711680}

AttributeModifiers:[] → attribute_modifiers={modifiers=[]}

Charged:1b,ChargedProjectiles:[{id:"arrow"}] → charged_projectiles=[{id:"arrow"}]

Items:[] (꾸러미) → bundle_contents=[]

display:{MapColor:16711680} → map_color=16711680

Decorations:[] → map_decorations={}

map:1 → map=1

CustomModelData → custom_model_data

Potion:"invisibility",CustomPotionColor:16711680,custom_potion_effects:[] → potion_contents={potion:"invisibility",custom_color:16711680,custom_effects:[]}

pages:["hello"] (책과 깃펜) → writable_book_content={pages:["hello"]}

pages:['"hello"'],title:"Title",author:"Misode",generation:1,resolved:1b (쓰여진 책) → written_book_content={pages:['"hello"'],title:"Title",author:"Misode",generation:1,resolved:true}

Trim={...} → trim={...}

effects:[] (수상한 스튜) → suspicious_stew=[]

HideFlags → hide_additional_tooltip 구성 요소뿐만 아니라 다른 구성 요소로 분할되었다.

DebugProperty → debug_stick_state

EntityTag:{...} → entity_data={...}

bucketed mobs data → bucket_entity_data={...}

instrument:"ponder_goat_horn" → instrument="ponder_goat_horn"

Recipes:[] (지식의 책) → recipes=[]

LodestonePos, LodestoneDimension, and LodestoneTracked → lodestone_target={pos:[13,64,-43],dimension:"the_nether"}

Explosion → firework_exlosion={}

Fireworks:{Explosions:[],Flight:1} → fireworks={explosions:[],flight_duration:1}

SkullOwner:{Name:"Steve"} → profile="Steve"

BlockEntityTag:{note_block_sound:"ambient.cave"} → note_block_sound="ambient.cave"

BlockEntityTag:{Base:2} → base_color="magenta"

BlockEntityTag:{Patterns:[]} → banner_patterns=[]

BlockEntityTag:{sherds:[]} → pot_decorations=[]

BlockEntityTag:{Items:[]} (shulker box) → container=[]

BlockEntityTag:{Bees:[]} → bees=[]

BlockEntityTag:{Lock:"test"} → lock="test"

BlockEntityTag:{LootTable:"foo",LootTableSeed:123} → container_loot={loot_table:"foo",seed:123}

BlockEntityTag:{...} → block_entity_data={...}

BlockStateTag:{...} → block_state={...}

 

파일 폴더를 다음으로 바꾸세요.

tags/items -> tags/item

tags/blocks -> tags/block

tags/functions -> tags/function

tags/entity_types -> tags/entity_type

tags/fluids -> tags/fluid

tags/game_events -> tags/game_event

structures -> structure

advancements -> advancement

recipes -> recipe

loot_tables -> loot_table

predicates -> predicate

item_modifiers -> item_modifier

functions -> function

minari0821
2024.07.07
@Sidite

감사합니다! functions 에서 function으로 바꾸니까 됬네요!!

yusin12
2024.07.06

pack.memcta 파일과

function에 경로 파일 사진이 있을까요?

minari0821
2024.07.06
@yusin12

네 있어요

minari0821
2024.07.06
@yusin12

사진 어떻게 보내나요

yusin12
2024.07.06
@minari0821

댓글 달기 아래에 에디터를 이용해서 사진을 보낼 수 있습니다.

@yusin12


yusin12
2024.07.07
@minari0821

2번째 사진이 잘못되었습니다.

function파일 안에 있는 파일 경로를 보여주세요.

minari0821
2024.07.07
@yusin12

해결 됬습니다. 감사합니다

뉴스 및 창작물
/files/thumbnails/648/892/003/262x150.crop.jpg?20241002184058

아티클

마인크래프트 라이브 2024 후기: 무성의가 느껴졌던 '절망편' 라이브

라비

2024-10-02

1

/files/thumbnails/693/890/003/262x150.crop.jpg?20241005095433

소식

[방송인 필독] 시참 컨텐츠 방송인분들께 DDoS(디도스) 공격을 퍼붓는 용의자 특정중, 예방 & 대처법 정리 7

해그

2024-10-01

1

사진이 없습니다.

레드스톤

[노트블럭 패러디] 신창섭 - 모장이 다해줬잖아

노트블럭전문가

2024-09-28

0

/files/thumbnails/677/856/003/262x150.crop.jpg?20240913205849

아티클

마인크래프트 개발의 미래

학교가기싫다

2024-09-13

2

사진이 없습니다.

모드

아이리스 쉐이더

gyeol12

2024-09-07

0