[Spawner] block type spawner cant find a spawn pos +question
Hi, Loading the spawner below results in a quetz spawning as it should, IF either one of the materials is present, but nothing spawns if both.(i built up two poles of these blocks touching to test this) using minecraft:clay (alone or with anything) will also result in the mob never spawning at all. I had the spawnrate even higher, increased the min,max ranges and tried tweaking just about everything i could, but i cant get mobs spawning near clay(built a flat surface of clay in the open to test this). Most of my tries didnt have the " "multipleLocations": "order"," line so it used the default combine method. Commas went after every block name, except the last. Here are the latest settings of my custom spawner:
{
"name": "quetzguard",
"type": "spawner",
"enabled": true,
"multipleLocations": "order",
"ignoreBiomes": true,
"ignoreLightLevel": true,
"groupLimitRange": 56,
"conditions": [],
"triggers": [
{
"type": "world",
"chance": 1,
"tickRate": 166
}
],
"locations": [
{
"type": "block",
"rangeMin": [
0,
0,
0
],
"rangeMax": [
8,
16,
8
],
"sorting": "random",
"blocks": [
"minecraft:polished_diorite",
"minecraft:polished_andesite"
],
"blockCost": 0,
"listType": "whitelist",
"requiredBlockTypes": 1,
"underground": false
}
],
"mobSpawns": [
{
"mobId": "saltwatermobs:quetzodracl",
"weight": 200,
"home": 32
}
]
}
The trigger always fires:
[17:18:19] [Server thread/INFO] [STDOUT]: [com.lycanitesmobs.LycanitesMobs:printDebug:359]: [LycanitesMobs] [Debug] [JSONSpawner]
O==================== Spawner Triggered: quetzguard ====================O[17:18:19] [Server thread/INFO] [STDOUT]: [com.lycanitesmobs.LycanitesMobs:printDebug:359]: [LycanitesMobs] [Debug] [JSONSpawner] No Conditions [17:18:19] [Server thread/INFO] [STDOUT]: [com.lycanitesmobs.LycanitesMobs:printDebug:359]: [LycanitesMobs] [Debug] [JSONSpawner] Only one trigger required. [17:18:19] [Server thread/INFO] [STDOUT]: [com.lycanitesmobs.LycanitesMobs:printDebug:359]: [LycanitesMobs] [Debug] [JSONSpawner] Spawning Wave: 1 Mob(s) [17:18:19] [Server thread/INFO] [STDOUT]: [com.lycanitesmobs.LycanitesMobs:printDebug:359]: [LycanitesMobs] [Debug] [JSONSpawner] Trigger World: net.minecraft.world.WorldServer@5824daf3 [17:18:19] [Server thread/INFO] [STDOUT]: [com.lycanitesmobs.LycanitesMobs:printDebug:359]: [LycanitesMobs] [Debug] [JSONSpawner] Trigger Player: null [17:18:19] [Server thread/INFO] [STDOUT]: [com.lycanitesmobs.LycanitesMobs:printDebug:359]: [LycanitesMobs] [Debug] [JSONSpawner] Trigger Position: BlockPos{x=438, y=95, z=11} [17:18:19] [Server thread/INFO] [STDOUT]: [com.lycanitesmobs.LycanitesMobs:printDebug:359]: [LycanitesMobs] [Debug] [JSONSpawner] Searching for Spawn Positions... [17:18:19] [Server thread/INFO] [STDOUT]: [com.lycanitesmobs.LycanitesMobs:printDebug:359]: [LycanitesMobs] [Debug] [JSONSpawner] Only One Spawn Location [17:18:19] [Server thread/INFO] [STDOUT]: [com.lycanitesmobs.LycanitesMobs:printDebug:359]: [LycanitesMobs] [Debug] [JSONSpawner] No Spawn Positions Found From Spawn Location
I even teleported to a few of these trigger positions, they are perfectly fine spots to spawn, open places with lots of air around them. Yet it never finds a spawn position out of hundreds of tries.Id like to make your mod work with large randomly generated structures so i'd appreciate any knowledge on how to use this system.For example, how large is the area it checks for blocks? do they have to touch? All in all great mod btw & thanks in advance if you can look into this.