Package cn.nukkit.block.fake
Class FakeStructBlock
java.lang.Object
cn.nukkit.block.fake.SingleFakeBlock
cn.nukkit.block.fake.FakeStructBlock
- All Implemented Interfaces:
FakeBlock
-
Field Summary
Fields inherited from class cn.nukkit.block.fake.SingleFakeBlock
blockId, lastPositions, tileId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(BlockVector3 targetStart, BlockVector3 targetEnd, Player player) void
给某玩家发送该假方块及其对应方块实体.void
Remove it.Methods inherited from class cn.nukkit.block.fake.SingleFakeBlock
create, getBlockEntityDataAt
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.block.fake.FakeBlock
getOffset, getPositions
-
Constructor Details
-
FakeStructBlock
public FakeStructBlock()
-
-
Method Details
-
create
Description copied from interface:FakeBlock
给某玩家发送该假方块及其对应方块实体.Send the fake block and its corresponding BlockEntity to a player
- Specified by:
create
in interfaceFakeBlock
- Overrides:
create
in classSingleFakeBlock
- Parameters:
player
- the player
-
create
-
remove
Description copied from interface:FakeBlock
Remove it.- Specified by:
remove
in interfaceFakeBlock
- Overrides:
remove
in classSingleFakeBlock
- Parameters:
player
- the player
-