import org.bukkit.entity.Player as mc_player class Player(mc_player): def foobar(self): return "roflcopter"