实验性
Contains a set of events that will be raised for a block. This object must be bound using the BlockRegistry.
可选
This function will be called before a player places the block.
This function will be called when an entity falls onto the block that this custom component is bound to.
This function will be called when the block that this custom component is bound to is placed.
This function will be called when a player destroys a specific block.
This function will be called when a player sucessfully interacts with the block that this custom component is bound to.
This function will be called when a block randomly ticks.
This function will be called when an entity steps off the block that this custom component is bound to.
This function will be called when an entity steps onto the block that this custom component is bound to.
This function will be called when a block ticks.
Contains a set of events that will be raised for a block. This object must be bound using the BlockRegistry.