mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Enable Beetroot I think
This commit is contained in:
parent
11aa126b80
commit
70de0ba00b
2
pom.xml
2
pom.xml
@ -135,7 +135,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
<artifactId>bukkit</artifactId>
|
<artifactId>bukkit</artifactId>
|
||||||
<version>1.9-R0.1-SNAPSHOT</version>
|
<version>1.10-R0.1-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -322,6 +322,10 @@ public class HerbalismManager extends SkillManager {
|
|||||||
seed = Material.POTATO_ITEM;
|
seed = Material.POTATO_ITEM;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case BEETROOT_BLOCK:
|
||||||
|
seed = Material.BEETROOT_SEEDS;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -374,6 +378,7 @@ public class HerbalismManager extends SkillManager {
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
case BEETROOT_BLOCK:
|
||||||
case CARROT:
|
case CARROT:
|
||||||
case POTATO:
|
case POTATO:
|
||||||
if (greenTerra) {
|
if (greenTerra) {
|
||||||
|
@ -149,6 +149,7 @@ public final class BlockUtils {
|
|||||||
|
|
||||||
case CARROT:
|
case CARROT:
|
||||||
case POTATO:
|
case POTATO:
|
||||||
|
case BEETROOT_BLOCK:
|
||||||
return blockState.getRawData() == CropState.RIPE.getData();
|
return blockState.getRawData() == CropState.RIPE.getData();
|
||||||
|
|
||||||
case CROPS:
|
case CROPS:
|
||||||
|
@ -409,6 +409,7 @@ Skills:
|
|||||||
Double_Drops:
|
Double_Drops:
|
||||||
Herbalism:
|
Herbalism:
|
||||||
Brown_Mushroom: true
|
Brown_Mushroom: true
|
||||||
|
Beetroot_Block: true
|
||||||
Cactus: true
|
Cactus: true
|
||||||
Carrot: true
|
Carrot: true
|
||||||
Cocoa: true
|
Cocoa: true
|
||||||
|
@ -151,6 +151,7 @@ Experience:
|
|||||||
Herbalism:
|
Herbalism:
|
||||||
Allium: 300
|
Allium: 300
|
||||||
Azure_Bluet: 150
|
Azure_Bluet: 150
|
||||||
|
Beetroot_Block: 50
|
||||||
Blue_Orchid: 150
|
Blue_Orchid: 150
|
||||||
Brown_Mushroom: 150
|
Brown_Mushroom: 150
|
||||||
Cactus: 30
|
Cactus: 30
|
||||||
|
Loading…
Reference in New Issue
Block a user