서문
spawn_pool_world 폴더에는 포켓몬이 자연적으로 스폰되는 방식을 제어하는 JSON 파일이 들어 있습니다. 편의상 대부분은 이를 spawn files라고 부릅니다. 이 파일은 어떤 포켓몬이 스폰되는지, 희귀도, 레벨, 그리고 스폰될 조건을 지정합니다. 구현된 모든 포켓몬은 최소 하나 이상의 스폰 데이터를 가지고 있습니다. 이 스폰 데이터가 없으면 포켓몬은 명령어로만 스폰할 수 있습니다.
스폰 파일 구성 설명
스폰 파일의 데이터는 비교적 직관적일 수 있습니다. 숲에서 스폰되는 단순한 설정도 가능하고, 스폰 지점 남쪽의 바다 바이옴에서 삭월 중 오전 2:30~3:00에 점토 위에서만 스폰되는 복잡한 설정도 가능합니다.
Here is a breakdown of Bulbasaur's 스폰 파일. 밑줄이 있는 텍스트에 마우스를 올리면 더 자세한 정보를 볼 수 있습니다.
{
"enabled": true,
"neededInstalledMods": [],
"neededUninstalledMods": [],
"spawns": [
{
"id": "bulbasaur-1",
"pokemon": "bulbasaur",
"presets": [
"natural"
],
"type": "pokemon",
"context": "grounded",
"bucket": "ultra-rare",
"level": "5-32",
"weight": 9.0,
"condition": {
"canSeeSky": true,
"biomes": [
"#cobblemon:is_jungle"
]
}
}
]
}
이상해씨는 0.2% 확률로 발생하는 초희귀 스폰입니다. 정글 바이옴에서 하늘이 보이는 잔디 같은 자연 블록 위에서만 스폰될 수 있으며, 나무 아래에서는 스폰되지 않습니다.
일부 스폰 속성에서 사용할 수 있는 선택지는 다음과 같습니다.
- “presets”: GitLab에 있는 프리셋을 사용하거나 직접 프리셋을 만들 수 있습니다..
- “context”: 육상 스폰은
"grounded", 수중 스폰은"submerged", 물이나 용암 표면 스폰은"surface"중에서 선택할 수 있습니다. - “bucket”: 포켓몬의 희귀도 풀입니다.
"common","uncommon","rare","ultra-rare"중에서 선택할 수 있습니다. - “weight”: 지정된 희귀도 풀 안에서 해당 포켓몬이 얼마나 자주 등장할지를 정합니다. 보통 0.1부터 10까지의 척도로 생각하면 됩니다. 정말 더 자주 스폰되게 하고 싶다면 10보다 큰 숫자도 사용할 수 있습니다.
- “조건”: 여기에 나열된 조건을 사용해 포켓몬이 스폰되게 만들 수 있습니다.
- “anticondition”: 여기에 나열된 조건을 사용해 포켓몬이 스폰되는 것을 방지할 수 있습니다.
- “바이옴”: 조건과 반조건의 하위 범주입니다. 바이옴 ID나 바이옴 태그를 사용할 수 있습니다. 모드 바이옴 ID도 작동할 것입니다!
- “weightMultiplier”: 두 번째 조건 묶음도 충족될 때 특정 스폰 ID의 가중치를 곱할 수 있게 합니다.
multiplier실수 값과 조건/반조건 배열이 필요한 배열입니다.- 에레키드의 가중치 배율 예시 일부:
"weight": 1.8,
"weightMultiplier": {
"multiplier": 5.0,
"condition": {
"isThundering": true
}
},
"condition": {
"canSeeSky": true,
"biomes": [
"#cobblemon:is_hills",
"#cobblemon:is_plains"
]
}
스폰 파일 예시
매번 spawn files를 처음부터 만들기보다 익숙한 포켓몬을 틀로 사용할 수 있습니다. id와 pokemon 속성의 이름만 바꾸면 됩니다. 아래는 서로 다른 스폰 파일의 간단한 예시입니다.
- 이어롤 (Buneary)‘s 스폰 파일 - A great 틀 for common land pokemon
{
"enabled": true,
"neededInstalledMods": [],
"neededUninstalledMods": [],
"spawns": [
{
"id": "buneary-1",
"pokemon": "buneary",
"presets": [
"natural",
"wild"
],
"type": "pokemon",
"context": "grounded",
"bucket": "common",
"level": "10-35",
"weight": 5.4,
"condition": {
"minSkyLight": 8,
"maxSkyLight": 15,
"biomes": [
"#cobblemon:is_forest",
"#cobblemon:is_hills",
"#cobblemon:is_snowy_forest",
"#cobblemon:is_snowy_taiga",
"#cobblemon:is_taiga"
]
}
}
]
}
- 약어리의 스폰 파일 - 물에서 발견하거나 낚을 수 있는 물고기형 포켓몬에 좋은 틀입니다!
{
"enabled": true,
"neededInstalledMods": [],
"neededUninstalledMods": [],
"spawns": [
{
"id": "wishiwashi-1",
"pokemon": "wishiwashi",
"presets": [
"water"
],
"type": "pokemon",
"context": "submerged",
"bucket": "common",
"level": "1-18",
"weight": 10.0,
"condition": {
"canSeeSky": true,
"biomes": [
"#cobblemon:is_ocean"
]
}
},
{
"id": "wishiwashi-2",
"pokemon": "wishiwashi",
"type": "pokemon",
"context": "fishing",
"bucket": "common",
"level": "1-18",
"weight": 10.0,
"condition": {
"canSeeSky": true,
"biomes": [
"#cobblemon:is_coast",
"#cobblemon:is_ocean"
]
}
},
{
"id": "wishiwashi-3",
"pokemon": "wishiwashi",
"presets": [
"water"
],
"type": "pokemon",
"context": "submerged",
"bucket": "common",
"level": "1-18",
"weight": 10.0,
"condition": {
"canSeeSky": false,
"minSkyLight": 8,
"maxSkyLight": 15,
"biomes": [
"#cobblemon:is_ocean"
]
}
},
{
"id": "wishiwashi-4",
"pokemon": "wishiwashi",
"type": "pokemon",
"context": "fishing",
"bucket": "common",
"level": "1-18",
"weight": 10.0,
"condition": {
"canSeeSky": false,
"minSkyLight": 8,
"maxSkyLight": 15,
"biomes": [
"#cobblemon:is_coast",
"#cobblemon:is_ocean"
]
}
}
]
}
- 기어르의 스폰 파일 - 주변 블록 조건과 모드 호환성을 위한 좋은 틀입니다!
{
"enabled": true,
"neededInstalledMods": [],
"neededUninstalledMods": [],
"spawns": [
{
"id": "klink-1",
"pokemon": "klink",
"presets": [
"natural"
],
"type": "pokemon",
"context": "grounded",
"bucket": "common",
"level": "5-30",
"weight": 9.0,
"condition": {
"minSkyLight": 0,
"maxSkyLight": 7,
"biomes": [
"#cobblemon:is_overworld"
],
"neededNearbyBlocks": [
"#minecraft:redstone_ores",
"#c:redstone_ores"
]
},
"anticondition": {
"biomes": [
"#cobblemon:is_deep_dark"
]
}
},
{
"id": "klink-2",
"pokemon": "klink",
"presets": [
"natural",
"redstone"
],
"type": "pokemon",
"context": "grounded",
"bucket": "common",
"level": "5-30",
"weight": 1.8,
"condition": {
"biomes": [
"#cobblemon:is_overworld"
]
}
},
{
"id": "klink-3",
"pokemon": "klink",
"presets": [
"natural"
],
"type": "pokemon",
"context": "grounded",
"bucket": "common",
"level": "5-30",
"weight": 1.8,
"condition": {
"biomes": [
"#cobblemon:is_overworld"
],
"neededNearbyBlocks": [
"create:cogwheel",
"create:large_cogwheel",
"create:gearbox",
"create:vertical_gearbox"
]
}
}
]
}
- 에레키드의 스폰 파일 - 가중치 배율의 좋은 예시입니다.
{
"enabled": true,
"neededInstalledMods": [],
"neededUninstalledMods": [],
"spawns": [
{
"id": "elekid-1",
"pokemon": "elekid",
"presets": [
"natural"
],
"type": "pokemon",
"context": "grounded",
"bucket": "uncommon",
"level": "11-36",
"weight": 1.68,
"weightMultiplier": {
"multiplier": 5.0,
"condition": {
"isThundering": true
}
},
"condition": {
"minSkyLight": 8,
"maxSkyLight": 15,
"biomes": [
"#cobblemon:is_hills",
"#cobblemon:is_plains"
]
}
}
]
}
Addon Creation
튜토리얼
커스텀 포켓몬 만들기 모델 만들기 커스텀 스폰 만들기 발광 텍스처 애니메이션 텍스처 Texture Replacement 애니메이션 교체 리전 폼여러 시각 Variants 애니메이션에 소리 추가하기
Asset Files
데이터 Files
종 종 특징 종 특징 할당 종 추가 스폰 Detail Presets 스폰 Pool 월드 화석 Datapackable Move Effects
Properties