@occultus/hidden-years - v3.1.0-alpha.4
Preparing search index...
server/block/MagicSmithingTable
MagicSmithingTable
Class MagicSmithingTable
Hierarchy
BlockWithEntity
MagicSmithingTable
Index
Constructors
constructor
Properties
block
Id
entity
Id
tick
Event
Name?
Methods
get
Block
Entity
Data
on
Interact
on
Tick
place
Entity
synchronized
Stack
Data
Constructors
constructor
new
MagicSmithingTable
()
:
MagicSmithingTable
Returns
MagicSmithingTable
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
(
_event
:
DataDrivenEntityTriggerAfterEvent
)
:
void
Parameters
_event
:
DataDrivenEntityTriggerAfterEvent
Returns
void
place
Entity
placeEntity
(
dimension
:
Dimension
,
location
:
Vector3
)
:
Entity
放置一个方块实体
Parameters
dimension
:
Dimension
要放置实体的维度
location
:
Vector3
要放置实体的位置
Returns
Entity
synchronized
Stack
Data
synchronizedStackData
(
from
:
ItemStack
,
to
:
ItemStack
)
:
void
Parameters
from
:
ItemStack
to
:
ItemStack
Returns
void
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
synchronized
Stack
Data
@occultus/hidden-years - v3.1.0-alpha.4
Loading...
方块的 ID