forked from CloudburstMC/Nukkit
-
Notifications
You must be signed in to change notification settings - Fork 6
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
8e7f690
commit b2bff5c
Showing
59 changed files
with
1,027 additions
and
53 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
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,30 @@ | ||
package cn.nukkit.item; | ||
|
||
public class ItemBrush extends ItemTool { | ||
public ItemBrush() { | ||
this(0, 1); | ||
} | ||
|
||
public ItemBrush(Integer meta) { | ||
this(meta, 1); | ||
} | ||
|
||
public ItemBrush(Integer meta, int count) { | ||
super(BRUSH, meta, count, "Brush"); | ||
} | ||
|
||
@Override | ||
public int getMaxDurability() { | ||
return ItemTool.DURABILITY_BRUSH; | ||
} | ||
|
||
@Override | ||
public boolean noDamageOnAttack() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public boolean noDamageOnBreak() { | ||
return true; | ||
} | ||
} |
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,15 @@ | ||
package cn.nukkit.item; | ||
|
||
public class ItemPotterySherdAngler extends Item { | ||
public ItemPotterySherdAngler() { | ||
this(0, 1); | ||
} | ||
|
||
public ItemPotterySherdAngler(Integer meta) { | ||
this(meta, 1); | ||
} | ||
|
||
public ItemPotterySherdAngler(Integer meta, int count) { | ||
super(ANGLER_POTTERY_SHERD, meta, count, "Angler Pottery Sherd"); | ||
} | ||
} |
Oops, something went wrong.