• 因近日遭受攻击,百科现已限制新用户的编辑权限,一段时间后成为自动确认用户方可编辑。

EliteMobs/创建宝箱

From Minecraft插件百科
Revision as of 12:47, 14 July 2020 by Qsefthuopq (talk | contribs) (创建页面,内容为“{{模板: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…”)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.