This task is part of the MineRL BASALT competition. See the competition page for more details.
Description: After spawning in a (plains) village, build an animal pen next to one of the houses in a village. Animal pens must contain two of a single kind of animal; you are only allowed to pen chickens, cows, pigs, or sheep. Don’t harm the village.
You may need to terraform the area around a house to build a pen. When we say not to harm the village, examples include taking animals from existing pens, damaging existing houses or farms, and attacking villagers.
Resources: 64 fence posts, 64 fence gates, carrots, seeds, and wheat for luring animals.