Created
May 27, 2020 20:38
-
-
Save PJZ9n/092c5cc16c42fb0296442d315d171a0f to your computer and use it in GitHub Desktop.
アイテムをドロップさせる
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** @var \pocketmine\level\Level $level */ | |
$pos = new Vector3(1, 2, 3); | |
$item = ItemFactory::get(Item::STONE); | |
$level->dropItem($pos, $item); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment