use of net.minecraftforge.event.entity.living.ZombieEvent.SummonAidEvent in project MinecraftForge by MinecraftForge.
the class ForgeEventFactory method fireZombieSummonAid.
public static SummonAidEvent fireZombieSummonAid(EntityZombie zombie, World world, int x, int y, int z, EntityLivingBase attacker, double summonChance) {
SummonAidEvent summonEvent = new SummonAidEvent(zombie, world, x, y, z, attacker, summonChance);
MinecraftForge.EVENT_BUS.post(summonEvent);
return summonEvent;
}
use of net.minecraftforge.event.entity.living.ZombieEvent.SummonAidEvent in project MinecraftForge by MinecraftForge.
the class ForgeEventFactory method fireZombieSummonAid.
public static SummonAidEvent fireZombieSummonAid(Zombie zombie, Level world, int x, int y, int z, LivingEntity attacker, double summonChance) {
SummonAidEvent summonEvent = new SummonAidEvent(zombie, world, x, y, z, attacker, summonChance);
MinecraftForge.EVENT_BUS.post(summonEvent);
return summonEvent;
}
Aggregations