With new translation support, some texts may be not where they were meant to be. Please report any text that looks like it was exchanged with another one.
Nevermind, I read the plugin information wrong. But I do have another question. How can I make it so that the chest will spawn on ground level. (My players cant mine blocks)
Hmm for now, the spawning algorithm simply picks a random location in a defined area and check if it can spawn a chest there (and eventually continue the operation until the chest can finally spawn). If it can, it’ll try to put down the chest on the ground so there are no flying chests. The said area can be either a cuboid described by x, y et z min/max values, or a cylinder described by a center (x and z), radius and y min/max.
To quick fix your problem you could put minY and maxY values to 254. When chests will spawn, the location will be picked up in the air, and then put down to the ground. By doing so, the chests should only spawn on the ground (note that they can eventually spawn on top of roofs if there are houses in the spawn area).
[10:15:22] [Server thread/INFO] [com.arckenver.mightyloot]: After trying 200 times, we could not find any good spawn location for the loot
worlds {
New World {
# represents the area where the loot can spawn
# for 'type', accepted values are 'rect' and 'cyl'
# if using 'rect', specify 'minX', 'maxX', 'minY', 'maxY', 'minZ', 'maxZ'
# if using 'cyl', specify 'minY', 'maxY', 'centerX', 'centerZ', 'radius'
area {
maxX=100
maxY=254
maxZ=100
minX=-100
minY=254
minZ=-100
type=rect
}
frequency=3600
lootTypes {
food=15
goldish=25
material=15
mine=15
mobs=15
nether=15
}
}
I do not know if this is possible, but you should add a feature to this mod which is a config option, such as AlwaysOnGround, and then make it so that it will place the chest on any block that does noes not have air below it.
Yeah ! That would be better. I thought it would work so there must be some more work to do on the spawning process. I’ll work on that as soon as possible
Don’t hesitate to open issue on github for features/bugs if you are sure the feature is worth implementing/bug comes from MightyLoot. That helps me keep a sort of roadmap.