게시판 즐겨찾기
편집
드래그 앤 드롭으로
즐겨찾기 아이콘 위치 수정이 가능합니다.
1.9]Loot table system 간략한 예시 [코딩주의]
게시물ID : minecraft_21823짧은주소 복사하기
작성자 : 그냥바보
추천 : 2
조회수 : 374회
댓글수 : 1개
등록시간 : 2015/10/21 18:29:30

Making good progress on the loot tables I mentioned yesterday. Here's the end city treasure, which has enchantments:

loot table시스템을 만들고 있어요

여기 엔더시티 보물(엔첸트가 달린) 루트테이블 시스템입니다

▲요건 엄청 긴 코딩이에요



This is an example of a loot table. It's the "bonus chest" right now, one of the simpler examples. https://t.co/H9MYxEFBgW

— Nathan Adams (@Dinnerbone) 2015년 10월 19일
[
{
"item": "minecraft:stick",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"min": 1,
"max": 3
}
]
},
{
"item": "minecraft:planks",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"min": 1,
"max": 3
}
]
},
{
"item": "minecraft:log",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"min": 1,
"max": 3
}
]
},
{
"item": "minecraft:stone_axe",
"weight": 3
},
{
"item": "minecraft:wooden_axe",
"weight": 5
},
{
"item": "minecraft:stone_pickaxe",
"weight": 3
},
{
"item": "minecraft:wooden_pickaxe",
"weight": 5
},
{
"item": "minecraft:apple",
"weight": 5,
"functions": [
{
"function": "minecraft:set_count",
"min": 2,
"max": 3
}
]
},
{
"item": "minecraft:bread",
"weight": 3,
"functions": [
{
"function": "minecraft:set_count",
"min": 2,
"max": 3
}
]
},
{
"item": "minecraft:log2",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"min": 1,
"max": 3
}
]
}
]


코딩을 간편하게 만들어서, 멥메이커들이 더 이상 일일히 손으로 코딩을 하지않게 하는게 목표라고 디너본(옙)이 말했어영
전체 추천리스트 보기
새로운 댓글이 없습니다.
새로운 댓글 확인하기
글쓰기
◀뒤로가기
PC버전
맨위로▲
공지 운영 자료창고 청소년보호