updated todos
parent
3038df3197
commit
321a621067
|
@ -57,7 +57,9 @@ public class MortarInteract implements Listener {
|
||||||
&& event.getEntity().getCustomName() != null
|
&& event.getEntity().getCustomName() != null
|
||||||
&& event.getEntity().getCustomName().equals("shell")){
|
&& event.getEntity().getCustomName().equals("shell")){
|
||||||
if(event.getHitBlock() != null){
|
if(event.getHitBlock() != null){
|
||||||
//TODO: This needs to have another accompanying explosion that does more player damage than physical damage.
|
/* TODO: This needs to have another accompanying explosion that does more player damage than physical damage.
|
||||||
|
* Maybe make this a function of arty.item.Shell?
|
||||||
|
*/
|
||||||
event.getHitBlock().getWorld().createExplosion(
|
event.getHitBlock().getWorld().createExplosion(
|
||||||
event.getHitBlock()
|
event.getHitBlock()
|
||||||
.getLocation()
|
.getLocation()
|
||||||
|
|
|
@ -43,7 +43,7 @@ public class Shell {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** TODO: Finish documentation for this
|
||||||
* Creates a shell with the specified statistics.
|
* Creates a shell with the specified statistics.
|
||||||
* @param explosionMultiplier Explosion multiplier. 1 represents default 3 (for blockDamage)
|
* @param explosionMultiplier Explosion multiplier. 1 represents default 3 (for blockDamage)
|
||||||
* @param penetration
|
* @param penetration
|
||||||
|
@ -59,7 +59,7 @@ public class Shell {
|
||||||
this.failChance = failChance;
|
this.failChance = failChance;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** TODO: Finish documentation for this
|
/**
|
||||||
* Checks if the item stack is a shell
|
* Checks if the item stack is a shell
|
||||||
* @param item ItemStack to check against
|
* @param item ItemStack to check against
|
||||||
* @return True if item is an arrow with a gray name "Shell"
|
* @return True if item is an arrow with a gray name "Shell"
|
||||||
|
|
Loading…
Reference in New Issue