use of igwmod.gui.LocatedEntity in project PneumaticCraft by MineMaarten.
the class IntegratorPressureChamber method handleVillagers.
private void handleVillagers(int x, int y, List<IWidget> locatedTextures) {
locatedTextures.add(new LocatedEntity(EntityVillager.class, x + 70, y + 95, 2F));
LocatedEntity locatedEntity = new LocatedEntity(EntityVillager.class, x + 215, y + 125, 2F);
EntityVillager villager = (EntityVillager) locatedEntity.entity;
villager.setProfession(Config.villagerMechanicID);
locatedTextures.add(locatedEntity);
}
Aggregations