Wiki赞助.jpg
  • 欢迎来到Minecraft插件百科!请在注册后加入百科编辑
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 插件百科企鹅群:223812289

Studio:插件代码集中营

From Minecraft插件百科
Revision as of 18:16, 2 December 2015 by Seesaw 233 (talk | contribs) (创建页面,内容为“== In order to reach all the Reached party == === 前言 === 标题就是这货存在的意义 记不下的代码这里放 写明这货是干什么的 这里只...”)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In order to reach all the Reached party

前言

标题就是这货存在的意义

记不下的代码这里放

写明这货是干什么的

这里只容得下黑科技和麻烦码

[1]

代码区

给实体药水效果

前提: 实体类(生物)

说明:

addPotionEffect(new PotionEffect(效果类型,持续时间,效果等级) );
效果类型: PotionEffectType.*   
持续时间&持续时间: int

实例:

Player p = (Player)sender;
p.addPotionEffect(new PotionEffect(PotionEffectType.SPEED,80,2) );

备注: 暂无

  1. 快捷代码格: