- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
EliteMobs/创建宝箱
|
Treasure Chests are a feature allows admins to design chests that can either drop loot or spawn a mimic boss.
isEnabled
isEnabled
determines whether your Treasure Chest will show up in your world.
chestType
chestType
determines the type of chest your Treasure Chest is in terms of Minecraft block. The valid values are:
CHEST
TRAPPED_CHEST
ENDER_CHEST
SHULKER_BOX
facing
facing
Determines the cardinal direction your chest face will be facing. The valid directions are:
NORTH
SOUTH
EAST
WEST
dropStyle
dropStyle
determines the style of drop the Treasure Chest can have. Treasure Chests meant to be opened only once in a while by a person at a time should have the value single
. Chests that are meant to be encountered by groups of players and where all players should have a shot at opening the chest should have the group
drop style.
restockTimer
restockTimer
sets the interval of time, in minutes, after opening a chest before the chest is able to be opened again. For single
drop style chests, this will make the Treasure Chest reappear after this set amount of time. For the group
drop style, it will simply allow players to open the chest once again.
lootList
lootList
sets the list of loot that can be found in the Treasure Chest. This format works based on a weight system and only one item can drop per time the chest is opened. As an example:
lootList:
- magmaguys_toothpick.yml:1
- magmaguys_shield.yml:2
In the example above, either item can drop, but not both. magmaguys_shield.yml
has a weight of 2
which means it's 2x more likely to drop compared to magmaguys_toothpick
which has a weight of 1
.
mimicChance
mimicChance
determines the odds that the chest will spawn a Custom Boss instead of treasure. Valid values are between 0
and 1
, where 0.5
is 50%.
mimicCustomBossesList
mimicCustomBossesList
is a list of custom bosses that may spawn from the Treasure Chest. Only one may spawn, and it is picked at random from the list.
effects
effects
is the list of visual effects that the Treasure Chest may have.
location
location
is the location the Treasure Chest will spawn at. It follows this format: worldName,x,y,z,pitch,yaw
. Since chests have no pitch or yaw, you can set both of these values to 0.