mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +01:00
Add shaking from shulkers
This commit is contained in:
parent
7d05c9d8e6
commit
95167f44f1
@ -61,6 +61,7 @@ public class TreasureConfig extends ConfigLoader {
|
||||
public List<ShakeTreasure> shakeFromPigZombie = new ArrayList<ShakeTreasure>();
|
||||
public List<ShakeTreasure> shakeFromPlayer = new ArrayList<ShakeTreasure>();
|
||||
public List<ShakeTreasure> shakeFromSheep = new ArrayList<ShakeTreasure>();
|
||||
public List<ShakeTreasure> shakeFromShulker = new ArrayList<ShakeTreasure>();
|
||||
public List<ShakeTreasure> shakeFromSkeleton = new ArrayList<ShakeTreasure>();
|
||||
public List<ShakeTreasure> shakeFromSlime = new ArrayList<ShakeTreasure>();
|
||||
public List<ShakeTreasure> shakeFromSnowman = new ArrayList<ShakeTreasure>();
|
||||
@ -355,6 +356,8 @@ public class TreasureConfig extends ConfigLoader {
|
||||
shakeFromPlayer.add(shakeTreasure);
|
||||
} else if (type.equals("Shake.SHEEP")) {
|
||||
shakeFromSheep.add(shakeTreasure);
|
||||
} else if (type.equals("Shake.SHULKER")) {
|
||||
shakeFromShulker.add(shakeTreasure);
|
||||
} else if (type.equals("Shake.SKELETON")) {
|
||||
shakeFromSkeleton.add(shakeTreasure);
|
||||
} else if (type.equals("Shake.SLIME")) {
|
||||
|
@ -113,6 +113,9 @@ public final class Fishing {
|
||||
case SHEEP:
|
||||
return TreasureConfig.getInstance().shakeFromSheep;
|
||||
|
||||
case SHULKER:
|
||||
return TreasureConfig.getInstance().shakeFromShulker;
|
||||
|
||||
case SKELETON:
|
||||
return TreasureConfig.getInstance().shakeFromSkeleton;
|
||||
|
||||
|
@ -811,6 +811,17 @@ Shake:
|
||||
XP: 0
|
||||
Drop_Chance: 100.0
|
||||
Drop_Level: 0
|
||||
SHULKER:
|
||||
SHULKER_SHELL:
|
||||
Amount: 1
|
||||
XP: 0
|
||||
Drop_Chance: 25.0
|
||||
Drop_Level: 0
|
||||
PURPUR_BLOCK:
|
||||
Amount: 1
|
||||
XP: 0
|
||||
Drop_Chance: 75.0
|
||||
Drop_Level: 0
|
||||
SKELETON:
|
||||
SKULL_ITEM:
|
||||
Data: 0
|
||||
|
Loading…
Reference in New Issue
Block a user