new-2
This commit is contained in:
parent
d48568f9cc
commit
e01f595cda
|
@ -137,6 +137,11 @@ public class BlackHoleEffect extends GameGiftEffect {
|
||||||
}.runTaskTimer(EnderDragonWar.plugin, 0L, 1L);
|
}.runTaskTimer(EnderDragonWar.plugin, 0L, 1L);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getQueueTime() {
|
||||||
|
return 15 * 20;
|
||||||
|
}
|
||||||
|
|
||||||
private Set<Block> getRandomUpBlocks(Location location, int size, int amount) {
|
private Set<Block> getRandomUpBlocks(Location location, int size, int amount) {
|
||||||
List<Block> blocks = new ArrayList<>();
|
List<Block> blocks = new ArrayList<>();
|
||||||
int minX = location.getBlockX() - size;
|
int minX = location.getBlockX() - size;
|
||||||
|
|
|
@ -67,6 +67,11 @@ public class ClearInventoryEffect extends GameGiftEffect {
|
||||||
}.runTaskTimer(EnderDragonWar.plugin, 10L, 4L);
|
}.runTaskTimer(EnderDragonWar.plugin, 10L, 4L);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getQueueTime() {
|
||||||
|
return 60;
|
||||||
|
}
|
||||||
|
|
||||||
private List<Integer> getUseableItemCount(Player player) {
|
private List<Integer> getUseableItemCount(Player player) {
|
||||||
List<Integer> useableSlots = new ArrayList<>();
|
List<Integer> useableSlots = new ArrayList<>();
|
||||||
for (int i = 0; i < 36; i++) {
|
for (int i = 0; i < 36; i++) {
|
||||||
|
|
|
@ -44,4 +44,9 @@ public class ToHeavenEffect extends GameGiftEffect {
|
||||||
}.runTaskTimer(EnderDragonWar.plugin, 0L, 1L);
|
}.runTaskTimer(EnderDragonWar.plugin, 0L, 1L);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getQueueTime() {
|
||||||
|
return 200;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user