@occultus/hidden-years - v3.1.0-alpha.4
Preparing search index...
server/block/Crusher
Crusher
Class Crusher
Hierarchy
BlockWithEntity
Crusher
Index
Constructors
constructor
Properties
block
Id
entity
Id
tick
Event
Name?
Methods
get
Block
Entity
Data
on
Interact
on
Tick
place
Entity
Constructors
constructor
new
Crusher
()
:
Crusher
Returns
Crusher
Properties
Readonly
block
Id
blockId
:
string
方块的 ID
Readonly
entity
Id
entityId
:
string
方块实体的 ID
Optional
Readonly
tick
Event
Name
tickEventName
?:
string
Methods
get
Block
Entity
Data
getBlockEntityData
(
block
:
Block
)
:
BlockEntityData
获取方块实体的数据
Parameters
block
:
Block
要获取方块实体的方块
Returns
BlockEntityData
获取到的方块实体
on
Interact
onInteract
(
event
:
PlayerInteractWithBlockAfterEvent
)
:
void
Parameters
event
:
PlayerInteractWithBlockAfterEvent
Returns
void
on
Tick
onTick
(
args
:
DataDrivenEntityTriggerAfterEvent
)
:
void
Parameters
args
:
DataDrivenEntityTriggerAfterEvent
Returns
void
place
Entity
placeEntity
(
dimension
:
Dimension
,
location
:
Vector3
)
:
Entity
放置一个方块实体
Parameters
dimension
:
Dimension
要放置实体的维度
location
:
Vector3
要放置实体的位置
Returns
Entity
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
block
Id
entity
Id
tick
Event
Name
Methods
get
Block
Entity
Data
on
Interact
on
Tick
place
Entity
@occultus/hidden-years - v3.1.0-alpha.4
Loading...
方块的 ID