getEffectId() 공개 정적인 메소드

public static getEffectId ( integer $meta ) : integer
$meta integer
리턴 integer
예제 #1
0
 public function __construct(FullChunk $chunk, CompoundTag $nbt, Entity $shootingEntity = null)
 {
     if (!isset($nbt->PotionId)) {
         $nbt->PotionId = new ShortTag("PotionId", Potion::AWKWARD);
     }
     parent::__construct($chunk, $nbt, $shootingEntity);
     $this->setDataProperty(self::DATA_POTION_ID, self::DATA_TYPE_SHORT, Potion::getEffectId($this->getPotionId()));
 }