欢迎来到Minecraft插件百科!
对百科编辑一脸懵逼?
帮助:快速入门
带您快速熟悉百科编辑!
因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
查看“OtherDrops/en”的源代码
←
OtherDrops/en
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于这些用户组的用户使用:
用户
、
自动确认用户
、
巡查者
您可以查看与复制此页面的源代码。
{{Minecraft Color | &2 | Please note these tutorials refer to the latest 2.8 beta builds and not the 2.7 release version.}} == Where do I put the configs? == Before we get into the examples you need to know where they go. Any of these entries can be placed at the bottom of the "otherdrops-drops.yml" file. == Simple Drop == A standard drop can be defined with: target: thing_to_drop[/quantity][/chance%] More information about the "things to drop" can be found [http://dev.bukkit.org/bukkit-plugins/otherdrops/pages/entity-list/ here]. Examples: glass: thin_glass # glass drops thin glass diamond_ore: diamond/2/5% # 5% chance of 2 diamonds from diamond_ore zombie: diamond/1-3/1% # zombie has 1% chance of dropping between 1 & 3 diamonds == Lists == You can also use a list of items, like such: zombie: [default, iron_ingot/1/10%, diamond/1/0.5%] grass: [default, brown_mushroom/1/5%, red_mushroom/1/8%] In the example above the Zombie starts with the default drop and adds a 10% chance of dropping an iron ingot plus 0.5% chance of dropping a diamond. The grass always drops default (eg. dirt) and has a 5% chance of dropping an brown mushroom (in addition to default) and a 8% chance of dropping a red mushroom. Note that the square brackets [ ] mean "drop this AND this AND this" so there's a chance of all three items for the grass to drop (dirt, brown mushroom & red mushroom). If you only want one of the items to drop you can use curly bracks { } which mean "drop this OR this OR this". zombie: {iron_ingot/1/10%, diamond/1/0.5%} grass: {brown_mushroom/1/5%, red_mushroom/1/8%} You don't need to specify default in this instance because if neither of the items drops then it falls back to the default drop. More details about multiple drops can be found [http://dev.bukkit.org/bukkit-plugins/otherdrops/pages/drops/#w-multiple-drops here]. == Long format == Using the longer format allows you to add new parameters such as [http://dev.bukkit.org/bukkit-plugins/otherdrops/pages/conditions/ conditions ](time, biome, world, permissions, etc) and [http://dev.bukkit.org/bukkit-plugins/otherdrops/pages/actions/ actions ](messages, damage, consumetool, etc). Writing the grass example from above in a long format you could say drop brown mushrooms at night only and red mushrooms during the day. grass: - drop: brown_mushroom/1 chance: 5% time: darkness # covers dusk, night and dawn - drop: red_mushroom/1 chance: 8% time: day === Adding messages == ghast: - drop: diamond/1-4 chance: 1% message: "That ghast seems to have swallowed a jewellery box." Keep in mind with a long format drop that the "item chance" - eg. diamond/1-4/1% - only applies to the drop and unless you specify a "chance" parameter (as per the example above) then other parameters (such as "message" above) will be at always show (ie. 100% chance).
该页面使用的模板:
模板:Color
(
查看源代码
)
模板:Minecraft Color
(
查看源代码
)
返回至
OtherDrops/en
。
导航菜单
个人工具
中文(中国大陆)
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
编辑相关
百科公告
编辑帮助
互助客栈
贡献分数
测试沙盒
发布条目
插件分类
管理
安全
聊天
编程
经济
修正
娱乐
综合
信息
机械
角色
传送
网页
整地
创世
付费
其它
工具
链入页面
相关更改
特殊页面
页面信息
相关网站
MCMOD百科
Minecraft中文百科
Minecraft中文论坛
Minecraft百度贴吧
虚无世界Wiki