use of net.minecraftforge.event.entity.living.LivingEvent in project SpongeForge by SpongePowered.
the class SpongeForgeEventFactory method createLivingEvent.
// Living events
public static LivingEvent createLivingEvent(Event event) {
TargetLivingEvent spongeEvent = (TargetLivingEvent) event;
LivingEvent forgeEvent = new LivingEvent((EntityLivingBase) spongeEvent.getTargetEntity());
return forgeEvent;
}
Aggregations