Code for a small minecraft mod