Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
pocketmine
item
MinecartHopper
PHP Class pocketmine\item\MinecartHopper
Inheritance:
extends
Item
显示文件
Open project: ClearSkyTeam/ClearSky
Public Methods
Method
Description
__construct
(
$meta
,
$count
= 1 )
canBeActivated
( )
getMaxStackSize
( )
onActivate
(
Level
$level
,
Player
$player
,
Block
$block
,
Block
$target
,
$face
,
$fx
,
$fy
,
$fz
)
Method Details
__construct()
public
method
public
__construct
(
$meta
,
$count
= 1 )
canBeActivated()
public
method
public
canBeActivated
( )
getMaxStackSize()
public
method
public
getMaxStackSize
( )
onActivate()
public
method
public
onActivate
(
Level
$level
,
Player
$player
,
Block
$block
,
Block
$target
,
$face
,
$fx
,
$fy
,
$fz
)
$level
pocketmine\level\Level
$player
pocketmine\Player
$block
pocketmine\block\Block
$target
pocketmine\block\Block