mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-28 15:38:00 +01:00
18 lines
552 B
Java
18 lines
552 B
Java
|
package com.minelittlepony.unicopia.projectile;
|
||
|
|
||
|
import net.minecraft.block.BlockState;
|
||
|
import net.minecraft.entity.Entity;
|
||
|
import net.minecraft.util.math.BlockPos;
|
||
|
|
||
|
public interface ProjectileDelegate {
|
||
|
/**
|
||
|
* Called once the projectile lands either hitting the ground or an entity.
|
||
|
*/
|
||
|
void onImpact(MagicProjectileEntity projectile, BlockPos pos, BlockState state);
|
||
|
|
||
|
/**
|
||
|
* Called once the projectile lands either hitting the ground or an entity.
|
||
|
*/
|
||
|
void onImpact(MagicProjectileEntity projectile, Entity entity);
|
||
|
}
|