mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
rewrite of interact system, bugfixes, ai tweaks
This commit is contained in:
parent
f5222be9d2
commit
ac1a1b2449
62 changed files with 649 additions and 491 deletions
|
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
|
||||
class StonePickaxeItem extends Item{
|
||||
class StonePickaxeItem extends ItemPickaxe{
|
||||
public function __construct($meta = 0, $count = 1){
|
||||
parent::__construct(STONE_PICKAXE, $meta, $count, "Stone Pickaxe");
|
||||
}
|
||||
|
||||
public function isTool(){
|
||||
return true;
|
||||
public function getDamageAgainstOf($e){
|
||||
return 3;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue