• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

EliteMobs/创建宝箱

来自Minecraft插件百科
Qsefthuopq留言 | 贡献2020年7月14日 (二) 04:47的版本 (创建页面,内容为“{{模板:ELBox}} Treasure Chests are a feature allows admins to design chests that can either drop loot or spawn a mimic boss. = isEnabled = <code>isEnabled</code>d…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索

Treasure Chests are a feature allows admins to design chests that can either drop loot or spawn a mimic boss.

isEnabled

isEnableddetermines 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

dropStyledetermines 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 groupdrop style.

restockTimer

restockTimer sets the interval of time, in minutes, after opening a chest before the chest is able to be opened again. For singledrop style chests, this will make the Treasure Chest reappear after this set amount of time. For the groupdrop 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.ymlhas a weight of 2which 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.