-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ebd0365
commit 538c819
Showing
18 changed files
with
404 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package cn.nukkit.block; | ||
|
||
import cn.nukkit.item.Item; | ||
|
||
public class BlockMoving extends Block { | ||
|
||
public BlockMoving() { | ||
this(0); | ||
} | ||
|
||
public BlockMoving(int meta) { | ||
super(); | ||
} | ||
|
||
@Override | ||
public String getName() { | ||
return "MovingBlock"; | ||
} | ||
|
||
@Override | ||
public int getId() { | ||
return BlockID.MOVING_BLOCK; | ||
} | ||
|
||
@Override | ||
public boolean canBePushed() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public boolean isBreakable(Item item) { | ||
return false; | ||
} | ||
} |
Oops, something went wrong.