updated todos
parent
3038df3197
commit
321a621067
|
@ -57,7 +57,9 @@ public class MortarInteract implements Listener {
|
|||
&& event.getEntity().getCustomName() != null
|
||||
&& event.getEntity().getCustomName().equals("shell")){
|
||||
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()
|
||||
.getLocation()
|
||||
|
|
|
@ -43,7 +43,7 @@ public class Shell {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/** TODO: Finish documentation for this
|
||||
* Creates a shell with the specified statistics.
|
||||
* @param explosionMultiplier Explosion multiplier. 1 represents default 3 (for blockDamage)
|
||||
* @param penetration
|
||||
|
@ -59,7 +59,7 @@ public class Shell {
|
|||
this.failChance = failChance;
|
||||
}
|
||||
|
||||
/** TODO: Finish documentation for this
|
||||
/**
|
||||
* Checks if the item stack is a shell
|
||||
* @param item ItemStack to check against
|
||||
* @return True if item is an arrow with a gray name "Shell"
|
||||
|
|
Loading…
Reference in New Issue