Java Code Examples for net.minecraft.world.World.getEntities()

The following are Jave code examples for showing how to use getEntities() of the net.minecraft.world.World class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: ProgressiveDifficulty   File: MobNBTHandler.java   Source Code and License Vote up 4 votes
public static List<EntityLiving> getModifiedEntities(World world){
    return world.getEntities(EntityLiving.class,(entity)-> MobNBTHandler.isModifiedMob(entity) && !entity.isDead);
}